pad: ignore EV_MSC events
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 25 May 2016 22:40:17 +0000 (08:40 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 29 May 2016 22:31:59 +0000 (08:31 +1000)
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 0933650f664560f81145c780ea982f49d4df1924)

src/evdev-tablet-pad.c

index ad6ead849af4c02dc6ef9a9674a1805a233d7834..53416573c7f36e3cd6f5862c49b7dedf1940c0eb 100644 (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",