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
commit 1079215871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);