aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-23 10:36:32 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-23 10:36:32 -0400
commit7523de7c61b9eac310b10bf6711c75af2cd9b2f4 (patch)
treeec70b8aef66811399628c41e9c67d6a963a603bc /rootston/input.c
parent0699aa62d805fe61151189ab9989178fbbb456f2 (diff)
Wire up pointer, start on cursor
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/rootston/input.c b/rootston/input.c
index 8764e9b0..d551715b 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -31,16 +31,16 @@ static void input_add_notify(struct wl_listener *listener, void *data) {
device->vendor, device->product, device_type(device->type));
switch (device->type) {
case WLR_INPUT_DEVICE_KEYBOARD:
- //keyboard_add(device, state);
+ //keyboard_add(device, input);
break;
case WLR_INPUT_DEVICE_POINTER:
- //pointer_add(device, state);
+ pointer_add(device, input);
break;
case WLR_INPUT_DEVICE_TOUCH:
- //touch_add(device, state);
+ //touch_add(device, input);
break;
case WLR_INPUT_DEVICE_TABLET_TOOL:
- //tablet_tool_add(device, state);
+ //tablet_tool_add(device, input);
break;
default:
break;
@@ -52,16 +52,16 @@ static void input_remove_notify(struct wl_listener *listener, void *data) {
struct roots_input *input = wl_container_of(listener, input, input_remove);
switch (device->type) {
case WLR_INPUT_DEVICE_KEYBOARD:
- //keyboard_remove(device, state);
+ //keyboard_remove(device, input);
break;
case WLR_INPUT_DEVICE_POINTER:
- //pointer_remove(device, state);
+ //pointer_remove(device, input);
break;
case WLR_INPUT_DEVICE_TOUCH:
- //touch_remove(device, state);
+ //touch_remove(device, input);
break;
case WLR_INPUT_DEVICE_TABLET_TOOL:
- //tablet_tool_remove(device, state);
+ //tablet_tool_remove(device, input);
break;
default:
break;