[PATCH] kdrive: Bump evdev maxKeycode

Mikhail Gusarov dottedmag at dottedmag.net
Mon Mar 22 11:56:06 PDT 2010


Twas brillig at 11:44:49 22.03.2010 UTC-04 when ajax at nwnk.net did gyre and gimble:

 >> --- a/hw/kdrive/linux/evdev.c
 >> +++ b/hw/kdrive/linux/evdev.c
 >> @@ -362,7 +362,7 @@ readMapping (KdKeyboardInfo *ki)
 >>          return;
 >>  
 >>      ki->minScanCode = 0;
 >> -    ki->maxScanCode = 193;
 >> +    ki->maxScanCode = 255;
 >>  }
 >>  
 >>  static void

 AJ> Should be ... = 247.  Keyboard codes are from 8 to 255 in X, so
 AJ> once you factor in that offset...

... then Xfake need to be fixed too :) Going to resend.

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100323/b94d04c5/attachment.pgp>


More information about the xorg-devel mailing list