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 b720009dc0
commit 21742f0096
6 changed files with 27 additions and 34 deletions

View File

@ -141,7 +141,7 @@ private:
std::size_t GetClientNumber(std::string_view host, u16 port) const;
// Translates UDP battery level to input engine battery level
BatteryLevel GetBatteryLevel(Response::Battery battery) const;
Common::Input::BatteryLevel GetBatteryLevel(Response::Battery battery) const;
void OnVersion(Response::Version);
void OnPortInfo(Response::PortInfo);