Documentation ¶
Overview ¶
Package input defines keyboard and mouse code constants.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key int
Key represents a keyboard key.
const ( KeyNone Key = 0 KeyInsert Key = 1 KeyMenu Key = 2 KeyPrintScreen Key = 3 KeyPause Key = 4 KeyCapsLock Key = 5 KeyScrollLock Key = 6 KeyNumLock Key = 7 KeyBackspace Key = 8 KeyTab Key = 9 KeyEnter Key = 10 KeyEscape Key = 11 KeyUp Key = 12 KeyDown Key = 13 KeyLeft Key = 14 KeyRight Key = 15 KeyPageUp Key = 16 KeyPageDown Key = 17 KeyHome Key = 18 KeyEnd Key = 19 KeyLeftShift Key = 20 KeyRightShift Key = 21 KeyLeftControl Key = 22 KeyRightControl Key = 23 KeyLeftAlt Key = 24 KeyRightAlt Key = 25 KeyLeftMeta Key = 26 KeyRightMeta Key = 27 KeyLeftSuper Key = 28 KeyRightSuper Key = 29 KeyLeftHyper Key = 30 KeyRightHyper Key = 31 KeyDelete Key = 127 KeyDead Key = 128 KeyF1 Key = 129 KeyF2 Key = 130 KeyF3 Key = 131 KeyF4 Key = 132 KeyF5 Key = 133 KeyF6 Key = 134 KeyF7 Key = 135 KeyF8 Key = 136 KeyF9 Key = 137 KeyF10 Key = 138 KeyF11 Key = 139 KeyF12 Key = 140 KeyF13 Key = 141 KeyF14 Key = 142 KeyF15 Key = 143 KeyF16 Key = 144 KeyF17 Key = 145 KeyF18 Key = 146 KeyF19 Key = 147 KeyF20 Key = 148 KeyF21 Key = 149 KeyF22 Key = 150 KeyF23 Key = 151 KeyF24 Key = 152 )
Click to show internal directories.
Click to hide internal directories.