mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-10 12:49:13 +00:00
We’re done at last
This commit is contained in:
parent
a5ef6580c4
commit
1231e1e87d
2 changed files with 52 additions and 2 deletions
|
@ -340,6 +340,31 @@
|
||||||
"KeySlash": "/",
|
"KeySlash": "/",
|
||||||
"KeyBackSlash": "\\",
|
"KeyBackSlash": "\\",
|
||||||
"KeyUnbound": "Unbound",
|
"KeyUnbound": "Unbound",
|
||||||
|
"GamepadLeftStick": "Left Stick Button",
|
||||||
|
"GamepadRightStick": "Right Stick Button",
|
||||||
|
"GamepadLeftShoulder": "Left Shoulder",
|
||||||
|
"GamepadRightShoulder": "Right Shoulder",
|
||||||
|
"GamepadLeftTrigger": "Left Trigger",
|
||||||
|
"GamepadRightTrigger": "Right Trigger",
|
||||||
|
"GamepadDpadUp": "D-Pad Up",
|
||||||
|
"GamepadDpadDown": "D-Pad Down",
|
||||||
|
"GamepadDpadLeft": "D-Pad Left",
|
||||||
|
"GamepadDpadRight": "D-Pad Right",
|
||||||
|
"GamepadMinus": "Gamepad Minus",
|
||||||
|
"GamepadPlus": "Gamepad Plus",
|
||||||
|
"GamepadGuide": "Guide",
|
||||||
|
"GamepadMisc1": "Misc",
|
||||||
|
"GamepadPaddle1": "Paddle 1",
|
||||||
|
"GamepadPaddle2": "Paddle 2",
|
||||||
|
"GamepadPaddle3": "Paddle 3",
|
||||||
|
"GamepadPaddle4": "Paddle 4",
|
||||||
|
"GamepadTouchpad": "Touchpad",
|
||||||
|
"GamepadSingleLeftTrigger0": "Left Trigger 0",
|
||||||
|
"GamepadSingleRightTrigger0": "Right Trigger 0",
|
||||||
|
"GamepadSingleLeftTrigger1": "Left Trigger 1",
|
||||||
|
"GamepadSingleRightTrigger1": "Right Trigger 1",
|
||||||
|
"StickLeft": "Left Stick",
|
||||||
|
"StickRight": "Right Stick",
|
||||||
"UserProfilesSelectedUserProfile": "Selected User Profile:",
|
"UserProfilesSelectedUserProfile": "Selected User Profile:",
|
||||||
"UserProfilesSaveProfileName": "Save Profile Name",
|
"UserProfilesSaveProfileName": "Save Profile Name",
|
||||||
"UserProfilesChangeProfileImage": "Change Profile Image",
|
"UserProfilesChangeProfileImage": "Change Profile Image",
|
||||||
|
|
|
@ -88,12 +88,37 @@ namespace Ryujinx.Ava.UI.Helpers
|
||||||
|
|
||||||
private static readonly Dictionary<GamepadInputId, LocaleKeys> GamepadInputIdMap = new()
|
private static readonly Dictionary<GamepadInputId, LocaleKeys> GamepadInputIdMap = new()
|
||||||
{
|
{
|
||||||
|
{ GamepadInputId.LeftStick, LocaleKeys.GamepadLeftStick },
|
||||||
|
{ GamepadInputId.RightStick, LocaleKeys.GamepadRightStick },
|
||||||
|
{ GamepadInputId.LeftShoulder, LocaleKeys.GamepadLeftShoulder },
|
||||||
|
{ GamepadInputId.RightShoulder, LocaleKeys.GamepadRightShoulder },
|
||||||
|
{ GamepadInputId.LeftTrigger, LocaleKeys.GamepadLeftTrigger },
|
||||||
|
{ GamepadInputId.RightTrigger, LocaleKeys.GamepadRightTrigger },
|
||||||
|
{ GamepadInputId.DpadUp, LocaleKeys.GamepadDpadUp},
|
||||||
|
{ GamepadInputId.DpadDown, LocaleKeys.GamepadDpadDown},
|
||||||
|
{ GamepadInputId.DpadLeft, LocaleKeys.GamepadDpadLeft},
|
||||||
|
{ GamepadInputId.DpadRight, LocaleKeys.GamepadDpadRight},
|
||||||
|
{ GamepadInputId.Minus, LocaleKeys.GamepadMinus},
|
||||||
|
{ GamepadInputId.Plus, LocaleKeys.GamepadPlus},
|
||||||
|
{ GamepadInputId.Guide, LocaleKeys.GamepadGuide},
|
||||||
|
{ GamepadInputId.Misc1, LocaleKeys.GamepadMisc1},
|
||||||
|
{ GamepadInputId.Paddle1, LocaleKeys.GamepadPaddle1},
|
||||||
|
{ GamepadInputId.Paddle2, LocaleKeys.GamepadPaddle2},
|
||||||
|
{ GamepadInputId.Paddle3, LocaleKeys.GamepadPaddle3},
|
||||||
|
{ GamepadInputId.Paddle4, LocaleKeys.GamepadPaddle4},
|
||||||
|
{ GamepadInputId.Touchpad, LocaleKeys.GamepadTouchpad},
|
||||||
|
{ GamepadInputId.SingleLeftTrigger0, LocaleKeys.GamepadSingleLeftTrigger0},
|
||||||
|
{ GamepadInputId.SingleRightTrigger0, LocaleKeys.GamepadSingleRightTrigger0},
|
||||||
|
{ GamepadInputId.SingleLeftTrigger1, LocaleKeys.GamepadSingleLeftTrigger1},
|
||||||
|
{ GamepadInputId.SingleRightTrigger1, LocaleKeys.GamepadSingleRightTrigger1},
|
||||||
|
{ GamepadInputId.Unbound, LocaleKeys.KeyUnbound},
|
||||||
};
|
};
|
||||||
|
|
||||||
private static readonly Dictionary<StickInputId, LocaleKeys> StickInputIdMap = new()
|
private static readonly Dictionary<StickInputId, LocaleKeys> StickInputIdMap = new()
|
||||||
{
|
{
|
||||||
|
{ StickInputId.Left, LocaleKeys.StickLeft},
|
||||||
|
{ StickInputId.Right, LocaleKeys.StickRight},
|
||||||
|
{ StickInputId.Unbound, LocaleKeys.KeyUnbound},
|
||||||
};
|
};
|
||||||
|
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
|
|
Loading…
Reference in a new issue