aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-13 10:27:15 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-13 11:05:45 -0400
commita63230e59cfdaad42c3444b2bc4be5480202e527 (patch)
tree70067e02a12c75fe63c3e87c7d67349b4a0e5dde /include/backend
parent0dbfe56c892f400a015c37d1f3574c8f9c985030 (diff)
Implement libinput wlr_pointer
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/libinput.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h
index f6622695..7c318746 100644
--- a/include/backend/libinput.h
+++ b/include/backend/libinput.h
@@ -30,9 +30,20 @@ struct wlr_input_device *get_appropriate_device(
enum wlr_input_device_type desired_type,
struct libinput_device *device);
+struct wlr_keyboard *wlr_libinput_keyboard_create(
+ struct libinput_device *device);
void handle_keyboard_key(struct libinput_event *event,
struct libinput_device *device);
-struct wlr_keyboard *wlr_libinput_keyboard_create(
+
+struct wlr_pointer *wlr_libinput_pointer_create(
+ struct libinput_device *device);
+void handle_pointer_motion(struct libinput_event *event,
+ struct libinput_device *device);
+void handle_pointer_motion_abs(struct libinput_event *event,
+ struct libinput_device *device);
+void handle_pointer_button(struct libinput_event *event,
+ struct libinput_device *device);
+void handle_pointer_axis(struct libinput_event *event,
struct libinput_device *device);
#endif