diff options
-rw-r--r-- | plugins/linux/src/native/EventDevice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/linux/src/native/EventDevice.cpp b/plugins/linux/src/native/EventDevice.cpp index 6598ab6..e616fb3 100644 --- a/plugins/linux/src/native/EventDevice.cpp +++ b/plugins/linux/src/native/EventDevice.cpp @@ -313,6 +313,9 @@ int EventDevice::poll(){ int numEventsRead = (int) (read_bytes / sizeof(struct input_event)); for(i=0;i<numEventsRead;i++) { switch(events[i].type) { + case EV_SYN: + // not sure what to do with it, ignore for now -- JPK + break; case EV_KEY: { dataChanged = 1; int buttonIndex = buttonLookup[events[i].code]; |