|
Lines 63-68
static const char identification[] = "$I
Link Here
|
| 63 |
#define MSC_SERIAL 0x00 |
63 |
#define MSC_SERIAL 0x00 |
| 64 |
#endif |
64 |
#endif |
| 65 |
|
65 |
|
|
|
66 |
/* 2.6.x module support */ |
| 67 |
#ifndef EV_SYN |
| 68 |
#define EV_SYN 0x00 |
| 69 |
#endif |
| 70 |
|
| 71 |
#ifndef SYN_REPORT |
| 72 |
#define SYN_REPORT 0x00 |
| 73 |
#endif |
| 74 |
|
| 66 |
/* max number of input events to read in one read call */ |
75 |
/* max number of input events to read in one read call */ |
| 67 |
#define MAX_EVENTS 50 |
76 |
#define MAX_EVENTS 50 |
| 68 |
|
77 |
|
|
Lines 2302-2308
xf86WcmReadUSBInput(LocalDevicePtr
Link Here
|
| 2302 |
|
2311 |
|
| 2303 |
/* ABS_MISC is the event terminator */ |
2312 |
/* ABS_MISC is the event terminator */ |
| 2304 |
if (!(event->type == EV_ABS && event->code == ABS_MISC) && |
2313 |
if (!(event->type == EV_ABS && event->code == ABS_MISC) && |
| 2305 |
!(event->type == EV_MSC && event->code == MSC_SERIAL)) { |
2314 |
!(event->type == EV_MSC && event->code == MSC_SERIAL) && |
|
|
2315 |
!(event->type == EV_SYN && event->code == SYN_REPORT)) { |
| 2306 |
continue; |
2316 |
continue; |
| 2307 |
} |
2317 |
} |
| 2308 |
|
2318 |
|