summaryrefslogtreecommitdiff
path: root/src/input_common/helpers/joycon_driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/helpers/joycon_driver.cpp')
-rw-r--r--src/input_common/helpers/joycon_driver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/helpers/joycon_driver.cpp b/src/input_common/helpers/joycon_driver.cpp
index 4159e5717..3775e2d35 100644
--- a/src/input_common/helpers/joycon_driver.cpp
+++ b/src/input_common/helpers/joycon_driver.cpp
@@ -86,6 +86,7 @@ DriverResult JoyconDriver::InitializeDevice() {
86 86
87 // Get fixed joycon info 87 // Get fixed joycon info
88 generic_protocol->GetVersionNumber(version); 88 generic_protocol->GetVersionNumber(version);
89 generic_protocol->SetLowPowerMode(false);
89 generic_protocol->GetColor(color); 90 generic_protocol->GetColor(color);
90 if (handle_device_type == ControllerType::Pro) { 91 if (handle_device_type == ControllerType::Pro) {
91 // Some 3rd party controllers aren't pro controllers 92 // Some 3rd party controllers aren't pro controllers
@@ -324,6 +325,8 @@ DriverResult JoyconDriver::SetPollingMode() {
324 if (result != DriverResult::Success) { 325 if (result != DriverResult::Success) {
325 LOG_ERROR(Input, "Error enabling active mode"); 326 LOG_ERROR(Input, "Error enabling active mode");
326 } 327 }
328 // Switch calls this function after enabling active mode
329 generic_protocol->TriggersElapsed();
327 330
328 disable_input_thread = false; 331 disable_input_thread = false;
329 return result; 332 return result;