enum Key

Defined in:

input.cr

Enum Members

UNKNOWN = -1
SPACE = 32
APOSTROPHE = 39
COMMA = 44
MINUS = 45
PERIOD = 46
SLASH = 47
NUM_0 = 48
NUM_1 = 49
NUM_2 = 50
NUM_3 = 51
NUM_4 = 52
NUM_5 = 53
NUM_6 = 54
NUM_7 = 55
NUM_8 = 56
NUM_9 = 57
SEMICOLON = 59
EQUAL = 61
A = 65
B = 66
C = 67
D = 68
E = 69
F = 70
G = 71
H = 72
I = 73
J = 74
K = 75
L = 76
M = 77
N = 78
O = 79
P = 80
Q = 81
R = 82
S = 83
T = 84
U = 85
V = 86
W = 87
X = 88
Y = 89
Z = 90
LEFT_BRACKET = 91
BACKSLASH = 92
RIGHT_BRACKET = 93
GRAVE_ACCENT = 96
WORLD_1 = 161
WORLD_2 = 162
ESCAPE = 256
ENTER = 257
TAB = 258
BACKSPACE = 259
INSERT = 260
DELETE = 261
RIGHT = 262
LEFT = 263
DOWN = 264
UP = 265
PAGE_UP = 266
PAGE_DOWN = 267
HOME = 268
END = 269
CAPS_LOCK = 280
SCROLL_LOCK = 281
NUM_LOCK = 282
PRINT_SCREEN = 283
PAUSE = 284
F1 = 290
F2 = 291
F3 = 292
F4 = 293
F5 = 294
F6 = 295
F7 = 296
F8 = 297
F9 = 298
F10 = 299
F11 = 300
F12 = 301
F13 = 302
F14 = 303
F15 = 304
F16 = 305
F17 = 306
F18 = 307
F19 = 308
F20 = 309
F21 = 310
F22 = 311
F23 = 312
F24 = 313
F25 = 314
KP_0 = 320
KP_1 = 321
KP_2 = 322
KP_3 = 323
KP_4 = 324
KP_5 = 325
KP_6 = 326
KP_7 = 327
KP_8 = 328
KP_9 = 329
KP_DECIMAL = 330
KP_DIVIDE = 331
KP_MULTIPLY = 332
KP_SUBTRACT = 333
KP_ADD = 334
KP_ENTER = 335
KP_EQUAL = 336
LEFT_SHIFT = 340
LEFT_CONTROL = 341
LEFT_ALT = 342
LEFT_SUPER = 343
RIGHT_SHIFT = 344
RIGHT_CONTROL = 345
RIGHT_ALT = 346
RIGHT_SUPER = 347
MENU = 348
LAST = 348

Instance Method Summary

Instance Method Detail

def a? #

[View source]
def alt? #

[View source]
def apostrophe? #

[View source]
def b? #

[View source]
def backslash? #

[View source]
def backspace? #

[View source]
def c? #

[View source]
def caps_lock? #

[View source]
def comma? #

[View source]
def control? #

[View source]
def d? #

[View source]
def delete? #

[View source]
def down? #

[View source]
def e? #

[View source]
def end? #

[View source]
def enter? #

[View source]
def equal? #

[View source]
def escape? #

[View source]
def f10? #

[View source]
def f11? #

[View source]
def f12? #

[View source]
def f13? #

[View source]
def f14? #

[View source]
def f15? #

[View source]
def f16? #

[View source]
def f17? #

[View source]
def f18? #

[View source]
def f19? #

[View source]
def f1? #

[View source]
def f20? #

[View source]
def f21? #

[View source]
def f22? #

[View source]
def f23? #

[View source]
def f24? #

[View source]
def f25? #

[View source]
def f2? #

[View source]
def f3? #

[View source]
def f4? #

[View source]
def f5? #

[View source]
def f6? #

[View source]
def f7? #

[View source]
def f8? #

[View source]
def f9? #

[View source]
def f? #

[View source]
def g? #

[View source]
def grave_accent? #

[View source]
def h? #

[View source]
def home? #

[View source]
def i? #

[View source]
def insert? #

[View source]
def j? #

[View source]
def k? #

[View source]
def kp_0? #

[View source]
def kp_1? #

[View source]
def kp_2? #

[View source]
def kp_3? #

[View source]
def kp_4? #

[View source]
def kp_5? #

[View source]
def kp_6? #

[View source]
def kp_7? #

[View source]
def kp_8? #

[View source]
def kp_9? #

[View source]
def kp_add? #

[View source]
def kp_decimal? #

[View source]
def kp_divide? #

[View source]
def kp_enter? #

[View source]
def kp_equal? #

[View source]
def kp_multiply? #

[View source]
def kp_subtract? #

[View source]
def l? #

[View source]
def last? #

[View source]
def left? #

[View source]
def left_alt? #

[View source]
def left_bracket? #

[View source]
def left_control? #

[View source]
def left_shift? #

[View source]
def left_super? #

[View source]
def m? #

[View source]
def menu? #

[View source]
def minus? #

[View source]
def n? #

[View source]
def num_0? #

[View source]
def num_1? #

[View source]
def num_2? #

[View source]
def num_3? #

[View source]
def num_4? #

[View source]
def num_5? #

[View source]
def num_6? #

[View source]
def num_7? #

[View source]
def num_8? #

[View source]
def num_9? #

[View source]
def num_lock? #

[View source]
def o? #

[View source]
def p? #

[View source]
def page_down? #

[View source]
def page_up? #

[View source]
def pause? #

[View source]
def period? #

[View source]
def print_screen? #

[View source]
def q? #

[View source]
def r? #

[View source]
def right? #

[View source]
def right_alt? #

[View source]
def right_bracket? #

[View source]
def right_control? #

[View source]
def right_shift? #

[View source]
def right_super? #

[View source]
def s? #

[View source]
def scroll_lock? #

[View source]
def semicolon? #

[View source]
def shift? #

[View source]
def slash? #

[View source]
def space? #

[View source]
def super? #

[View source]
def t? #

[View source]
def tab? #

[View source]
def u? #

[View source]
def unknown? #

[View source]
def up? #

[View source]
def v? #

[View source]
def w? #

[View source]
def world_1? #

[View source]
def world_2? #

[View source]
def x? #

[View source]
def y? #

[View source]
def z? #

[View source]