summaryrefslogtreecommitdiffhomepage
path: root/editor/keys.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/keys.hpp')
-rw-r--r--editor/keys.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/editor/keys.hpp b/editor/keys.hpp
index a94e771e..611f78e1 100644
--- a/editor/keys.hpp
+++ b/editor/keys.hpp
@@ -6,9 +6,10 @@ namespace floormat {
enum kmod : int {
kmod_none = 0x0000,
kmod_shift = 0x0001 << 8,
- kmod_ctrl = 0x0040 << 8,
- kmod_alt = 0x0100 << 8,
- kmod_super = 0x0400 << 8,
+ kmod_ctrl = 0x0040 << 9,
+ kmod_alt = 0x0100 << 10,
+ kmod_super = 0x0400 << 11,
+ kmod_mask = kmod_shift | kmod_ctrl | kmod_alt | kmod_super,
};
enum key : std::uint32_t {