diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-21 16:58:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-21 16:58:00 +0200 |
commit | 466f49ac5702c02352617481f0beaeef7ddc604b (patch) | |
tree | c123e8ee3e5060524070f64514b2993a2ff42d34 /floormat/events.hpp | |
parent | 809668a3d816e560616ea33e9477959f7c518ccf (diff) |
fix mouse button mask formula
Diffstat (limited to 'floormat/events.hpp')
-rw-r--r-- | floormat/events.hpp | 6 |
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 { |