aboutsummaryrefslogtreecommitdiff
path: root/src/window/Keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window/Keyboard.cpp')
-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