aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-08 20:28:09 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:28 -0600
commit71f9b90dd90c442425900ee16af8b4e39ac54aed (patch)
treeffd9c7d6fdd3ab7d9e2ef0f439968906b36c8d53 /src/core/hid/emulated_controller.h
parenta17550be9855a32a62a1358b23babab929a39cbb (diff)
core/hid: Remove usage of native types, fix a couple of errors with motion
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 {
bool is_at_rest{};
};
-enum DeviceIndex : u8 {
+enum EmulatedDeviceIndex : u8 {
LeftIndex,
RightIndex,
DualIndex,
@@ -202,7 +202,7 @@ public:
void RestoreConfig();
/// Returns a vector of mapped devices from the mapped button and stick parameters
- std::vector<Common::ParamPackage> GetMappedDevices(DeviceIndex device_index) const;
+ std::vector<Common::ParamPackage> GetMappedDevices(EmulatedDeviceIndex device_index) const;
// Returns the current mapped button device
Common::ParamPackage GetButtonParam(std::size_t index) const;