mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 03:07:56 -05:00
core/hid: Remove usage of native types, fix a couple of errors with motion
This commit is contained in:
@ -627,7 +627,8 @@ void ConfigureInputPlayer::UpdateInputDeviceCombobox() {
|
||||
return;
|
||||
}
|
||||
|
||||
const auto devices = emulated_controller->GetMappedDevices(Core::HID::DeviceIndex::AllDevices);
|
||||
const auto devices =
|
||||
emulated_controller->GetMappedDevices(Core::HID::EmulatedDeviceIndex::AllDevices);
|
||||
UpdateInputDevices();
|
||||
|
||||
if (devices.empty()) {
|
||||
@ -846,6 +847,7 @@ void ConfigureInputPlayer::SetConnectableControllers() {
|
||||
|
||||
if (!is_powered_on) {
|
||||
add_controllers(true);
|
||||
return;
|
||||
}
|
||||
|
||||
add_controllers(false, hid_core.GetSupportedStyleTag());
|
||||
|
Reference in New Issue
Block a user