lk401 keyboard protocol?

From: der Mouse <mouse_at_Rodents.Montreal.QC.CA>
Date: Sun Feb 22 13:59:19 2004

> (What ASCII codes are they supposed to generate? A keyboard is by
> definition a device for transferring ASCII codes from a human to a
> computer.)

Where did you find this definition? I have yet to see any definition
of keyboard anywhere - except yours here - that makes any character set
a critical part of the definition. (I suppose typewriters old enough
to not contain computers don't have keyboards?)

For that matter, based on your comment header, your Compose key is as
evil as the alt keys you're railing against, since the "what ASCII code
is it supposed to generate?" question is just as forceful - and indeed,
since you're producing non-ASCII codes, I guess your LK201 will no
longer be a keyboard when you're done.

>> There are defines which appear to imply that sending 0xe9 and
>> expecting 0xba in return might put it in LK401 mode,
> That's what you need to do.

I've now tried this, making the driver send 0xe9 as part of its
"initialize the keyboard" sequence. I now get distinct codes for the
shift keys and the three dead keys are no longer dead, with no other
visible changes (I was afraid a bunch of other keycodes would change or
some such).

The keypad . key seems to be dead, though I suspect that may be broken
keyboard hardware rather than anything LK401-specific.

/~\ The ASCII der Mouse
\ / Ribbon Campaign
 X Against HTML mouse_at_rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Received on Sun Feb 22 2004 - 13:59:19 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:43 BST