diff options
author | Markus Ongyerth <ongy@ongy.net> | 2018-04-23 08:55:49 +0200 |
---|---|---|
committer | Markus Ongyerth <ongy@ongy.net> | 2018-07-14 09:40:39 +0200 |
commit | 77bac448ccac9827abfa2ab10e798295f07f3980 (patch) | |
tree | 999d69f31c8470c30bf881f92676e5c02edf77f9 /include | |
parent | 4947295c8f6d9b6f2f77928eda164ad44fb3ecf8 (diff) |
storage commit #2
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_tablet_pad.h | 22 | ||||
-rw-r--r-- | include/wlr/types/wlr_tablet_tool.h | 8 |
2 files changed, 30 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h index 73082c56..b633f439 100644 --- a/include/wlr/types/wlr_tablet_pad.h +++ b/include/wlr/types/wlr_tablet_pad.h @@ -22,9 +22,31 @@ struct wlr_tablet_pad { struct wl_signal strip; } events; + size_t button_count; + size_t ring_count; + size_t strip_count; + + struct wl_list groups; // wlr_tablet_pad_group::link + struct wl_list paths; // wlr_tablet_path::link + void *data; }; +struct wlr_tablet_pad_group_v2 { + struct wl_list link; + + size_t button_count; + unsigned int *buttons; + + size_t strip_count; + unsigned int *strips; + + size_t ring_count; + unsigned int *rings; + + unsigned int mode_count; +}; + struct wlr_event_tablet_pad_button { uint32_t time_msec; uint32_t button; diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index 08d37f68..884b486a 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -42,6 +42,11 @@ struct wlr_tablet_tool_tool { struct wlr_tablet_tool_impl; +struct wlr_tablet_path { + struct wl_list link; + char *path; +}; + struct wlr_tablet_tool { struct wlr_tablet_tool_impl *impl; @@ -52,6 +57,9 @@ struct wlr_tablet_tool { struct wl_signal button; } events; + const char *name; + struct wl_list paths; // wlr_table_path::link + void *data; }; |