diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-05 02:23:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-05 02:23:35 +0100 |
commit | 0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49 (patch) | |
tree | acc84dad6f8634649d3856172f2196872c68a1f8 /src/input_common | |
parent | Merge pull request #7848 from Morph1984/unused-core-include (diff) | |
parent | yuzu: ui: Improve battery symbols (diff) | |
download | yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.gz yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.bz2 yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.lz yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.xz yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.tar.zst yuzu-0ec5b9bff2ccf777a673f92cd6d3403fa39d9c49.zip |
Diffstat (limited to 'src/input_common')
-rw-r--r-- | src/input_common/drivers/sdl_driver.cpp | 5 |
1 files changed, 2 insertions, 3 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: case SDL_JOYSTICK_POWER_EMPTY: return BatteryLevel::Empty; case SDL_JOYSTICK_POWER_LOW: - return BatteryLevel::Critical; - case SDL_JOYSTICK_POWER_MEDIUM: return BatteryLevel::Low; - case SDL_JOYSTICK_POWER_FULL: + case SDL_JOYSTICK_POWER_MEDIUM: return BatteryLevel::Medium; + case SDL_JOYSTICK_POWER_FULL: case SDL_JOYSTICK_POWER_MAX: return BatteryLevel::Full; case SDL_JOYSTICK_POWER_UNKNOWN: |