mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
input-device: drop wlr_input_device.{vendor,product}
These aren't super useful without the bus type. Compositors can fish back this information from the libinput device if they want to. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3818
This commit is contained in:
parent
11ee3ae5b5
commit
edbf8bf2ce
8 changed files with 0 additions and 17 deletions
|
|
@ -93,8 +93,6 @@ void init_device_tablet_pad(struct wlr_libinput_input_device *dev) {
|
|||
const char *name = get_libinput_device_name(handle);
|
||||
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->base.vendor = libinput_device_get_id_vendor(handle);
|
||||
wlr_tablet_pad->base.product = libinput_device_get_id_product(handle);
|
||||
|
||||
wlr_tablet_pad->button_count =
|
||||
libinput_device_tablet_pad_get_num_buttons(handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue