summaryrefslogtreecommitdiffhomepage
path: root/editor/events.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-29 21:29:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-01 06:06:53 +0100
commit486e591169af724107ffaf6f24cd1e81b24529a9 (patch)
tree012ec6c07c474d4695eb5c22b47dd35cfce2767c /editor/events.cpp
parent5afe42d6a81eeb81db08d4bd2107ac4c71f6671e (diff)
time wip
It works now, but some functionality is lost in main/draw.cpp
Diffstat (limited to 'editor/events.cpp')
-rw-r--r--editor/events.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/events.cpp b/editor/events.cpp
index cc1dbb3d..2ba39ff5 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -137,6 +137,7 @@ auto app::resolve_keybinding(int k_, int mods_) -> std::tuple<key, int>
case SDLK_d: return key_camera_right;
case SDLK_HOME: return key_camera_reset;
case SDLK_r: return key_rotate_tile;
+ case SDLK_F2: return key_emit_timestamp;
case SDLK_1: return key_mode_none;
case SDLK_2: return key_mode_floor;
case SDLK_3: return key_mode_walls;