summaryrefslogtreecommitdiffstats
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-10-19 07:12:24 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:24 +0100
commit601ac43495904f3f7666d79a800a8b4eda5a8461 (patch)
tree97e49cb22264ceb730ce51babbd3c2dc27d6b36f /src/core/hid/input_converter.cpp
parenthid: Fix controller connection/disconnection (diff)
downloadyuzu-601ac43495904f3f7666d79a800a8b4eda5a8461.tar
yuzu-601ac43495904f3f7666d79a800a8b4eda5a8461.tar.gz
yuzu-601ac43495904f3f7666d79a800a8b4eda5a8461.tar.bz2
yuzu-601ac43495904f3f7666d79a800a8b4eda5a8461.tar.lz
yuzu-601ac43495904f3f7666d79a800a8b4eda5a8461.tar.xz
yuzu-601ac43495904f3f7666d79a800a8b4eda5a8461.tar.zst
yuzu-601ac43495904f3f7666d79a800a8b4eda5a8461.zip
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r--src/core/hid/input_converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp
index 5834622e9..128a48ec9 100644
--- a/src/core/hid/input_converter.cpp
+++ b/src/core/hid/input_converter.cpp
@@ -10,7 +10,7 @@
namespace Core::HID {
Input::BatteryStatus TransformToBattery(const Input::CallbackStatus& callback) {
- Input::BatteryStatus battery{};
+ Input::BatteryStatus battery{Input::BatteryStatus::None};
switch (callback.type) {
case Input::InputType::Analog:
case Input::InputType::Trigger: {