[ALUG] Re: Keypad codes and xev
cl at isbd.net
cl at isbd.net
Wed Feb 7 09:07:36 GMT 2007
On Wed, Feb 07, 2007 at 08:52:56AM +0000, Peter Alcibiades wrote:
> Can anyone explain the following puzzling behaviour?
>
> I bought a USB keypad for some computer phobic people to use. Its a
> wonderful little thing, but it has one potentially confusing thing: a 000
> key, right in the middle at the bottom. This records 000 in either a
> terminal or in an application. They have no use for 000.
>
> OK, lets just disable it. First thing was to run xev and find out what the
> keycode is. It is 90. Great, now lets find out what 0 is, and remap. Guess
> what, 0 is 90 as well!
>
> So, how on earth, if they are sending the same keycode, does one send 000 and
> the other just 0?
>
> And how do I map it so that they both send the same thing?
>
> The results from xev, both depression and release, seem to be absolutely
> identical for both keys, to the letter. Sure someone will understand what is
> happening, but it baffles me.
>
Is it possible that the 000 key is sending three keypresses in quick
succession?
--
Chris Green (chris at halon.org.uk)
More information about the main
mailing list