Difference between revisions of "KeyConstant"

(Constants: Changed table to reduce page size in bytes)
m (Constants: Updated for 0.9.0)
Line 309: Line 309:
 
|kp.
 
|kp.
 
|The numpad decimal point key
 
|The numpad decimal point key
 +
|
 +
|-
 +
|kp,
 +
|The numpad comma key
 
|
 
|
 
|-
 
|-
Line 455: Line 459:
 
|f15
 
|f15
 
|The 15th function key
 
|The 15th function key
 +
|
 +
|-
 +
|f16
 +
|The 16th function key
 +
|
 +
|-
 +
|f17
 +
|The 17th function key
 +
|
 +
|-
 +
|f18
 +
|The 18th function key
 
|
 
|
 
|-
 
|-
Line 461: Line 477:
 
|numlock
 
|numlock
 
|Num-lock key
 
|Num-lock key
|
+
|Clear on Mac keyboards.
 
|-
 
|-
 
|capslock
 
|capslock
Line 467: Line 483:
 
|Caps-on is a key press. Caps-off is a key release.
 
|Caps-on is a key press. Caps-off is a key release.
 
|-
 
|-
|scrollock
+
|scrolllock
 
|Scroll-lock key
 
|Scroll-lock key
 
|
 
|
Line 495: Line 511:
 
|
 
|
 
|-
 
|-
|rmeta
+
|rgui
|Right meta key
+
|Right gui key
|
+
|Command key in OS X, Windows key in Windows.
|-
 
|lmeta
 
|Left meta key
 
|
 
 
|-
 
|-
|lsuper
+
|lgui
|Left super key
+
|Left gui key
|
+
|Command key in OS X, Windows key in Windows.
|-
 
|rsuper
 
|Right super key
 
|
 
 
|-
 
|-
 
|mode
 
|mode
 
|Mode key
 
|Mode key
|
 
|-
 
|compose
 
|Compose key
 
 
|
 
|
 
|-
 
|-
Line 533: Line 537:
 
|
 
|
 
|-
 
|-
|print
+
|printscreen
|Print key
+
|Printscreen key
 
|
 
|
 
|-
 
|-
 
|sysreq
 
|sysreq
 
|System request key
 
|System request key
|
 
|-
 
|break
 
|Break key
 
 
|
 
|
 
|-
 
|-
Line 548: Line 548:
 
|Menu key
 
|Menu key
 
|
 
|
 +
|-
 +
|application
 +
|Application key
 +
|Windows contextual menu, compose key.
 
|-
 
|-
 
|power
 
|power
Line 553: Line 557:
 
|
 
|
 
|-
 
|-
|euro
+
|currencyunit
|Euro (€) key
+
|Currency unit key
 +
|e.g. the Euro (€) key.
 
|
 
|
 
|-
 
|-

Revision as of 22:59, 29 October 2013

All the keys you can press. Note that some keys may not be available on your keyboard or system.

Constants

Key string Description Note(s)
Character keys
a The A key
b The B key
c The C key
d The D key
e The E key
f The F key
g The G key
h The H key
i The I key
j The J key
k The K key
l The L key
m The M key
n The N key
o The O key
p The P key
q The Q key
r The R key
s The S key
t The T key
u The U key
v The V key
w The W key
x The X key
y The Y key
z The Z key
0 The zero key
1 The one key
2 The two key
3 The three key
4 The four key
5 The five key
6 The six key
7 The seven key
8 The eight key
9 The nine key
(space) Space key Replace (space) with the actual space character
! Exclamation mark key
" Double quote key
# Hash key
$ Dollar key
& Ampersand key
' Single quote key
( Left parenthesis key
) Right parenthesis key
* Asterisk key
+ Plus key
, Comma key
- Hyphen-minus key
. Full stop key
/ Slash key
: Colon key
; Semicolon key
< Less-than key
= Equal key
> Greater-than key
? Question mark key
@ At sign key
[ Left square bracket key
\ Backslash key
] Right square bracket key
^ Caret key
_ Underscore key
` Grave accent key Also known as the "Back tick" key
Numpad keys
kp0 The numpad zero key
kp1 The numpad one key
kp2 The numpad two key
kp3 The numpad three key
kp4 The numpad four key
kp5 The numpad five key
kp6 The numpad six key
kp7 The numpad seven key
kp8 The numpad eight key
kp9 The numpad nine key
kp. The numpad decimal point key
kp, The numpad comma key
kp/ The numpad division key
kp* The numpad multiplication key
kp- The numpad substraction key
kp+ The numpad addition key
kpenter The numpad enter key
kp= The numpad equals key
Navigation keys
up Up cursor key
down Down cursor key
right Right cursor key
left Left cursor key
home Home key
end End key
pageup Page up key
pagedown Page down key
Editing keys
insert Insert key
backspace Backspace key
tab Tab key
clear Clear key
return Return key Also known as the Enter key
delete Delete key
Function keys
f1 The 1st function key
f2 The 2nd function key
f3 The 3rd function key
f4 The 4th function key
f5 The 5th function key
f6 The 6th function key
f7 The 7th function key
f8 The 8th function key
f9 The 9th function key
f10 The 10th function key
f11 The 11th function key
f12 The 12th function key
f13 The 13th function key
f14 The 14th function key
f15 The 15th function key
f16 The 16th function key
f17 The 17th function key
f18 The 18th function key
Modifier keys
numlock Num-lock key Clear on Mac keyboards.
capslock Caps-lock key Caps-on is a key press. Caps-off is a key release.
scrolllock Scroll-lock key
rshift Right shift key
lshift Left shift key
rctrl Right control key
lctrl Left control key
ralt Right alt key
lalt Left alt key
rgui Right gui key Command key in OS X, Windows key in Windows.
lgui Left gui key Command key in OS X, Windows key in Windows.
mode Mode key
Miscellaneous keys
pause Pause key
escape Escape key
help Help key
printscreen Printscreen key
sysreq System request key
menu Menu key
application Application key Windows contextual menu, compose key.
power Power key
currencyunit Currency unit key e.g. the Euro (€) key.
undo Undo key

See Also


Other Languages