tools: make the button/scroll caps available on demo-server seats

This commit is contained in:
Peter Hutterer 2023-05-08 14:08:18 +10:00
parent 1fc58e3a90
commit a7f9712d83

View file

@ -363,6 +363,8 @@ eis_demo_server_printf_handle_event(struct eis_demo_server *server,
eis_seat_configure_capability(seat, EIS_DEVICE_CAP_POINTER_ABSOLUTE);
eis_seat_configure_capability(seat, EIS_DEVICE_CAP_KEYBOARD);
eis_seat_configure_capability(seat, EIS_DEVICE_CAP_TOUCH);
eis_seat_configure_capability(seat, EIS_DEVICE_CAP_BUTTON);
eis_seat_configure_capability(seat, EIS_DEVICE_CAP_SCROLL);
eis_seat_add(seat);
/* Note: we don't have a ref to this seat ourselves anywhere */
break;