mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
types/wlr_tablet_pad: add base wlr_input_device
wlr_tablet_pad owns its wlr_input_device. It will be initialized when the tablet pad is initialized, and finished when the tablet pad is destroyed.
This commit is contained in:
parent
0f3b38365d
commit
a662743610
5 changed files with 14 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ struct wlr_tablet_pad_impl {
|
|||
};
|
||||
|
||||
void wlr_tablet_pad_init(struct wlr_tablet_pad *pad,
|
||||
struct wlr_tablet_pad_impl *impl);
|
||||
struct wlr_tablet_pad_impl *impl, const char *name);
|
||||
void wlr_tablet_pad_destroy(struct wlr_tablet_pad *pad);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@
|
|||
struct wlr_tablet_pad_impl;
|
||||
|
||||
struct wlr_tablet_pad {
|
||||
struct wlr_input_device base;
|
||||
|
||||
struct wlr_tablet_pad_impl *impl;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue