Are these ISC X11 problems fixed?
Checkpoint Technologies
ckp at grebyn.com
Thu Sep 6 14:38:50 AEST 1990
In article <3388 at syma.sussex.ac.uk> jonm at syma.sussex.ac.uk (Jonathan Meyer) writes:
>ckp at grebyn.com (Checkpoint Technologies) writes:
>> keyboard is not uniquely identifiable. For instance, I'd like to bind
>> the numeric keypad ENTER key differently than the main keyboard ENTER
>> key. This does not appear to be possible.
>>
>
>In fact, the two keys are hardwired to send the same scancode, so as
>far as the PC is concerned they are identical. Sad, but true (I've
>often wanted to distinguish them).
Au contrare - I've done it. The numeric keypad "enter" key sends two
scan codes for "press" and two for "release". The first code is 224,
otherwise a "release" code for an undefined key. The second is the
same scan code that the normal "enter" key. By looking for the leading
special up-code, you can distinguish all the extra keys. Other than
this, the extra keys do just send AT keyboard scan codes or
combinations of scan codes (for instance, the arrow keys are sensitive
to the state of Num Lock and the shift key, and they will synthesize
shift key scan codes to be sure that they're interpreted as arrow keys).
--
First comes the logo: C H E C K P O I N T T E C H N O L O G I E S / /
\\ / /
Then, the disclaimer: All expressed opinions are, indeed, opinions. \ / o
Now for the witty part: I'm pink, therefore, I'm spam! \/
More information about the Comp.unix.sysv386
mailing list