diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-18 05:32:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-18 05:32:30 +0200 |
commit | 689e04da905c1ceb8142975d3306c7b334eebbc9 (patch) | |
tree | 84d51bc925adcded5daf38b543e6393cd2e50006 /main/keyboard.cpp | |
parent | 40510b6e50ae9dd027c55e52c91433807ddf5c39 (diff) |
a
Diffstat (limited to 'main/keyboard.cpp')
-rw-r--r-- | main/keyboard.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/main/keyboard.cpp b/main/keyboard.cpp index 66dafa7e..b40daec4 100644 --- a/main/keyboard.cpp +++ b/main/keyboard.cpp @@ -32,18 +32,4 @@ app::~app() loader_::destroy(); } -void app::keyPressEvent(Platform::Sdl2Application::KeyEvent& event) -{ - if (_imgui.handleKeyPressEvent(event)) - return event.setAccepted(); - do_key(event.key(), event.modifiers(), true, event.isRepeated()); -} - -void app::keyReleaseEvent(Platform::Sdl2Application::KeyEvent& event) -{ - if (_imgui.handleKeyReleaseEvent(event)) - return keys = {}, event.setAccepted(); - do_key(event.key(), event.modifiers(), false, false); -} - } // namespace floormat |