Add scroll lock key (#6617)

* add scroll lock

* localization
This commit is contained in:
Samuka
2026-06-04 11:50:18 -03:00
committed by GitHub
parent bd6b7068f3
commit 94c20cae28
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -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
+1
View File
@@ -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
@@ -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<Key, SC>();
+1
View File
@@ -174,6 +174,7 @@ namespace Robust.Client.Input
Pause,
World1,
CapsLock,
ScrollLock
}
public static bool IsMouseKey(this Key key)