tablet: add tablet tool scroll

This commit is contained in:
Louis Goyard 2024-03-12 00:09:43 +09:00
parent 50eae512d9
commit 5225a4ccce
9 changed files with 133 additions and 0 deletions

View file

@ -218,6 +218,9 @@ void handle_libinput_event(struct wlr_libinput_backend *backend,
case LIBINPUT_EVENT_TABLET_TOOL_BUTTON:
handle_tablet_tool_button(event, &dev->tablet);
break;
case LIBINPUT_EVENT_TABLET_TOOL_SCROLL_CONTINUOUS:
handle_tablet_tool_scroll_continuous(event, &dev->tablet);
break;
case LIBINPUT_EVENT_TABLET_PAD_BUTTON:
handle_tablet_pad_button(event, &dev->tablet_pad);
break;