mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
Handle relative motion for mouse tools
This commit is contained in:
parent
503f9d6e52
commit
48e2cba9b6
3 changed files with 17 additions and 6 deletions
|
|
@ -79,6 +79,8 @@ struct wlr_event_tablet_tool_axis {
|
|||
uint32_t updated_axes;
|
||||
// From 0..1
|
||||
double x, y;
|
||||
// Relative to last event
|
||||
double dx, dy;
|
||||
double pressure;
|
||||
double distance;
|
||||
double tilt_x, tilt_y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue