mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-29 20:40:09 +01:00
tools: bind to the new capabilities in ei-debug-events
This commit is contained in:
parent
fafc30d4cc
commit
a890ce96bb
1 changed files with 7 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue