summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_driver.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-12-23 03:47:51 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-20 01:05:22 +0100
commit1c08d532e059fab603facb43f758f37fe148c1fc (patch)
tree7451b6e38166cb3c422b22678ae0b989cd447de3 /src/input_common/helpers/joycon_driver.cpp
parentinput_common: Implement joycon nfc (diff)
downloadyuzu-1c08d532e059fab603facb43f758f37fe148c1fc.tar
yuzu-1c08d532e059fab603facb43f758f37fe148c1fc.tar.gz
yuzu-1c08d532e059fab603facb43f758f37fe148c1fc.tar.bz2
yuzu-1c08d532e059fab603facb43f758f37fe148c1fc.tar.lz
yuzu-1c08d532e059fab603facb43f758f37fe148c1fc.tar.xz
yuzu-1c08d532e059fab603facb43f758f37fe148c1fc.tar.zst
yuzu-1c08d532e059fab603facb43f758f37fe148c1fc.zip
Diffstat (limited to 'src/input_common/helpers/joycon_driver.cpp')
-rw-r--r--src/input_common/helpers/joycon_driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/helpers/joycon_driver.cpp b/src/input_common/helpers/joycon_driver.cpp
index c3debffd1..db9ff4875 100644
--- a/src/input_common/helpers/joycon_driver.cpp
+++ b/src/input_common/helpers/joycon_driver.cpp
@@ -396,7 +396,7 @@ DriverResult JoyconDriver::SetActiveMode() {
DriverResult JoyconDriver::SetNfcMode() {
std::scoped_lock lock{mutex};
- motion_enabled = false;
+ motion_enabled = true;
hidbus_enabled = false;
nfc_enabled = true;
passive_enabled = false;