[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Another try - help to fix arrow keys in X



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 2 Sep 1999, Kent West wrote:

> "Richard E. Hawkins" wrote:
> > 
> > The first step is to use xev, which will tell you what events are
> happening.  If you post what it tells you keys are, someone (maybe me,
> more likely not :) probably knows what they mean.
> > 
> > Launch xev (in the xcontrib package), point to it's window with the
> mouse, and hit the problematic keys.  Post the output.

Please keep line lengths < 76 characters. See how ugly that looks above?
You can hardly tell what's being quoted...

> When I press the up arrow, these two stanzas are generated:
> 
> KeyPress event, serial 21, synthetic NO, window 0x1c00001,
>     root 0x26, subw 0x0, time 9805031, (87,77), root:(253,263),
>     state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
>     XLookupString gives 0 characters:  ""
> 
> KeyRelease event, serial 24, synthetic NO, window 0x1c00001,
>     root 0x26, subw 0x0, time 9805116, (87,77), root:(253,263),
>     state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
>     XLookupString gives 0 characters:  ""

The important part is keycode 111 (keysym 0xff61, Print). For some reason,
your up arrow is returning the same code that my Print Screen key returns!
It should probably be returning keycode 98 (keysym 0xff52, Up) instead.

I wouldn't know how to fix it though...


- -- 
  finger for PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN88icb7M/9WKZLW5AQEx8QP9E7O75fnyOEiWGobktuvNq0rGLL7CmXF2
K6YDSBW8++kvgtmpDBUs6QTBwAjYO17OOaWDw3/dtAgBGBJ33xz47WpMIYGmbLrW
owk39Z9rMGMjD3GKj2bMS30OYEj+x9BenBED53MoZvfL0LTeWhHK+AgIyq/0xbsJ
i8wTYH92Lck=
=O8LZ
-----END PGP SIGNATURE-----


Reply to: