From a890ce96bb0b810b49dc8d1bb383d9b44284f487 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 10 May 2023 09:59:33 +1000 Subject: [PATCH] tools: bind to the new capabilities in ei-debug-events --- tools/ei-debug-events.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/ei-debug-events.c b/tools/ei-debug-events.c index 1a34505..c9994e7 100644 --- a/tools/ei-debug-events.c +++ b/tools/ei-debug-events.c @@ -423,10 +423,13 @@ int main(int argc, char **argv) case EI_EVENT_DISCONNECT: goto finished; case EI_EVENT_SEAT_ADDED: - ei_seat_bind_capability(seat, EI_DEVICE_CAP_POINTER); - ei_seat_has_capability(seat, EI_DEVICE_CAP_POINTER_ABSOLUTE); - ei_seat_bind_capability(seat, EI_DEVICE_CAP_KEYBOARD); - ei_seat_bind_capability(seat, EI_DEVICE_CAP_TOUCH); + ei_seat_bind_capabilities(seat, EI_DEVICE_CAP_POINTER, + EI_DEVICE_CAP_POINTER_ABSOLUTE, + EI_DEVICE_CAP_KEYBOARD, + EI_DEVICE_CAP_TOUCH, + EI_DEVICE_CAP_BUTTON, + EI_DEVICE_CAP_SCROLL, + NULL); _fallthrough_; case EI_EVENT_SEAT_REMOVED: print_seat_event(e);