From 3e228b0b2ac6fbeee544764aa1c3aa1e7e501af1 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Tue, 19 Dec 2017 19:46:30 +0100 Subject: libinput backend: add wlr_input_device_is_libinput --- include/wlr/backend/libinput.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr/backend') diff --git a/include/wlr/backend/libinput.h b/include/wlr/backend/libinput.h index 95b8829d..af873628 100644 --- a/include/wlr/backend/libinput.h +++ b/include/wlr/backend/libinput.h @@ -12,5 +12,6 @@ struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display, struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device *dev); bool wlr_backend_is_libinput(struct wlr_backend *backend); +bool wlr_input_device_is_libinput(struct wlr_input_device *device); #endif -- cgit v1.2.3