diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-19 07:12:24 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:24 +0100 |
commit | 601ac43495904f3f7666d79a800a8b4eda5a8461 (patch) | |
tree | 97e49cb22264ceb730ce51babbd3c2dc27d6b36f /src/core/hid/input_converter.cpp | |
parent | hid: Fix controller connection/disconnection (diff) | |
download | yuzu-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.cpp | 2 |
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: { |