mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
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.
This commit is contained in:
parent
86b8729998
commit
6d8e1abfc0
5 changed files with 20 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue