input_common: Remove battery duplicated struct and update every button press

This commit is contained in:
german77 2022-02-06 18:20:12 -06:00
parent 58df24fdde
commit 75d96d5462
6 changed files with 27 additions and 34 deletions

View file

@ -470,7 +470,7 @@ public:
}
Common::Input::BatteryStatus GetStatus() const {
return static_cast<Common::Input::BatteryLevel>(input_engine->GetBattery(identifier));
return input_engine->GetBattery(identifier);
}
void ForceUpdate() override {