Re: Software to identify keysrokes.



"Mark Healey" <die@xxxxxxxxxxx> a écrit dans le message de news:
pan.2007.04.11.05.46.31@xxxxxxxxxxx

I have a cheapo RF wireless keyboard for which I am trying to determine
the key matrix. I have figured out which pins of the circuit board go to
the keyboard and which axis each belongs to. I plan to short one from
each axis and see what keystroke the computer gets to figure it out. I
can't do this with a simple text editor because of the duplicate keys and
the shift, ctrl and alt keys.

I need something to run in linux that can tell me which of the keys was
pressed.

The keyboard doesn't send the key number, but scan codes like: key #x is
pressed (make code), key #y is released (break code). And that is true for
every physical key.

The scan code is returned along with the ascii code by the function 0 of the
interrupt 0x16:
On entry:
ah = 0
On exit:
al = 0 & ah = scan code extended keyboard
or
al = ascii code & ah = scan code
cx, dx, si, di, & bp unchanged.

--
~~~~ clmasse on free F-country
Free technical support at : http://www.protonic.com/


.



Relevant Pages

  • Re: old keyboard
    ... The display was main link between keyboard and box. ... keyboard has some strange plug. ... ASCII code to the computer. ... probably hook it to a serial port and use it under Linux. ...
    (Fedora)
  • Re: Mouse orientation
    ... Move it to the other side of the keyboard. ... > I'm looking for a program that would invert the X\Y axis of the mouse, ... > inversion option. ...
    (microsoft.public.windowsxp.general)
  • Re: QZERTY vs QWERTY
    ... The difference is in the keyboard layout, the ASCII code is the same. ... Windows help - www.rickrogers.org ... "Mark" wrote in message ...
    (microsoft.public.windowsxp.general)
  • Re: what are their virtual key?
    ... > i have take a long time to match each ascii code with the proper virtual ... key on keyboard today. ... > but still failed to find following chars' virtual key: ... pat. ...
    (microsoft.public.pocketpc.developer)
  • Re: Keyboard returning wrong character
    ... > When attempting to enter a - or hyphen the keyboard returns a ASCII code ... > not the requested code 45. ... I have removed all keyboard drivers, ...
    (microsoft.public.win2000.general)