Can't map keys with keycodes > 127 to modifiers?
Daniel Stone
daniel at fooishbar.org
Wed Sep 12 03:42:56 PDT 2007
On Wed, Sep 12, 2007 at 01:07:57PM +0300, Marius Gedminas wrote:
> The Menu key on a USB keyboard, the one that sends keycode 117, is also mapped
> to ISO_Level3_Shift. It autorepeats, but despite that the state bit flips to
> 0x80 while I hold it down. xmodmap shows both 0xe3 (227) and 0x75 (117) among
> the keys mapped to mod5.
>
> The only difference I can think of is that one keycode is < 128, while
> the other one needs full 8 bits. Just a blind guess, but could the XKB
> code be using signed chars somewhere and sign-extending them to ints?
This is brilliantly awesome. XKB lamely attempts to swap char and int
everywhere, but it's pretty fascist about using signed char, last I
checked. Could you please file a bug, and assign it to me?
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070912/c88355dc/attachment.pgp>
More information about the xorg
mailing list