Key Names#

Here is the list of all of the available key names. These names are used by rubato to identify pressed keys and are passed to the key parameter for key events. Note that names are case-sensitive.

Mouse Buttons#

1"mouse 1"  # left mouse button
2"mouse 2"  # middle mouse button
3"mouse 3"  # right mouse button
4"mouse 4"  # x1 mouse button
5"mouse 5"  # x2 mouse button

Common#

 1"up"  # the up arrow key
 2"down" # the down arrow key
 3"left"  # the left arrow key
 4"right"  # the right arrow key
 5
 6"backspace"
 7"delete"
 8"escape"
 9"return"
10"space"
11"tab"

Modifier Keys#

 1"shift" # any shift is down
 2"left shift"
 3"right shift"
 4
 5"alt" # any alt is down
 6"left alt"
 7"right alt"
 8
 9"ctrl" # any ctrl is down
10"left ctrl"
11"right ctrl"
12
13"gui" # any gui is down
14"left gui" # windows, command apple, meta
15"right gui" # windows, command apple, meta
16
17"numlock"
18"caps lock"
19
20"altgr"

Numbers#

 1"0"
 2"1"
 3"2"
 4"3"
 5"4"
 6"5"
 7"6"
 8"7"
 9"8"
10"9"

Letters#

 1# Test case sensitive
 2"a"
 3"b"
 4"c"
 5"d"
 6"e"
 7"f"
 8"g"
 9"h"
10"i"
11"j"
12"k"
13"l"
14"m"
15"n"
16"o"
17"p"
18"q"
19"r"
20"s"
21"t"
22"u"
23"v"
24"w"
25"x"
26"y"
27"z"

Function Keys#

 1"f1"
 2"f2"
 3"f3"
 4"f4"
 5"f5"
 6"f6"
 7"f7"
 8"f8"
 9"f9"
10"f10"
11"f11"
12"f12"
13"f13"
14"f14"
15"f15"
16"f16"
17"f17"
18"f18"
19"f19"
20"f20"
21"f21"
22"f22"
23"f23"
24"f24"

Special Characters#

 1"'"
 2"\"
 3","
 4"="
 5"`"
 6"["
 7"-"
 8"."
 9"]"
10";"
11"/"

Numerical Keypad#

 1"keypad -"
 2"keypad ,"
 3"keypad :"
 4"keypad !"
 5"keypad ."
 6"keypad ("
 7"keypad )"
 8"keypad {"
 9"keypad }"
10"keypad @"
11"keypad *"
12"keypad /"
13"keypad &"
14"keypad &&"
15"keypad #"
16"keypad %"
17"keypad ^"
18"keypad +"
19"keypad +/-"
20"keypad <"
21"keypad = (as400)"
22"keypad ="
23"keypad >"
24"keypad |"
25"keypad 0"
26"keypad 00"
27"keypad 000"
28"keypad 1"
29"keypad 2"
30"keypad 3"
31"keypad 4"
32"keypad 5"
33"keypad 6"
34"keypad 7"
35"keypad 8"
36"keypad 9"
37"keypad a"
38"keypad b"
39"keypad c"
40"keypad d"
41"keypad e"
42"keypad f"
43"keypad backspace"
44"keypad binary"
45"keypad clear"
46"keypad clearentry"
47"keypad decimal"
48"keypad enter"
49"keypad hexadecimal"
50"keypad memadd"
51"keypad memclear"
52"keypad memdivide"
53"keypad memmultiply"
54"keypad memrecall"
55"keypad memstore"
56"keypad memsubtract"
57"keypad octal"
58"keypad space"
59"keypad tab"
60"keypad xor"

Application Control Keypad#

1"ac back"
2"ac bookmarks"
3"ac forward"
4"ac home"
5"ac refresh"
6"ac search"
7"ac stop"

Uncommon#

 1"audiomute"
 2"audionext"
 3"audioplay"
 4"audioprev"
 5"audiostop"
 6
 7"volumedown"
 8"volumeup"
 9
10"brightnessdown"
11"brightnessup"
12
13"capslock"
14"displayswitch"
15"eject"
16"end"
17"insert"
18
19"kbdillumdown"  # the keyboard illumination down key
20"kbdillumtoggle"  # the keyboard illumination toggle key
21"kbdillumup"  # the keyboard illumination up key
22
23"scrolllock"
24
25"pagedown"
26"pageup"
27
28"pause"  # the pause / break key
29"printscreen"
30
31"again"
32"alterase" # erase-eaze
33"application"  # the application / compose / context menu windows key
34"calculator"
35"cancel"
36"clear / again"
37"clear"
38"computer"
39"copy"
40"crsel"
41"currencysubunit"
42"currencyunit"
43"cut"
44"decimalseparator"
45"execute"
46"exsel"
47"find"
48"help"
49"home"
50"mail"
51"mediaselect"
52"menu"
53"modeswitch"
54"mute"
55"oper"
56"out"
57"paste"
58"prior"
59"select"
60"separator"
61"sleep"
62"stop"
63"sysreq"
64"thousandsseparator"
65"undo"
66"www"