From 627be8149bece18caa9f22f84e6c1c75de8f9003 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 21 Jan 2025 19:45:50 +0100 Subject: Add mapping notify event --- src/window/Keyboard.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/window/Keyboard.cpp') 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 -- cgit v1.2.3