File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ input-key-MouseButton6 = Mouse 6
6868input-key-MouseButton7 = Mouse 7
6969input-key-MouseButton8 = Mouse 8
7070input-key-MouseButton9 = Mouse 9
71+ input-key-CapsLock = Caps Lock
7172
7273input-key-LSystem-win = Left Win
7374input-key-RSystem-win = Right Win
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ input-key-MouseButton6 = Mouse 6
4343input-key-MouseButton7 = Mouse 7
4444input-key-MouseButton8 = Mouse 8
4545input-key-MouseButton9 = Mouse 9
46+ input-key-CapsLock = Caps Lock
4647
4748input-key-LSystem-win = Left Win
4849input-key-RSystem-win = Right Win
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ static GlfwWindowingImpl()
219219 { GlfwKey . F24 , Key . F24 } ,
220220 { GlfwKey . Pause , Key . Pause } ,
221221 { GlfwKey . World1 , Key . World1 } ,
222+ { GlfwKey . CapsLock , Key . CapsLock }
222223 } . ToFrozenDictionary ( ) ;
223224
224225 var keyMapReverse = new Dictionary < Key , GlfwKey > ( ) ;
Original file line number Diff line number Diff line change @@ -203,6 +203,7 @@ static Sdl3WindowingImpl()
203203 MapKey ( SC . SDL_SCANCODE_F23 , Key . F23 ) ;
204204 MapKey ( SC . SDL_SCANCODE_F24 , Key . F24 ) ;
205205 MapKey ( SC . SDL_SCANCODE_PAUSE , Key . Pause ) ;
206+ MapKey ( SC . SDL_SCANCODE_CAPSLOCK , Key . CapsLock ) ;
206207
207208 var keyMapReverse = new Dictionary < Key , SC > ( ) ;
208209
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ public enum Key : byte
173173 F24 ,
174174 Pause ,
175175 World1 ,
176+ CapsLock ,
176177 }
177178
178179 public static bool IsMouseKey ( this Key key )
You can’t perform that action at this time.
0 commit comments