diff options
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 |