KeyConstants.md 1.6 KB

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


a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, space, !, ", #, $, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \, ], ^, _, `

Numpad Keys:


kp0, kp1, kp2, kp3, kp4, kp5, kp6, kp7, kp8, kp9, kp., kp,, kp/, kp*, kp-, kp+, kpenter, kp=

Navigation Keys:


up, down, right, left, home, end, pageup, pagedown

Editing Keys:


insert, backspace, tab, clear, return, end

Function Keys:


f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14, f15, f16, f17, f18

Modifier Keys:


numlock (Clear on Mac keyboards), capslock (Caps-on is a key press, Caps-off is a key release), scrolllock, rshift, lshift, rctrl, lctrl, ralt, rgui (Command key in OS X, Windows key in Window), lgui (Command key in OS X, Windows key in Window), mode

Application Keys:


www, mail, calculator, computer, appsearch, apphome, appback, appforward, apprefresh, appbookmarks

Miscellaneous Keys:


  • pause (Sends a key release immediately on some platforms, even if held down),
  • printscreen (Sends a key release immediately on Windows, even if held down),
  • menu (Windows contextual menu, compose key),

sysreq, escape, help, application, power, currencyunit, undo