types/wlr_input_device: default vendor and product id to 0

vendor and product id are set when needed by the libinput backend
This commit is contained in:
Simon Zeni 2022-02-04 09:26:57 -05:00 committed by Kirill Primak
parent 7d560df90e
commit 71577e351e
8 changed files with 15 additions and 24 deletions

View file

@ -639,7 +639,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
#endif
wlr_input_device_init(&x11->keyboard_dev, WLR_INPUT_DEVICE_KEYBOARD,
&input_device_impl, "X11 keyboard", 0, 0);
&input_device_impl, "X11 keyboard");
wlr_keyboard_init(&x11->keyboard, &keyboard_impl);
x11->keyboard_dev.keyboard = &x11->keyboard;