mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
add key "capslock" support and update code style
This commit is contained in:
parent
14a50deec6
commit
6f9b1354dc
@ -43,6 +43,7 @@
|
||||
"ctrl"
|
||||
"control"
|
||||
"shift"
|
||||
"capslock"
|
||||
"right_shift"
|
||||
"space"
|
||||
"printscreen" No Mac support
|
||||
|
@ -34,6 +34,7 @@ struct KeyNames{
|
||||
{ "end", K_END },
|
||||
{ "pageup", K_PAGEUP },
|
||||
{ "pagedown", K_PAGEDOWN },
|
||||
//
|
||||
{ "f1", K_F1 },
|
||||
{ "f2", K_F2 },
|
||||
{ "f3", K_F3 },
|
||||
@ -58,11 +59,13 @@ struct KeyNames{
|
||||
{ "f22", K_F22 },
|
||||
{ "f23", K_F23 },
|
||||
{ "f24", K_F24 },
|
||||
//
|
||||
{ "command", K_META },
|
||||
{ "alt", K_ALT },
|
||||
{ "ctrl", K_CONTROL },
|
||||
{ "ctrl", K_CONTROL },
|
||||
{ "control", K_CONTROL },
|
||||
{ "shift", K_SHIFT },
|
||||
{ "capslock", K_CAPSLOCK },
|
||||
{ "right_shift", K_RIGHTSHIFT },
|
||||
{ "space", K_SPACE },
|
||||
{ "printscreen", K_PRINTSCREEN },
|
||||
|
Loading…
Reference in New Issue
Block a user