mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-10 04:27:51 -05: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
|
|
@ -11,8 +11,6 @@ void init_device_switch(struct wlr_libinput_input_device *dev) {
|
|||
const char *name = get_libinput_device_name(dev->handle);
|
||||
struct wlr_switch *wlr_switch = &dev->switch_device;
|
||||
wlr_switch_init(wlr_switch, &libinput_switch_impl, name);
|
||||
wlr_switch->base.vendor = libinput_device_get_id_vendor(dev->handle);
|
||||
wlr_switch->base.product = libinput_device_get_id_product(dev->handle);
|
||||
}
|
||||
|
||||
struct wlr_libinput_input_device *device_from_switch(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue