aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-05-25 10:04:25 +0200
committerMarkus Ongyerth <ongy@ongy.net>2018-07-14 09:48:57 +0200
commit48e2cba9b6d94b549dbd3edcb94183a66e904224 (patch)
tree27ce1f15806a6c4775a020b88385d1c148fd0535 /include/wlr
parent503f9d6e52c3d78db10e06c00499d8935cc957f5 (diff)
Handle relative motion for mouse tools
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_tablet_tool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h
index 71fa0f82..0a92ffe2 100644
--- a/include/wlr/types/wlr_tablet_tool.h
+++ b/include/wlr/types/wlr_tablet_tool.h
@@ -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;