diff --git a/evdev.c b/evdev.c index f91b6859..ee51e0ef 100644 --- a/evdev.c +++ b/evdev.c @@ -59,6 +59,7 @@ static void wl_input_device_data(int fd, uint32_t mask, void *data) dy += value; break; } + break; case EV_ABS: absolute_event = 1; @@ -70,6 +71,7 @@ static void wl_input_device_data(int fd, uint32_t mask, void *data) device->y = value; break; } + break; case EV_KEY: if (value == 2)