summaryrefslogtreecommitdiffhomepage
path: root/editor/app.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-05-02 16:15:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-05-02 22:35:39 +0200
commit03b67a512ec9ef1cf5c337aa5c47a5a76d4a8a61 (patch)
tree82ba3fcb9d5adde69e43e6e2bd3dca3ddb5a920b /editor/app.hpp
parentdce44862c64f50411a4f09713382b60a0e904d92 (diff)
editor: show actual keycode in unhandled key message
Note that `SDL_GetModState()` is a trivial accessor.
Diffstat (limited to 'editor/app.hpp')
-rw-r--r--editor/app.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/app.hpp b/editor/app.hpp
index 1be252ba..32d6ce56 100644
--- a/editor/app.hpp
+++ b/editor/app.hpp
@@ -152,7 +152,7 @@ private:
void render_menu();
using key_set = enum_bitset<key, key_COUNT>;
- void do_key(key k, int mods);
+ void do_key(key k, int mods, int keycode);
void do_key(key k);
void do_set_mode(editor_mode mode);
void do_rotate(bool backward);