summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorGravatar german772022-10-21 00:23:12 -0500
committerGravatar german772022-10-21 00:24:08 -0500
commit7f66050f0c383a5c7d82c5c58098f819d4e1e0bc (patch)
tree8d449371387a14d7564381037d8deade468ee010 /src/core/hid/emulated_controller.h
parentMerge pull request #9088 from Fdawgs/chore/images (diff)
downloadyuzu-7f66050f0c383a5c7d82c5c58098f819d4e1e0bc.tar.gz
yuzu-7f66050f0c383a5c7d82c5c58098f819d4e1e0bc.tar.xz
yuzu-7f66050f0c383a5c7d82c5c58098f819d4e1e0bc.zip
input_common: cache vibration tests
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index 319226bf8..d004ca56a 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -206,9 +206,6 @@ public:
206 */ 206 */
207 bool IsConnected(bool get_temporary_value = false) const; 207 bool IsConnected(bool get_temporary_value = false) const;
208 208
209 /// Returns true if vibration is enabled
210 bool IsVibrationEnabled() const;
211
212 /// Removes all callbacks created from input devices 209 /// Removes all callbacks created from input devices
213 void UnloadInput(); 210 void UnloadInput();
214 211
@@ -339,7 +336,7 @@ public:
339 * Sends a small vibration to the output device 336 * Sends a small vibration to the output device
340 * @return true if SetVibration was successfull 337 * @return true if SetVibration was successfull
341 */ 338 */
342 bool TestVibration(std::size_t device_index); 339 bool IsVibrationEnabled(std::size_t device_index);
343 340
344 /** 341 /**
345 * Sets the desired data to be polled from a controller 342 * Sets the desired data to be polled from a controller