diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-23 03:47:51 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-20 01:05:22 +0100 |
commit | 1c08d532e059fab603facb43f758f37fe148c1fc (patch) | |
tree | 7451b6e38166cb3c422b22678ae0b989cd447de3 /src/core/hle/service/hid/controllers/npad.cpp | |
parent | input_common: Implement joycon nfc (diff) | |
download | yuzu-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/core/hle/service/hid/controllers/npad.cpp')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 83b368091..fe5bf94d2 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -337,6 +337,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) { controller.is_connected = true; controller.device->Connect(); controller.device->SetLedPattern(); + controller.device->SetPollingMode(Common::Input::PollingMode::Active); SignalStyleSetChangedEvent(npad_id); WriteEmptyEntry(controller.shared_memory); } |