summaryrefslogtreecommitdiffhomepage
path: root/floormat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-21 16:58:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-21 16:58:00 +0200
commit466f49ac5702c02352617481f0beaeef7ddc604b (patch)
treec123e8ee3e5060524070f64514b2993a2ff42d34 /floormat
parent809668a3d816e560616ea33e9477959f7c518ccf (diff)
fix mouse button mask formula
Diffstat (limited to 'floormat')
-rw-r--r--floormat/events.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/floormat/events.hpp b/floormat/events.hpp
index b5294d76..68c2bedd 100644
--- a/floormat/events.hpp
+++ b/floormat/events.hpp
@@ -8,9 +8,9 @@ enum mouse_button : unsigned char {
mouse_button_none = 0,
mouse_button_left = 1 << 0,
mouse_button_middle = 1 << 1,
- mouse_button_right = 1 << 3,
- mouse_button_x1 = 1 << 4,
- mouse_button_x2 = 1 << 5,
+ mouse_button_right = 1 << 2,
+ mouse_button_x1 = 1 << 3,
+ mouse_button_x2 = 1 << 4,
};
struct mouse_button_event final {