Documentation for <wlr/types/wlr_tablet_pad.h>
Back to index
Table of contents
struct wlr_tablet_pad
¶
struct wlr_tablet_pad {
struct wlr_input_device base;
const struct wlr_tablet_pad_impl *impl;
struct {
struct wl_signal button;
struct wl_signal ring;
struct wl_signal strip;
struct wl_signal attach_tablet;
} events;
size_t button_count;
size_t ring_count;
size_t strip_count;
struct wl_list groups;
struct wl_array paths;
void *data;
};
struct wlr_tablet_pad_group
¶
struct wlr_tablet_pad_group {
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;
};
enum wlr_tablet_pad_ring_source
¶
enum wlr_tablet_pad_ring_source {
WLR_TABLET_PAD_RING_SOURCE_UNKNOWN,
WLR_TABLET_PAD_RING_SOURCE_FINGER,
};
enum wlr_tablet_pad_strip_source
¶
enum wlr_tablet_pad_strip_source {
WLR_TABLET_PAD_STRIP_SOURCE_UNKNOWN,
WLR_TABLET_PAD_STRIP_SOURCE_FINGER,
};