mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
Implement pointer motion and buttons
This commit is contained in:
parent
5b92d4fecf
commit
eaf6c0ccf4
7 changed files with 107 additions and 40 deletions
|
|
@ -82,6 +82,8 @@ struct roots_input *input_create(struct roots_server *server,
|
|||
assert(input->xcursor = wlr_xcursor_theme_get_cursor(theme, "left_ptr"));
|
||||
|
||||
assert(input->wl_seat = wlr_seat_create(server->wl_display, "seat0"));
|
||||
wlr_seat_set_capabilities(input->wl_seat, WL_SEAT_CAPABILITY_KEYBOARD
|
||||
| WL_SEAT_CAPABILITY_POINTER | WL_SEAT_CAPABILITY_TOUCH);
|
||||
|
||||
wl_list_init(&input->keyboards);
|
||||
wl_list_init(&input->pointers);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue