diff options
Diffstat (limited to 'src/input_common')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/input_common/sdl/sdl_impl.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index 2520ba321..a9c2392b1 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt | |||
| @@ -27,4 +27,4 @@ if(SDL2_FOUND) | |||
| 27 | endif() | 27 | endif() |
| 28 | 28 | ||
| 29 | create_target_directory_groups(input_common) | 29 | create_target_directory_groups(input_common) |
| 30 | target_link_libraries(input_common PUBLIC core PRIVATE common ${Boost_LIBRARIES}) | 30 | target_link_libraries(input_common PUBLIC core PRIVATE common Boost::boost) |
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp index a2e0c0bd2..675b477fa 100644 --- a/src/input_common/sdl/sdl_impl.cpp +++ b/src/input_common/sdl/sdl_impl.cpp | |||
| @@ -603,6 +603,7 @@ public: | |||
| 603 | if (std::abs(event.jaxis.value / 32767.0) < 0.5) { | 603 | if (std::abs(event.jaxis.value / 32767.0) < 0.5) { |
| 604 | break; | 604 | break; |
| 605 | } | 605 | } |
| 606 | [[fallthrough]]; | ||
| 606 | case SDL_JOYBUTTONUP: | 607 | case SDL_JOYBUTTONUP: |
| 607 | case SDL_JOYHATMOTION: | 608 | case SDL_JOYHATMOTION: |
| 608 | return SDLEventToButtonParamPackage(state, event); | 609 | return SDLEventToButtonParamPackage(state, event); |