diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-02-02 19:22:22 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-02-02 20:18:06 +0100 |
commit | 064aa3de117085ec20bef57ef1d4be76a29a7a57 (patch) | |
tree | 9267efe679785b016c7f8df296f68b48c35fb90d /src/input_common | |
parent | Merge pull request #7833 from lioncash/file-sys (diff) | |
download | yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.gz yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.bz2 yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.lz yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.xz yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.tar.zst yuzu-064aa3de117085ec20bef57ef1d4be76a29a7a57.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: |