doc.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. // Copyright 2016 The go-vgo Project Developers. See the COPYRIGHT
  2. // file at the top-level directory of this distribution and at
  3. // https://github.com/go-vgo/robotgo/blob/master/LICENSE
  4. //
  5. // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
  6. // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
  7. // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
  8. // option. This file may not be copied, modified, or distributed
  9. // except according to those terms.
  10. package robotgo
  11. /*
  12. Keys are supported:
  13. "A-Z a-z 0-9"
  14. "backspace"
  15. "delete"
  16. "enter"
  17. "tab"
  18. "esc"
  19. "escape"
  20. "up" Up arrow key
  21. "down" Down arrow key
  22. "right" Right arrow key
  23. "left" Left arrow key
  24. "home"
  25. "end"
  26. "pageup"
  27. "pagedown"
  28. "f1"
  29. "f2"
  30. "f3"
  31. "f4"
  32. "f5"
  33. "f6"
  34. "f7"
  35. "f8"
  36. "f9"
  37. "f10"
  38. "f11"
  39. "f12"
  40. "f13"
  41. "f14"
  42. "f15"
  43. "f16"
  44. "f17"
  45. "f18"
  46. "f19"
  47. "f20"
  48. "f21"
  49. "f22"
  50. "f23"
  51. "f24"
  52. "cmd" this is the "win" key for windows
  53. "lcmd" left command
  54. "rcmd" right command
  55. // "command"
  56. "alt"
  57. "lalt" left alt
  58. "ralt" right alt
  59. "ctrl"
  60. "lctrl" left ctrl
  61. "rctrl" right ctrl
  62. "control"
  63. "shift"
  64. "lshift" left shift
  65. "rshift" right shift
  66. // "right_shift"
  67. "capslock"
  68. "space"
  69. "print"
  70. "printscreen" // No Mac support
  71. "insert"
  72. "menu" Windows only
  73. "audio_mute" Mute the volume
  74. "audio_vol_down" Lower the volume
  75. "audio_vol_up" Increase the volume
  76. "audio_play"
  77. "audio_stop"
  78. "audio_pause"
  79. "audio_prev" Previous Track
  80. "audio_next" Next Track
  81. "audio_rewind" Linux only
  82. "audio_forward" Linux only
  83. "audio_repeat" Linux only
  84. "audio_random" Linux only
  85. "num0"
  86. "num1"
  87. "num2"
  88. "num3"
  89. "num4"
  90. "num5"
  91. "num6"
  92. "num7"
  93. "num8"
  94. "num9"
  95. "num_lock"
  96. "num."
  97. "num+"
  98. "num-"
  99. "num*"
  100. "num/"
  101. "num_clear"
  102. "num_enter"
  103. "num_equal"
  104. "lights_mon_up" Turn up monitor brightness No Windows support
  105. "lights_mon_down" Turn down monitor brightness No Windows support
  106. "lights_kbd_toggle" Toggle keyboard backlight on/off No Windows support
  107. "lights_kbd_up" Turn up keyboard backlight brightness No Windows support
  108. "lights_kbd_down" Turn down keyboard backlight brightness No Windows support
  109. */