diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-02-14 09:20:53 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-02-14 09:20:53 +1030 |
commit | d97dcf6896a1c16b46068d16d3d689a3720cce46 (patch) | |
tree | e8007379d58e707ceb07fcb3eba804bd822baeed /src/XExtInt.c | |
parent | 447441f4dfdd114ce1f738ccfda097ca1f4d609a (diff) |
Remove RawDeviceEvent parsing. These events have been removed.
Diffstat (limited to 'src/XExtInt.c')
-rw-r--r-- | src/XExtInt.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index 0e16baa..8d5ec3d 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -795,35 +795,6 @@ XInputWireToEvent(dpy, re, event) *re = *save; return ENQUEUE_EVENT; } - case XI_RawDeviceEvent: - { - XRawDeviceEvent* raw_event = - (XRawDeviceEvent*)save; - rawDeviceEvent* raw_wire = - (rawDeviceEvent*)event; - - raw_event->extension = raw_wire->extension; - raw_event->evtype = raw_wire->evtype; - raw_event->num_valuators = raw_wire->num_valuators; - raw_event->first_valuator = raw_wire->first_valuator; - raw_event->buttons = raw_wire->buttons; - raw_event->deviceid = raw_wire->deviceid; - raw_event->event_type = raw_wire->event_type; - if (raw_event->num_valuators) - { - int i; - CARD32* valptr; - raw_event->valuators = - calloc((raw_event->num_valuators), sizeof(int)); - valptr = &raw_wire->valuator0; - for (i = 0; i < raw_event->num_valuators; i++, - valptr++) - raw_event->valuators[i] = *valptr; - } else - raw_event->valuators = NULL; - *re = *save; - return ENQUEUE_EVENT; - } default: printf("XInputWireToEvent: Unknown generic event. type %d\n", ge->evtype); |