mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 07:35:45 +00:00
core/hid: Remove usage of native types, fix a couple of errors with motion
This commit is contained in:
parent
ac0154259a
commit
99485a06a7
11 changed files with 631 additions and 427 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue