summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-10-22 15:13:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-10-26 15:42:54 +1000
commit9cbffda91009001ab6aab84efd2ffb4e35561958 (patch)
tree305643a5d6f6d1b51fc36ec022008bdd57f113b0
parent59056e656c6475816ab45b2798bd4d4466482f6a (diff)
Forward keycodes > 255
The server doesn't handle them yet but eventually it should learn. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/evdev.c b/src/evdev.c
index cc44d51..7013400 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -255,7 +255,6 @@ void
EvdevQueueKbdEvent(InputInfoPtr pInfo, struct input_event *ev, int value)
{
int code = ev->code + MIN_KEYCODE;
- static char warned[KEY_CNT];
EventQueuePtr pQueue;
EvdevPtr pEvdev = pInfo->private;
@@ -273,19 +272,6 @@ EvdevQueueKbdEvent(InputInfoPtr pInfo, struct input_event *ev, int value)
)
return;
- if (code > 255)
- {
- if (ev->code <= KEY_MAX && !warned[ev->code])
- {
- xf86Msg(X_WARNING, "%s: unable to handle keycode %d\n",
- pInfo->name, ev->code);
- warned[ev->code] = 1;
- }
-
- /* The X server can't handle keycodes > 255. */
- return;
- }
-
if (pEvdev->num_queue >= EVDEV_MAXQUEUE)
{
xf86Msg(X_NONE, "%s: dropping event due to full queue!\n", pInfo->name);