diff --git a/src/Ryujinx/UI/Helpers/Converters/KeyValueConverter.cs b/src/Ryujinx/UI/Helpers/Converters/KeyValueConverter.cs index f6e042a6a..079acf687 100644 --- a/src/Ryujinx/UI/Helpers/Converters/KeyValueConverter.cs +++ b/src/Ryujinx/UI/Helpers/Converters/KeyValueConverter.cs @@ -6,6 +6,7 @@ using System; using System.Collections.Generic; using System.Globalization; using Key = Ryujinx.Input.Key; +using HidKey = Ryujinx.Common.Configuration.Hid.Key; namespace Ryujinx.Ava.UI.Helpers { @@ -55,6 +56,9 @@ namespace Ryujinx.Ava.UI.Helpers Key key => KeyboardLayoutLocaleHelper.TryGetSemanticLabel(key, out string localizedKeyLabel) ? localizedKeyLabel : key.ToString(), + HidKey key => KeyboardLayoutLocaleHelper.TryGetSemanticLabel((Key)(int)key, out string localizedHidKeyLabel) + ? localizedHidKeyLabel + : key.ToString(), PhysicalKey physicalKey => PhysicalKeyLabelHelper.GetDisplayString(physicalKey), GamepadInputId gamepadInputId => GetLocalizedMappedValue(gamepadInputId, _gamepadInputIdMap), StickInputId stickInputId => GetLocalizedMappedValue(stickInputId, _stickInputIdMap),