|
|
@ -90,7 +90,7 @@ group_fail:
|
|
|
|
|
|
|
|
|
|
|
|
void init_device_tablet_pad(struct wlr_libinput_input_device *dev) {
|
|
|
|
void init_device_tablet_pad(struct wlr_libinput_input_device *dev) {
|
|
|
|
struct libinput_device *handle = dev->handle;
|
|
|
|
struct libinput_device *handle = dev->handle;
|
|
|
|
const char *name = libinput_device_get_name(handle);
|
|
|
|
const char *name = get_libinput_device_name(handle);
|
|
|
|
struct wlr_tablet_pad *wlr_tablet_pad = &dev->tablet_pad;
|
|
|
|
struct wlr_tablet_pad *wlr_tablet_pad = &dev->tablet_pad;
|
|
|
|
wlr_tablet_pad_init(wlr_tablet_pad, &libinput_tablet_pad_impl, name);
|
|
|
|
wlr_tablet_pad_init(wlr_tablet_pad, &libinput_tablet_pad_impl, name);
|
|
|
|
wlr_tablet_pad->base.vendor = libinput_device_get_id_vendor(handle);
|
|
|
|
wlr_tablet_pad->base.vendor = libinput_device_get_id_vendor(handle);
|
|
|
|