This page describes all keys you can use for functions that accept a key argument.
Key | Description |
---|---|
"shift" | Shift |
"control" | Control |
"cmd" | Windows key |
"alt" | Alt |
Key | Description |
---|---|
"escape" | Escape |
"home" | Home |
"end" | End |
"pageup" | Page Up |
"pagedown" | Page Down |
"up" | Up arrow key |
"down" | Down arrow key |
"left" | Left arrow key |
"right" | Right arrow key |
"backspace" | Backspace |
"delete" | Delete |
"enter" | Enter |
"tab" | Tab |
"insert" | Insert |
"space" | Spacebar |
Key | Description |
---|---|
"f1" | F1 |
"f2" | F2 |
"f3" | F3 |
... | |
"f24" | F24 |
Key | Without Shift | With Shift |
---|---|---|
"`" | Backtick ` |
Tilda ~ |
"-" | Hyphen - |
Underscore _ |
"=" | Equals sign = |
Plus sign + |
"[" | Left square bracket [ |
Left curly brace { |
"]" | Right square bracket ] |
Right curly brace } |
"\" | Backslash \ |
Vertical bar | |
";" | Semicolon ; |
Colon : |
"'" | Apostrophe ' |
Quote symbol " |
"," | Comma , |
Less than symbol < |
"." | Period . |
Greater than symbol > |
"/" | Slash / |
Question mark ? |
Key | Without Shift | With Shift |
---|---|---|
"0" | 0 |
) |
"1" | 1 |
! |
"2" | 2 |
@ |
"3" | 3 |
# |
"4" | 4 |
$ |
"5" | 5 |
% |
"6" | 6 |
^ |
"7" | 7 |
& |
"8" | 8 |
* |
"9" | 9 |
( |
Key | Without Shift | With Shift |
---|---|---|
"a" | a |
A |
"b" | b |
B |
"c" | c |
C |
"..." |
|
|
"z" | z |
Z |
Key | Description |
---|---|
"volume-mute" | Toggle volume mute and unmute |
"volume-up" | Increas the volume |
"volume-down" | Decrease the volume |
"media-play-pause" | Play or pause media |
Key | Description |
---|---|
"browser-back" | Go back to previous page |
"browser-forward" | Go forward to next page |
"browser-refresh" | Refresh the page |
Key | Description |
---|---|
"print-screen" | PrtScn key |