summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus/ringcon.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-01-13 20:39:33 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-20 01:05:23 +0100
commit4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3 (patch)
treec104ff9a8a48cf29fd3dc67c84f5af71224744f7 /src/core/hle/service/hid/hidbus/ringcon.cpp
parentinput_common: Drop Pro controller support from custom driver (diff)
downloadyuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar.gz
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar.bz2
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar.lz
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar.xz
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar.zst
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.zip
Diffstat (limited to 'src/core/hle/service/hid/hidbus/ringcon.cpp')
-rw-r--r--src/core/hle/service/hid/hidbus/ringcon.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hidbus/ringcon.cpp b/src/core/hle/service/hid/hidbus/ringcon.cpp
index af776d506..78ed47014 100644
--- a/src/core/hle/service/hid/hidbus/ringcon.cpp
+++ b/src/core/hle/service/hid/hidbus/ringcon.cpp
@@ -18,12 +18,14 @@ RingController::RingController(Core::HID::HIDCore& hid_core_,
RingController::~RingController() = default;
void RingController::OnInit() {
- input->SetPollingMode(Common::Input::PollingMode::Ring);
+ input->SetPollingMode(Core::HID::EmulatedDeviceIndex::RightIndex,
+ Common::Input::PollingMode::Ring);
return;
}
void RingController::OnRelease() {
- input->SetPollingMode(Common::Input::PollingMode::Active);
+ input->SetPollingMode(Core::HID::EmulatedDeviceIndex::RightIndex,
+ Common::Input::PollingMode::Active);
return;
};