mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
storage commit #2
This commit is contained in:
parent
4947295c8f
commit
77bac448cc
5 changed files with 138 additions and 188 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue