summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorGravatar Narr the Reg2023-01-13 13:39:33 -0600
committerGravatar Narr the Reg2023-01-19 18:05:23 -0600
commit4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3 (patch)
treec104ff9a8a48cf29fd3dc67c84f5af71224744f7 /src/core/hid/emulated_controller.h
parentinput_common: Drop Pro controller support from custom driver (diff)
downloadyuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar.gz
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.tar.xz
yuzu-4a307a7b3aa3afea7d62674f6cf40b76f3ffb5e3.zip
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index edebfc15c..3ac77b2b5 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -363,10 +363,12 @@ public:
363 363
364 /** 364 /**
365 * Sets the desired data to be polled from a controller 365 * Sets the desired data to be polled from a controller
366 * @param device_index index of the controller to set the polling mode
366 * @param polling_mode type of input desired buttons, gyro, nfc, ir, etc. 367 * @param polling_mode type of input desired buttons, gyro, nfc, ir, etc.
367 * @return driver result from this command 368 * @return driver result from this command
368 */ 369 */
369 Common::Input::DriverResult SetPollingMode(Common::Input::PollingMode polling_mode); 370 Common::Input::DriverResult SetPollingMode(EmulatedDeviceIndex device_index,
371 Common::Input::PollingMode polling_mode);
370 372
371 /** 373 /**
372 * Sets the desired camera format to be polled from a controller 374 * Sets the desired camera format to be polled from a controller