1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-26 05:56:33 -05:00

yuzu: ui: Improve battery symbols

This commit is contained in:
Narr the Reg
2022-02-02 12:22:22 -06:00
parent 79e8f4abe8
commit 064aa3de11
4 changed files with 59 additions and 39 deletions

View File

@@ -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: