Re: Software to identify keysrokes.
- From: "Cl.Massé" <retour@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 Apr 2007 16:02:20 +0200
"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/
.
- References:
- Software to identify keysrokes.
- From: Mark Healey
- Software to identify keysrokes.
- Prev by Date: Bucking Spring bs ALPS Sliders?
- Next by Date: Re: Software to identify keysrokes.
- Previous by thread: Re: Software to identify keysrokes.
- Next by thread: Bucking Spring bs ALPS Sliders?
- Index(es):
Relevant Pages
|