input_common: Remove battery duplicated struct and update every button press

This commit is contained in:
german77 committed 2022-02-06 18:33:55 -06:00
1 parent 58df24fdde
commit 75d96d5462
6 files changed
+27 -34

No files matched your search

+1 -1
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 {