On Mon, 2010-03-22 at 12:15 +0600, Mikhail Gusarov wrote:
> There are keycodes > 193 in evdev, e.g. KEY_WIMAX which is 246 .

Ack in theory, but:

> --- 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

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

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to