diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 09:59:45 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 09:59:45 +0200 |
| commit | 34134e88f6c6b8b4d19fec53366d6e40a3303c6e (patch) | |
| tree | 2e8cd4ee882ffbaca7a2caae2d1e6b0be49c93ef /main/floormat-events.cpp | |
| parent | cecd124c0c043ef261256fb9e3f1108cde1265c1 (diff) | |
a
Diffstat (limited to 'main/floormat-events.cpp')
| -rw-r--r-- | main/floormat-events.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/main/floormat-events.cpp b/main/floormat-events.cpp index 62409d35..3200728a 100644 --- a/main/floormat-events.cpp +++ b/main/floormat-events.cpp @@ -1,4 +1,3 @@ -#pragma once #include "floormat-main-impl.hpp" #include "floormat-app.hpp" #include "floormat-events.hpp" @@ -63,7 +62,7 @@ void main_impl::keyPressEvent(Platform::Sdl2Application::KeyEvent& event) app.on_key_up_down({(SDL_Keycode)(std::uint32_t)event.key(), (SDL_Keymod)(std::uint16_t)event.modifiers(), event.isRepeated()}, - true) + true); } void main_impl::keyReleaseEvent(Platform::Sdl2Application::KeyEvent& event) @@ -71,7 +70,7 @@ void main_impl::keyReleaseEvent(Platform::Sdl2Application::KeyEvent& event) app.on_key_up_down({(SDL_Keycode)(std::uint32_t)event.key(), (SDL_Keymod)(std::uint16_t)event.modifiers(), event.isRepeated()}, - false) + false); } void main_impl::anyEvent(SDL_Event& event) |
