diff options
Diffstat (limited to 'src/input_common')
| -rw-r--r-- | src/input_common/drivers/sdl_driver.cpp | 5 | ||||
| -rw-r--r-- | src/input_common/helpers/touch_from_buttons.cpp | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp index 577bf5c31..b031a8523 100644 --- a/src/input_common/drivers/sdl_driver.cpp +++ b/src/input_common/drivers/sdl_driver.cpp | |||
| @@ -181,11 +181,10 @@ public: | |||
| 181 | case SDL_JOYSTICK_POWER_EMPTY: | 181 | case SDL_JOYSTICK_POWER_EMPTY: |
| 182 | return BatteryLevel::Empty; | 182 | return BatteryLevel::Empty; |
| 183 | case SDL_JOYSTICK_POWER_LOW: | 183 | case SDL_JOYSTICK_POWER_LOW: |
| 184 | return BatteryLevel::Critical; | ||
| 185 | case SDL_JOYSTICK_POWER_MEDIUM: | ||
| 186 | return BatteryLevel::Low; | 184 | return BatteryLevel::Low; |
| 187 | case SDL_JOYSTICK_POWER_FULL: | 185 | case SDL_JOYSTICK_POWER_MEDIUM: |
| 188 | return BatteryLevel::Medium; | 186 | return BatteryLevel::Medium; |
| 187 | case SDL_JOYSTICK_POWER_FULL: | ||
| 189 | case SDL_JOYSTICK_POWER_MAX: | 188 | case SDL_JOYSTICK_POWER_MAX: |
| 190 | return BatteryLevel::Full; | 189 | return BatteryLevel::Full; |
| 191 | case SDL_JOYSTICK_POWER_UNKNOWN: | 190 | case SDL_JOYSTICK_POWER_UNKNOWN: |
diff --git a/src/input_common/helpers/touch_from_buttons.cpp b/src/input_common/helpers/touch_from_buttons.cpp index ece1e3b32..f1b57d03a 100644 --- a/src/input_common/helpers/touch_from_buttons.cpp +++ b/src/input_common/helpers/touch_from_buttons.cpp | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | #include <algorithm> | 5 | #include <algorithm> |
| 6 | #include "common/settings.h" | 6 | #include "common/settings.h" |
| 7 | #include "core/frontend/framebuffer_layout.h" | ||
| 8 | #include "input_common/helpers/touch_from_buttons.h" | 7 | #include "input_common/helpers/touch_from_buttons.h" |
| 9 | 8 | ||
| 10 | namespace InputCommon { | 9 | namespace InputCommon { |