summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-02-10 17:58:37 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2022-02-10 17:58:37 +0100
commit6a1ad031530f506a1bc789c42d639dc11ce4f2ea (patch)
tree73359b88f656198e7d38a03e3b767834065e5c34 /src/core/hid/emulated_controller.h
parentnfp: Address compiler issues (diff)
downloadyuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar
yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar.gz
yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar.bz2
yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar.lz
yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar.xz
yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar.zst
yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.zip
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index 7785e6110..aa52f9572 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -299,16 +299,21 @@ public:
/**
* Sends a specific vibration to the output device
- * @return returns true if vibration had no errors
+ * @return true if vibration had no errors
*/
bool SetVibration(std::size_t device_index, VibrationValue vibration);
/**
* Sends a small vibration to the output device
- * @return returns true if SetVibration was successfull
+ * @return true if SetVibration was successfull
*/
bool TestVibration(std::size_t device_index);
+ /**
+ * Sets the desired data to be polled from a controller
+ * @param polling_mode type of input desired buttons, gyro, nfc, ir, etc.
+ * @return true if SetPollingMode was successfull
+ */
bool SetPollingMode(Common::Input::PollingMode polling_mode);
/// Returns the led pattern corresponding to this emulated controller