diff --git a/Resources/Locale/en-US/input.ftl b/Resources/Locale/en-US/input.ftl index 61dbb550b..f67bd2c4a 100644 --- a/Resources/Locale/en-US/input.ftl +++ b/Resources/Locale/en-US/input.ftl @@ -2,6 +2,7 @@ input-key-Escape = Escape input-key-Control = Control input-key-Shift = Shift input-key-Alt = Alt +input-key-Alt-mac = ⌥ input-key-Menu = Menu input-key-F1 = F1 input-key-F2 = F2 @@ -70,8 +71,8 @@ input-key-MouseButton9 = Mouse 9 input-key-LSystem-win = Left Win input-key-RSystem-win = Right Win -input-key-LSystem-mac = Left Cmd -input-key-RSystem-mac = Right Cmd +input-key-LSystem-mac = Left ⌘ +input-key-RSystem-mac = Right ⌘ input-key-LSystem-linux = Left Meta input-key-RSystem-linux = Right Meta diff --git a/Robust.Client/Input/InputDevices.cs b/Robust.Client/Input/InputDevices.cs index 9a85d0709..b520121dd 100644 --- a/Robust.Client/Input/InputDevices.cs +++ b/Robust.Client/Input/InputDevices.cs @@ -197,6 +197,13 @@ namespace Robust.Client.Input locId += "-linux"; } +#if MACOS + if (key == Key.Alt) + { + locId += "-mac"; + } +#endif + if (loc.TryGetString(locId, out var name)) return name;