From 21742f00961308fedb35cf38261afba3c1682853 Mon Sep 17 00:00:00 2001 From: german77 Date: Sun, 6 Feb 2022 18:20:12 -0600 Subject: input_common: Remove battery duplicated struct and update every button press --- src/input_common/drivers/udp_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_common/drivers/udp_client.h') diff --git a/src/input_common/drivers/udp_client.h b/src/input_common/drivers/udp_client.h index e9c178139..1c6a343e4 100644 --- a/src/input_common/drivers/udp_client.h +++ b/src/input_common/drivers/udp_client.h @@ -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); -- cgit v1.2.3