aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-02-04 09:26:57 -0500
committerKirill Primak <vyivel@eclair.cafe>2022-02-21 17:11:32 +0000
commit71577e351e7954467e2376ac7bb92edc4ce53159 (patch)
tree5251a9b8bdac59973d28f08892920ad02e05600c /include
parent7d560df90e7ee684dc26306f44a0b3c7f8cf2702 (diff)
types/wlr_input_device: default vendor and product id to 0
vendor and product id are set when needed by the libinput backend
Diffstat (limited to 'include')
-rw-r--r--include/wlr/interfaces/wlr_input_device.h8
1 files changed, 3 insertions, 5 deletions
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