Merge pull request #7859 from german77/battery_again

input_common: Remove battery duplicated struct and update every button press
This commit is contained in:
bunnei
2022-02-24 11:42:51 -08:00
committed by GitHub
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);