mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 21:48:05 +02:00
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:
parent
23bacd16c3
commit
97ff0002e9
1 changed files with 4 additions and 0 deletions
|
|
@ -403,6 +403,10 @@ pad_process(struct evdev_dispatch *dispatch,
|
||||||
case EV_SYN:
|
case EV_SYN:
|
||||||
pad_flush(pad, device, time);
|
pad_flush(pad, device, time);
|
||||||
break;
|
break;
|
||||||
|
case EV_MSC:
|
||||||
|
/* The EKR sends the serial as MSC_SERIAL, ignore this for
|
||||||
|
* now */
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
log_error(device->base.seat->libinput,
|
log_error(device->base.seat->libinput,
|
||||||
"Unexpected event type %s (%#x)\n",
|
"Unexpected event type %s (%#x)\n",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue