summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index fa2e89c0b..2c5d51bc8 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -81,7 +81,7 @@ struct ControllerMotion {
81 bool is_at_rest{}; 81 bool is_at_rest{};
82}; 82};
83 83
84enum DeviceIndex : u8 { 84enum EmulatedDeviceIndex : u8 {
85 LeftIndex, 85 LeftIndex,
86 RightIndex, 86 RightIndex,
87 DualIndex, 87 DualIndex,
@@ -202,7 +202,7 @@ public:
202 void RestoreConfig(); 202 void RestoreConfig();
203 203
204 /// Returns a vector of mapped devices from the mapped button and stick parameters 204 /// Returns a vector of mapped devices from the mapped button and stick parameters
205 std::vector<Common::ParamPackage> GetMappedDevices(DeviceIndex device_index) const; 205 std::vector<Common::ParamPackage> GetMappedDevices(EmulatedDeviceIndex device_index) const;
206 206
207 // Returns the current mapped button device 207 // Returns the current mapped button device
208 Common::ParamPackage GetButtonParam(std::size_t index) const; 208 Common::ParamPackage GetButtonParam(std::size_t index) const;