diff --git a/Resources/Locale/en-US/input.ftl b/Resources/Locale/en-US/input.ftl index de7d1f8329..4b8e1f72bf 100644 --- a/Resources/Locale/en-US/input.ftl +++ b/Resources/Locale/en-US/input.ftl @@ -69,6 +69,7 @@ input-key-MouseButton7 = Mouse 7 input-key-MouseButton8 = Mouse 8 input-key-MouseButton9 = Mouse 9 input-key-CapsLock = Caps Lock +input-key-ScrollLock = Scroll Lock input-key-LSystem-win = Left Win input-key-RSystem-win = Right Win diff --git a/Resources/Locale/pt-BR/input.ftl b/Resources/Locale/pt-BR/input.ftl index 90c5ea153a..d387a67d33 100644 --- a/Resources/Locale/pt-BR/input.ftl +++ b/Resources/Locale/pt-BR/input.ftl @@ -44,6 +44,7 @@ input-key-MouseButton7 = Mouse 7 input-key-MouseButton8 = Mouse 8 input-key-MouseButton9 = Mouse 9 input-key-CapsLock = Caps Lock +input-key-ScrollLock = Scroll Lock input-key-LSystem-win = Left Win input-key-RSystem-win = Right Win diff --git a/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Key.cs b/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Key.cs index 18e9f79dd2..c5b75daa2f 100644 --- a/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Key.cs +++ b/Robust.Client/Graphics/Clyde/Windowing/Sdl3.Key.cs @@ -204,6 +204,7 @@ internal partial class Clyde MapKey(SC.SDL_SCANCODE_F24, Key.F24); MapKey(SC.SDL_SCANCODE_PAUSE, Key.Pause); MapKey(SC.SDL_SCANCODE_CAPSLOCK, Key.CapsLock); + MapKey(SC.SDL_SCANCODE_SCROLLLOCK, Key.ScrollLock); var keyMapReverse = new Dictionary(); diff --git a/Robust.Client/Input/InputDevices.cs b/Robust.Client/Input/InputDevices.cs index abed7da740..fb41f35dd2 100644 --- a/Robust.Client/Input/InputDevices.cs +++ b/Robust.Client/Input/InputDevices.cs @@ -174,6 +174,7 @@ namespace Robust.Client.Input Pause, World1, CapsLock, + ScrollLock } public static bool IsMouseKey(this Key key)