Type:Key

From Resonite Wiki
Revision as of 17:09, 7 March 2024 by PJB (talk | contribs) (Infobox)
Enum
Name: Key
Type: FrooxEngine.Key

The Key Enum is used to represent the many different keys a keyboard may have. Keys described here map to positions on a US keyboard layout. For example, the "A" key is always located to the right of Caps Lock, which a user of a French AZERTY keyboard would instead see as the "Q" key.

Note that many values are unused internally, and will therefore never be detected as "pressed".

Possible Values

Values
Name Value Description
None 0 Represe
Backspace 8 The ← backspace key.
Tab 9 The tab key.
Clear 12 This value appears to be unused internally.
Return 13 The return ↵ key, sometimes also called "enter".
Pause 19 The pause key.
Escape 27 The escape or "Esc" key.
Space 32 The space bar.
Exclaim 33 This value appears to be unused internally.
DoubleQuote 34 This value appears to be unused internally.
Hash 35 This value appears to be unused internally.
Dollar 36 This value appears to be unused internally.
Ampersand 38 This value appears to be unused internally.
Quote 39 This value appears to be unused internally.
LeftParenthesis 40 This value appears to be unused internally.
RightParenthesis 41 This value appears to be unused internally.
Asterisk 42 This value appears to be unused internally.
Plus 43 This value appears to be unused internally.
Comma 44 The comma or "," key.
Minus 45 The minus or "-" key.
Period 46 The period or "." key.
Slash 47 The forward slash or "/" key.
Alpha0 48 The "0" key on the number row.
Alpha1 49 The "1" key on the number row.
Alpha2 50 The "2" key on the number row.
Alpha3 51 The "3" key on the number row.
Alpha4 52 The "4" key on the number row.
Alpha5 53 The "5" key on the number row.
Alpha6 54 The "6" key on the number row.
Alpha7 55 The "7" key on the number row.
Alpha8 56 The "8" key on the number row.
Alpha9 57 The "9" key on the number row.
Colon 58 This value appears to be unused internally.
Semicolon 59 The semicolon or ";" key.
Less 60 This value appears to be unused internally.
Equals 61 The equals or "=" key.
Greater 62 This value appears to be unused internally.
Question 63 This value appears to be unused internally.
At 64 This value appears to be unused internally.
VerticalBar 65 This value appears to be unused internally.
LeftBracket 91 The left bracket or "[" key.
Backslash 92 The backslash or "\" key.
RightBracket 93 The left bracket or "]" key.
Caret 94 This value appears to be unused internally.
Underscore 95 This value appears to be unused internally.
BackQuote 96 The backquote, backtick, grave, or "`" key.
A 97 The "A" key.
B 98 The "B" key.
C 99 The "C" key.
D 100 The "D" key.
E 101 The "E" key.
F 102 The "F" key.
G 103 The "G" key.
H 104 The "H" key.
I 105 The "I" key.
J 106 The "J" key.
K 107 The "K" key.
L 108 The "L" key.
M 109 The "M" key.
N 110 The "N" key.
O 111 The "O" key.
P 112 The "P" key.
Q 113 The "Q" key.
R 114 The "R" key.
S 115 The "S" key.
T 116 The "T" key.
U 117 The "U" key.
V 118 The "V" key.
W 119 The "W" key.
X 120 The "X" key.
Y 121 The "Y" key.
Z 122 The "Z" key.
Percent 123 This value appears to be unused internally.
Tilde 124 This value appears to be unused internally.
LeftBrace 125 This value appears to be unused internally.
RightBrace 126 This value appears to be unused internally.
Delete 127 The delete or "del" key.
Keypad0 256 The "0" key on the number or keypad.
Keypad1 257 The "1" key on the number or keypad.
Keypad2 258 The "2" key on the number or keypad.
Keypad3 259 The "3" key on the number or keypad.
Keypad4 260 The "4" key on the number or keypad.
Keypad5 261 The "5" key on the number or keypad.
Keypad6 262 The "6" key on the number or keypad.
Keypad7 263 The "7" key on the number or keypad.
Keypad8 264 The "8" key on the number or keypad.
Keypad9 265 The "9" key on the number or keypad.
KeypadPeriod 266 The period or "." key on the number or keypad.
KeypadDivide 267 The division key or "/" on the number or keypad.
KeypadMultiply 268 The multiplication or "*" key on the number or keypad.
KeypadMinus 269 The minus or "-" key on the number or keypad.
KeypadPlus 270 The plus or "+" key on the number or keypad.
KeypadEnter 271 The "enter" key on the number or keypad.
KeypadEquals 272 The equals or "=" key on the number or keypad. Not all keyboards have this key, even if they have a number pad.
UpArrow 273 The up arrow key.
DownArrow 274 The down arrow key.
RightArrow 275 The right arrow key.
LeftArrow 276 The left arrow key.
Insert 277 The insert or "ins" key.
Home 278 The home key.
End 279 The end key.
PageUp 280 The Page Up or "PgUp" key.
PageDown 281 The Page Down or "PgDown" key.
F1 282 The F1 key.
F2 283 The F2 key.
F3 284 The F3 key.
F4 285 The F4 key.
F5 286 The F5 key.
F6 287 The F6 key.
F7 288 The F7 key.
F8 289 The F8 key.
F9 290 The F9 key.
F10 291 The F10 key.
F11 292 The F11 key.
F12 293 The F12 key.
F13 294 The F13 key.
F14 295 The F14 key.
F15 296 The F15 key.
Numlock 300 The Num Lock key.
CapsLock 301 The Caps Lock key.
ScrollLock 302 The Scroll Lock key.
RightShift 303 The right Shift key.
LeftShift 304 The left Shift key.
RightControl 305 The right control or "Ctrl" key.
LeftControl 306 The left control or "Ctrl" key.
RightAlt 307 The right Alt or ⌥ Option key.
LeftAlt 308 The left Alt or ⌥ Option key.
RightApple 309 This value appears to be unused internally.
RightCommand 309 This value appears to be unused internally.
LeftApple 310 This value appears to be unused internally.
LeftCommand 310 This value appears to be unused internally.
LeftWindows 311 The left Windows, "Meta" or ⌘ Command key.
RightWindows 312 The right Windows, "Meta" or ⌘ Command key.
AltGr 313 The same key as RightAlt.
Help 315 This value appears to be unused internally.
Print 316 The Print Screen key.
SysReq 317 This value appears to be unused internally.
Break 318 This value appears to be unused internally.
Menu 319 This value appears to be unused internally.
Shift 512 Either LeftShift or RightShift.
Control 513 Either LeftControl or RightControl.
Alt 514 Either LeftAlt or RightAlt.
Windows 515 Either LeftWindows or RightWindows.