From e89ec81ae3c4b35c655fef68c6302b12521dda6f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 21 Jan 2025 22:37:43 +0100 Subject: Add key_to_x11_keysym --- src/window/Keyboard.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/window') diff --git a/src/window/Keyboard.cpp b/src/window/Keyboard.cpp index f60e5cd..34d28be 100644 --- a/src/window/Keyboard.cpp +++ b/src/window/Keyboard.cpp @@ -14,4 +14,9 @@ namespace mgl { bool Keyboard::key_is_modifier(Key key) { return mgl_key_is_modifier((mgl_key)key); } + + // static + uint64_t Keyboard::key_to_x11_keysym(Key key) { + return mgl_key_to_x11_keysym((mgl_key)key); + } } \ No newline at end of file -- cgit v1.2.3