mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 00:17:57 -05:00
core/hid: Remove usage of native types, fix a couple of errors with motion
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user