input_common: Remove battery duplicated struct and update every button press
This commit is contained in:
parent
58df24fdde
commit
75d96d5462
6 changed files with 27 additions and 34 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue