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>
(cherry picked from commit 0933650f66)
This commit is contained in:
Peter Hutterer 2016-05-26 08:40:17 +10:00
parent 23bacd16c3
commit 97ff0002e9

View file

@ -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",