diff options
| author | 2022-02-10 10:58:37 -0600 | |
|---|---|---|
| committer | 2022-02-10 10:58:37 -0600 | |
| commit | 6a1ad031530f506a1bc789c42d639dc11ce4f2ea (patch) | |
| tree | 73359b88f656198e7d38a03e3b767834065e5c34 /src/core/hid | |
| parent | nfp: Address compiler issues (diff) | |
| download | yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar.gz yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.tar.xz yuzu-6a1ad031530f506a1bc789c42d639dc11ce4f2ea.zip | |
nfp: Separate nfc tag from amiibo data
Diffstat (limited to 'src/core/hid')
| -rw-r--r-- | src/core/hid/emulated_controller.h | 9 |
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: | |||
| 299 | 299 | ||
| 300 | /** | 300 | /** |
| 301 | * Sends a specific vibration to the output device | 301 | * Sends a specific vibration to the output device |
| 302 | * @return returns true if vibration had no errors | 302 | * @return true if vibration had no errors |
| 303 | */ | 303 | */ |
| 304 | bool SetVibration(std::size_t device_index, VibrationValue vibration); | 304 | bool SetVibration(std::size_t device_index, VibrationValue vibration); |
| 305 | 305 | ||
| 306 | /** | 306 | /** |
| 307 | * Sends a small vibration to the output device | 307 | * Sends a small vibration to the output device |
| 308 | * @return returns true if SetVibration was successfull | 308 | * @return true if SetVibration was successfull |
| 309 | */ | 309 | */ |
| 310 | bool TestVibration(std::size_t device_index); | 310 | bool TestVibration(std::size_t device_index); |
| 311 | 311 | ||
| 312 | /** | ||
| 313 | * Sets the desired data to be polled from a controller | ||
| 314 | * @param polling_mode type of input desired buttons, gyro, nfc, ir, etc. | ||
| 315 | * @return true if SetPollingMode was successfull | ||
| 316 | */ | ||
| 312 | bool SetPollingMode(Common::Input::PollingMode polling_mode); | 317 | bool SetPollingMode(Common::Input::PollingMode polling_mode); |
| 313 | 318 | ||
| 314 | /// Returns the led pattern corresponding to this emulated controller | 319 | /// Returns the led pattern corresponding to this emulated controller |