Implement tablet pads

This commit is contained in:
Drew DeVault 2017-06-19 14:49:07 -04:00
parent e9609e9adf
commit ecb04afcad
11 changed files with 268 additions and 13 deletions

View file

@ -53,6 +53,14 @@ struct wlr_tablet_tool *wlr_tablet_tool_create(struct wlr_tablet_tool_impl *impl
struct wlr_tablet_tool_state *state);
void wlr_tablet_tool_destroy(struct wlr_tablet_tool *tool);
struct wlr_tablet_pad_impl {
void (*destroy)(struct wlr_tablet_pad_state *pad);
};
struct wlr_tablet_pad *wlr_tablet_pad_create(struct wlr_tablet_pad_impl *impl,
struct wlr_tablet_pad_state *state);
void wlr_tablet_pad_destroy(struct wlr_tablet_pad *pad);
struct wlr_input_device_impl {
void (*destroy)(struct wlr_input_device_state *state);
};