From 71577e351e7954467e2376ac7bb92edc4ce53159 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Fri, 4 Feb 2022 09:26:57 -0500 Subject: types/wlr_input_device: default vendor and product id to 0 vendor and product id are set when needed by the libinput backend --- include/wlr/interfaces/wlr_input_device.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/interfaces/wlr_input_device.h b/include/wlr/interfaces/wlr_input_device.h index 05248bf6..04d5644f 100644 --- a/include/wlr/interfaces/wlr_input_device.h +++ b/include/wlr/interfaces/wlr_input_device.h @@ -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 -- cgit v1.2.3