aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r--backend/libinput/events.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index 4af8082f..f8413dae 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -139,6 +139,21 @@ void wlr_libinput_event(struct wlr_backend_state *state,
case LIBINPUT_EVENT_POINTER_AXIS:
handle_pointer_axis(event, device);
break;
+ case LIBINPUT_EVENT_TOUCH_DOWN:
+ handle_touch_down(event, device);
+ break;
+ case LIBINPUT_EVENT_TOUCH_UP:
+ handle_touch_up(event, device);
+ break;
+ case LIBINPUT_EVENT_TOUCH_MOTION:
+ handle_touch_motion(event, device);
+ break;
+ case LIBINPUT_EVENT_TOUCH_CANCEL:
+ handle_touch_cancel(event, device);
+ break;
+ case LIBINPUT_EVENT_TOUCH_FRAME:
+ // no-op (at least for now)
+ break;
default:
wlr_log(L_DEBUG, "Unknown libinput event %d", event_type);
break;