diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-13 13:39:33 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-19 18:05:23 -0600 |
| commit | 000a5852ee4014eae0b1c2f34bab84a474db4756 (patch) | |
| tree | c104ff9a8a48cf29fd3dc67c84f5af71224744f7 /src/core/hid/emulated_controller.h | |
| parent | 21a62d47522b7f58ec4644cdb73456f113daff1f (diff) | |
core: hid: Only set the polling mode to the correct side
Diffstat (limited to 'src/core/hid/emulated_controller.h')
| -rw-r--r-- | src/core/hid/emulated_controller.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h index edebfc15c2..3ac77b2b5e 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h @@ -363,10 +363,12 @@ public: /** * Sets the desired data to be polled from a controller + * @param device_index index of the controller to set the polling mode * @param polling_mode type of input desired buttons, gyro, nfc, ir, etc. * @return driver result from this command */ - Common::Input::DriverResult SetPollingMode(Common::Input::PollingMode polling_mode); + Common::Input::DriverResult SetPollingMode(EmulatedDeviceIndex device_index, + Common::Input::PollingMode polling_mode); /** * Sets the desired camera format to be polled from a controller |
