mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
Clean up serial handling and automate proximity acompaning events
This commit is contained in:
parent
25c2808153
commit
dc525a9c5f
3 changed files with 28 additions and 13 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#include "tablet-unstable-v2-protocol.h"
|
||||
|
||||
/* This can probably be even lower,the tools don't have a lot of buttons */
|
||||
#define WLR_TABLEt_V2_TOOL_BUTTONS_CAP 16
|
||||
#define WLR_TABLET_V2_TOOL_BUTTONS_CAP 16
|
||||
|
||||
struct wlr_tablet_client_v2;
|
||||
struct wlr_tablet_tool_client_v2;
|
||||
|
|
@ -51,8 +51,8 @@ struct wlr_tablet_v2_tablet_tool {
|
|||
bool is_down;
|
||||
uint32_t down_serial;
|
||||
size_t num_buttons;
|
||||
uint32_t pressed_buttons[WLR_TABLEt_V2_TOOL_BUTTONS_CAP];
|
||||
uint32_t pressed_serials[WLR_TABLEt_V2_TOOL_BUTTONS_CAP];
|
||||
uint32_t pressed_buttons[WLR_TABLET_V2_TOOL_BUTTONS_CAP];
|
||||
uint32_t pressed_serials[WLR_TABLET_V2_TOOL_BUTTONS_CAP];
|
||||
|
||||
struct {
|
||||
struct wl_signal set_cursor; // struct wlr_tablet_v2_event_cursor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue