summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-05-26 08:40:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-05-27 13:02:30 +1000
commit0933650f664560f81145c780ea982f49d4df1924 (patch)
tree0face1958502ad82cc14fb088932ddd16c5a86e6 /src
parent7b73269d74ac68a7954cb0bfaa06cbf6e4cec081 (diff)
pad: ignore EV_MSC events
The Wacom Express Key Remote sends the serial number via EV_MSC. At some later point we'll need the serial to match the LEDs correctly but for now we can ignore them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev-tablet-pad.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/evdev-tablet-pad.c b/src/evdev-tablet-pad.c
index ad6ead84..53416573 100644
--- a/src/evdev-tablet-pad.c
+++ b/src/evdev-tablet-pad.c
@@ -403,6 +403,10 @@ pad_process(struct evdev_dispatch *dispatch,
case EV_SYN:
pad_flush(pad, device, time);
break;
+ case EV_MSC:
+ /* The EKR sends the serial as MSC_SERIAL, ignore this for
+ * now */
+ break;
default:
log_error(device->base.seat->libinput,
"Unexpected event type %s (%#x)\n",