aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-21 19:45:50 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-21 19:45:50 +0100
commit627be8149bece18caa9f22f84e6c1c75de8f9003 (patch)
tree04422f293ca0d9bbd75fa577b46428f3cc4de13f /src
parent101013207f1dde35d67910b0555054d127c26aec (diff)
Add mapping notify event
Diffstat (limited to 'src')
-rw-r--r--src/window/Keyboard.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window/Keyboard.cpp b/src/window/Keyboard.cpp
index bd031db..f60e5cd 100644
--- a/src/window/Keyboard.cpp
+++ b/src/window/Keyboard.cpp
@@ -9,4 +9,9 @@ namespace mgl {
const char* Keyboard::key_to_string(Key key) {
return mgl_key_to_string((mgl_key)key);
}
+
+ // static
+ bool Keyboard::key_is_modifier(Key key) {
+ return mgl_key_is_modifier((mgl_key)key);
+ }
} \ No newline at end of file