diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-21 19:45:50 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-21 19:45:50 +0100 |
commit | 627be8149bece18caa9f22f84e6c1c75de8f9003 (patch) | |
tree | 04422f293ca0d9bbd75fa577b46428f3cc4de13f /src/window | |
parent | 101013207f1dde35d67910b0555054d127c26aec (diff) |
Add mapping notify event
Diffstat (limited to 'src/window')
-rw-r--r-- | src/window/Keyboard.cpp | 5 |
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 |