minor bugs fixed

This commit is contained in:
Vova 2025-01-08 23:05:58 +10:00
parent c20452be61
commit 1c6390cbfb
2 changed files with 4 additions and 5 deletions

View File

@ -229,7 +229,6 @@ namespace Ryujinx.Input.HLE
controller.UpdateUserConfiguration(inputConfig); controller.UpdateUserConfiguration(inputConfig);
specialExit = controller.Update(); //hotkey press check specialExit = controller.Update(); //hotkey press check
controller.UpdateRumble(_device.Hid.Npads.GetRumbleQueue(playerIndex)); controller.UpdateRumble(_device.Hid.Npads.GetRumbleQueue(playerIndex));
inputState = controller.GetHLEInputState(); inputState = controller.GetHLEInputState();

View File

@ -516,10 +516,10 @@ namespace Ryujinx.Ava.UI.ViewModels
EnableMouse = config.Hid.EnableMouse; EnableMouse = config.Hid.EnableMouse;
EnableSpecialExit = config.Hid.specialExitEmulator.Value switch EnableSpecialExit = config.Hid.specialExitEmulator.Value switch
{ {
0=> 0, // "Hotkey 'Exit' is Disabled" 0=> 0, // "Hotkey 'Exit' is Disabled"
1=> 1, // "Close app. by hotkey" 1=> 1, // "Close app. by hotkey"
2=> 2, // "Close game by hotkey" 2=> 2, // "Close game by hotkey"
_ => 0 // "Hotkey 'Exit' is Disabled" _=> 0 // "Hotkey 'Exit' is Disabled"
}; };
// Keyboard Hotkeys // Keyboard Hotkeys