aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-04 01:35:12 -0400
committerDrew DeVault <sir@cmpwn.com>2017-11-04 01:35:12 -0400
commit6d8e1abfc0a266e8ff1a8c9ba1a004faeaac79d5 (patch)
treef13d5269e8728fc66a1a8dd7b50fb355d83de7a2 /backend/libinput
parent86b87299986a430a52b4eac3f2e0e7b659176c90 (diff)
Improve input sensitivity
We now use doubles until the last minute, which makes it so we can move the pointer more precisely. This also includes a fix for tablet tools, which move absolutely and sometimes do not update the X or Y axis.
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/tablet_tool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/libinput/tablet_tool.c b/backend/libinput/tablet_tool.c
index 3caaf3f7..3d5fafc3 100644
--- a/backend/libinput/tablet_tool.c
+++ b/backend/libinput/tablet_tool.c
@@ -70,6 +70,8 @@ void handle_tablet_tool_axis(struct libinput_event *event,
wlr_event.updated_axes |= WLR_TABLET_TOOL_AXIS_WHEEL;
wlr_event.wheel_delta = libinput_event_tablet_tool_get_wheel_delta(tevent);
}
+ wlr_log(L_DEBUG, "Tablet tool axis event %d @ %f,%f",
+ wlr_event.updated_axes, wlr_event.x_mm, wlr_event.y_mm);
wl_signal_emit(&wlr_dev->tablet_tool->events.axis, &wlr_event);
}