File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,17 @@ pub enum Key {
2525 PageUp ,
2626 PageDown ,
2727
28- CapsLock ,
29- NumLock ,
30- ScrollLock ,
31-
3228 Alt ,
3329 AltRight ,
3430 Control ,
3531 ControlRight ,
3632 Shift ,
3733 ShiftRight ,
3834
35+ CapsLock ,
36+ NumLock ,
37+ ScrollLock ,
38+
3939 Copy ,
4040 Cut ,
4141 Paste ,
@@ -66,7 +66,7 @@ pub enum Key {
6666 // `]`
6767 CloseBracket ,
6868
69- /// \`, also known as "backquote" or "grave"
69+ /// Also known as "backquote" or "grave"
7070 Backtick ,
7171
7272 /// `-`
@@ -212,15 +212,18 @@ impl Key {
212212 Self :: End ,
213213 Self :: PageUp ,
214214 Self :: PageDown ,
215- Self :: CapsLock ,
216- Self :: NumLock ,
217- Self :: ScrollLock ,
215+ // Alt Ctrl Shift
218216 Self :: Alt ,
219217 Self :: AltRight ,
220218 Self :: Control ,
221219 Self :: ControlRight ,
222220 Self :: Shift ,
223221 Self :: ShiftRight ,
222+ // Lock
223+ Self :: CapsLock ,
224+ Self :: NumLock ,
225+ Self :: ScrollLock ,
226+ // Copy Cut Paste
224227 Self :: Copy ,
225228 Self :: Cut ,
226229 Self :: Paste ,
You can’t perform that action at this time.
0 commit comments