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

@ -15,11 +15,9 @@ struct wlr_input_device_impl {
void (*destroy)(struct wlr_input_device *wlr_device);
};
void wlr_input_device_init(
struct wlr_input_device *wlr_device,
enum wlr_input_device_type type,
const struct wlr_input_device_impl *impl,
const char *name, int vendor, int product);
void wlr_input_device_init(struct wlr_input_device *wlr_device,
enum wlr_input_device_type type, const struct wlr_input_device_impl *impl,
const char *name);
void wlr_input_device_destroy(struct wlr_input_device *dev);
#endif