aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_tablet_tool.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h
index 805727d4..4dbac4d0 100644
--- a/include/wlr/types/wlr_tablet_tool.h
+++ b/include/wlr/types/wlr_tablet_tool.h
@@ -77,15 +77,15 @@ struct wlr_tablet {
};
enum wlr_tablet_tool_axes {
- WLR_TABLET_TOOL_AXIS_X = 1,
- WLR_TABLET_TOOL_AXIS_Y = 2,
- WLR_TABLET_TOOL_AXIS_DISTANCE = 4,
- WLR_TABLET_TOOL_AXIS_PRESSURE = 8,
- WLR_TABLET_TOOL_AXIS_TILT_X = 16,
- WLR_TABLET_TOOL_AXIS_TILT_Y = 32,
- WLR_TABLET_TOOL_AXIS_ROTATION = 64,
- WLR_TABLET_TOOL_AXIS_SLIDER = 128,
- WLR_TABLET_TOOL_AXIS_WHEEL = 256,
+ WLR_TABLET_TOOL_AXIS_X = 1 << 0,
+ WLR_TABLET_TOOL_AXIS_Y = 1 << 1,
+ WLR_TABLET_TOOL_AXIS_DISTANCE = 1 << 2,
+ WLR_TABLET_TOOL_AXIS_PRESSURE = 1 << 3,
+ WLR_TABLET_TOOL_AXIS_TILT_X = 1 << 4,
+ WLR_TABLET_TOOL_AXIS_TILT_Y = 1 << 5,
+ WLR_TABLET_TOOL_AXIS_ROTATION = 1 << 6,
+ WLR_TABLET_TOOL_AXIS_SLIDER = 1 << 7,
+ WLR_TABLET_TOOL_AXIS_WHEEL = 1 << 8,
};
struct wlr_event_tablet_tool_axis {