[PATCH] force maximum keycode to be 255 in xf86-input-evdev evdev_key.c

Magnus Kessler Magnus.Kessler at gmx.net
Tue May 1 00:04:52 PDT 2007


The last commit to xf86-input-evdev evdev_key.c was made to cover the whole 
range of key codes up to 256 (0xff), but only introduced keycodes up to 247 
(0xf7). This patch adds the missing range up to 256.

Regards,

Magnus


--- evdev_key.c.orig    2007-05-01 07:53:20.000000000 +0100
+++ evdev_key.c 2007-05-01 07:57:26.000000000 +0100
@@ -350,6 +350,14 @@
     /* 0xf5 */  NoSymbol,      NoSymbol,
     /* 0xf6 */  NoSymbol,      NoSymbol,
     /* 0xf7 */  NoSymbol,      NoSymbol,
+    /* 0xf8 */  NoSymbol,      NoSymbol,
+    /* 0xf9 */  NoSymbol,      NoSymbol,
+    /* 0xfa */  NoSymbol,      NoSymbol,
+    /* 0xfb */  NoSymbol,      NoSymbol,
+    /* 0xfc */  NoSymbol,      NoSymbol,
+    /* 0xfd */  NoSymbol,      NoSymbol,
+    /* 0xfe */  NoSymbol,      NoSymbol,
+    /* 0xff */  NoSymbol,      NoSymbol,
 };

 /*



More information about the xorg mailing list