enum Glint::Input::Keyboard::Key
Defined in:
glint/input/key.crEnum Members
-
Null =
0
-
The Null key.
Null = Raylib::KeyboardKey::Null
-
Apostrophe =
39
-
The Apostrophe key.
Apostrophe = Raylib::KeyboardKey::Apostrophe
-
Comma =
44
-
The Comma key.
Comma = Raylib::KeyboardKey::Comma
-
Minus =
45
-
The Minus key.
Minus = Raylib::KeyboardKey::Minus
-
Period =
46
-
The Period key.
Period = Raylib::KeyboardKey::Period
-
Slash =
47
-
The Slash key.
Slash = Raylib::KeyboardKey::Slash
-
Zero =
48
-
The Zero key.
Zero = Raylib::KeyboardKey::Zero
-
One =
49
-
The One key.
One = Raylib::KeyboardKey::One
-
Two =
50
-
The Two key.
Two = Raylib::KeyboardKey::Two
-
Three =
51
-
The Three key.
Three = Raylib::KeyboardKey::Three
-
Four =
52
-
The Four key.
Four = Raylib::KeyboardKey::Four
-
Five =
53
-
The Five key.
Five = Raylib::KeyboardKey::Five
-
Six =
54
-
The Six key.
Six = Raylib::KeyboardKey::Six
-
Seven =
55
-
The Seven key.
Seven = Raylib::KeyboardKey::Seven
-
Eight =
56
-
The Eight key.
Eight = Raylib::KeyboardKey::Eight
-
Nine =
57
-
The Nine key.
Nine = Raylib::KeyboardKey::Nine
-
Semicolon =
59
-
The Semicolon key.
Semicolon = Raylib::KeyboardKey::Semicolon
-
Equal =
61
-
The Equal key.
Equal = Raylib::KeyboardKey::Equal
-
A =
65
-
The A key.
A = Raylib::KeyboardKey::A
-
B =
66
-
The B key.
B = Raylib::KeyboardKey::B
-
C =
67
-
The C key.
C = Raylib::KeyboardKey::C
-
D =
68
-
The D key.
D = Raylib::KeyboardKey::D
-
E =
69
-
The E key.
E = Raylib::KeyboardKey::E
-
F =
70
-
The F key.
F = Raylib::KeyboardKey::F
-
G =
71
-
The G key.
G = Raylib::KeyboardKey::G
-
H =
72
-
The H key.
H = Raylib::KeyboardKey::H
-
I =
73
-
The I key.
I = Raylib::KeyboardKey::I
-
J =
74
-
The J key.
J = Raylib::KeyboardKey::J
-
K =
75
-
The K key.
K = Raylib::KeyboardKey::K
-
L =
76
-
The L key.
L = Raylib::KeyboardKey::L
-
M =
77
-
The M key.
M = Raylib::KeyboardKey::M
-
N =
78
-
The N key.
N = Raylib::KeyboardKey::N
-
O =
79
-
The O key.
O = Raylib::KeyboardKey::O
-
P =
80
-
The P key.
P = Raylib::KeyboardKey::P
-
Q =
81
-
The Q key.
Q = Raylib::KeyboardKey::Q
-
R =
82
-
The R key.
R = Raylib::KeyboardKey::R
-
S =
83
-
The S key.
S = Raylib::KeyboardKey::S
-
T =
84
-
The T key.
T = Raylib::KeyboardKey::T
-
U =
85
-
The U key.
U = Raylib::KeyboardKey::U
-
V =
86
-
The V key.
V = Raylib::KeyboardKey::V
-
W =
87
-
The W key.
W = Raylib::KeyboardKey::W
-
X =
88
-
The X key.
X = Raylib::KeyboardKey::X
-
Y =
89
-
The Y key.
Y = Raylib::KeyboardKey::Y
-
Z =
90
-
The Z key.
Z = Raylib::KeyboardKey::Z
-
LeftBracket =
91
-
The LeftBracket key.
LeftBracket = Raylib::KeyboardKey::LeftBracket
-
Backslash =
92
-
The Backslash key.
Backslash = Raylib::KeyboardKey::Backslash
-
RightBracket =
93
-
The RightBracket key.
RightBracket = Raylib::KeyboardKey::RightBracket
-
Grave =
96
-
The Grave key.
Grave = Raylib::KeyboardKey::Grave
-
Space =
32
-
The Space key.
Space = Raylib::KeyboardKey::Space
-
Enter =
257
-
The Enter key.
Enter = Raylib::KeyboardKey::Enter
-
Tab =
258
-
The Tab key.
Tab = Raylib::KeyboardKey::Tab
-
Backspace =
259
-
The Backspace key.
Backspace = Raylib::KeyboardKey::Backspace
-
Insert =
260
-
The Insert key.
Insert = Raylib::KeyboardKey::Insert
-
Delete =
261
-
The Delete key.
Delete = Raylib::KeyboardKey::Delete
-
Right =
262
-
The Right key.
Right = Raylib::KeyboardKey::Right
-
Left =
263
-
The Left key.
Left = Raylib::KeyboardKey::Left
-
Down =
264
-
The Down key.
Down = Raylib::KeyboardKey::Down
-
Up =
265
-
The Up key.
Up = Raylib::KeyboardKey::Up
-
PageUp =
266
-
The PageUp key.
PageUp = Raylib::KeyboardKey::PageUp
-
PageDown =
267
-
The PageDown key.
PageDown = Raylib::KeyboardKey::PageDown
-
Home =
268
-
The Home key.
Home = Raylib::KeyboardKey::Home
-
End =
269
-
The End key.
End = Raylib::KeyboardKey::End
-
CapsLock =
280
-
The CapsLock key.
CapsLock = Raylib::KeyboardKey::CapsLock
-
ScrollLock =
281
-
The ScrollLock key.
ScrollLock = Raylib::KeyboardKey::ScrollLock
-
NumLock =
282
-
The NumLock key.
NumLock = Raylib::KeyboardKey::NumLock
-
PrintScreen =
283
-
The PrintScreen key.
PrintScreen = Raylib::KeyboardKey::PrintScreen
-
Pause =
284
-
The Pause key.
Pause = Raylib::KeyboardKey::Pause
-
F1 =
290
-
The F1 key.
F1 = Raylib::KeyboardKey::F1
-
F2 =
291
-
The F2 key.
F2 = Raylib::KeyboardKey::F2
-
F3 =
292
-
The F3 key.
F3 = Raylib::KeyboardKey::F3
-
F4 =
293
-
The F4 key.
F4 = Raylib::KeyboardKey::F4
-
F5 =
294
-
The F5 key.
F5 = Raylib::KeyboardKey::F5
-
F6 =
295
-
The F6 key.
F6 = Raylib::KeyboardKey::F6
-
F7 =
296
-
The F7 key.
F7 = Raylib::KeyboardKey::F7
-
F8 =
297
-
The F8 key.
F8 = Raylib::KeyboardKey::F8
-
F9 =
298
-
The F9 key.
F9 = Raylib::KeyboardKey::F9
-
F10 =
299
-
The F10 key.
F10 = Raylib::KeyboardKey::F10
-
F11 =
300
-
The F11 key.
F11 = Raylib::KeyboardKey::F11
-
F12 =
301
-
The F12 key.
F12 = Raylib::KeyboardKey::F12
-
LeftShift =
340
-
The LeftShift key.
LeftShift = Raylib::KeyboardKey::LeftShift
-
LeftControl =
341
-
The LeftControl key.
LeftControl = Raylib::KeyboardKey::LeftControl
-
LeftAlt =
342
-
The LeftAlt key.
LeftAlt = Raylib::KeyboardKey::LeftAlt
-
LeftSuper =
343
-
The LeftSuper key.
LeftSuper = Raylib::KeyboardKey::LeftSuper
-
RightShift =
344
-
The RightShift key.
RightShift = Raylib::KeyboardKey::RightShift
-
RightControl =
345
-
The RightControl key.
RightControl = Raylib::KeyboardKey::RightControl
-
RightAlt =
346
-
The RightAlt key.
RightAlt = Raylib::KeyboardKey::RightAlt
-
RightSuper =
347
-
The RightSuper key.
RightSuper = Raylib::KeyboardKey::RightSuper
-
KbMenu =
348
-
The KbMenu key.
KbMenu = Raylib::KeyboardKey::KbMenu
-
Kp0 =
320
-
The Kp0 key.
Kp0 = Raylib::KeyboardKey::Kp0
-
Kp1 =
321
-
The Kp1 key.
Kp1 = Raylib::KeyboardKey::Kp1
-
Kp2 =
322
-
The Kp2 key.
Kp2 = Raylib::KeyboardKey::Kp2
-
Kp3 =
323
-
The Kp3 key.
Kp3 = Raylib::KeyboardKey::Kp3
-
Kp4 =
324
-
The Kp4 key.
Kp4 = Raylib::KeyboardKey::Kp4
-
Kp5 =
325
-
The Kp5 key.
Kp5 = Raylib::KeyboardKey::Kp5
-
Kp6 =
326
-
The Kp6 key.
Kp6 = Raylib::KeyboardKey::Kp6
-
Kp7 =
327
-
The Kp7 key.
Kp7 = Raylib::KeyboardKey::Kp7
-
Kp8 =
328
-
The Kp8 key.
Kp8 = Raylib::KeyboardKey::Kp8
-
Kp9 =
329
-
The Kp9 key.
Kp9 = Raylib::KeyboardKey::Kp9
-
KpDecimal =
330
-
The KpDecimal key.
KpDecimal = Raylib::KeyboardKey::KpDecimal
-
KpDivide =
331
-
The KpDivide key.
KpDivide = Raylib::KeyboardKey::KpDivide
-
KpMultiply =
332
-
The KpMultiply key.
KpMultiply = Raylib::KeyboardKey::KpMultiply
-
KpSubtract =
333
-
The KpSubtract key.
KpSubtract = Raylib::KeyboardKey::KpSubtract
-
KpAdd =
334
-
The KpAdd key.
KpAdd = Raylib::KeyboardKey::KpAdd
-
KpEnter =
335
-
The KpEnter key.
KpEnter = Raylib::KeyboardKey::KpEnter
-
KpEqual =
336
-
The KpEqual key.
KpEqual = Raylib::KeyboardKey::KpEqual
-
Back =
4
-
The Back key.
Back = Raylib::KeyboardKey::Back
-
Menu =
82
-
The Menu key.
Menu = Raylib::KeyboardKey::Menu
-
VolumeUp =
24
-
The VolumeUp key.
VolumeUp = Raylib::KeyboardKey::VolumeUp
-
VolumeDown =
25
-
The VolumeDown key.
VolumeDown = Raylib::KeyboardKey::VolumeDown
Instance Method Summary
- #a?
- #apostrophe?
- #b?
- #back?
- #backslash?
- #backspace?
- #c?
- #caps_lock?
- #comma?
- #d?
- #delete?
- #down?
- #e?
- #eight?
- #end?
- #enter?
- #equal?
- #f10?
- #f11?
- #f12?
- #f1?
- #f2?
- #f3?
- #f4?
- #f5?
- #f6?
- #f7?
- #f8?
- #f9?
- #f?
- #five?
- #four?
- #g?
- #grave?
- #h?
- #home?
- #i?
- #insert?
-
#is_down? : Bool
Returns whether the
Key
is in the down state. -
#is_pressed? : Bool
Returns whether the
Key
is in the pressed state. -
#is_released? : Bool
Returns whether the
Key
is in the released state. -
#is_up? : Bool
Returns whether the
Key
is in the up state. - #j?
- #k?
- #kb_menu?
- #kp0?
- #kp1?
- #kp2?
- #kp3?
- #kp4?
- #kp5?
- #kp6?
- #kp7?
- #kp8?
- #kp9?
- #kp_add?
- #kp_decimal?
- #kp_divide?
- #kp_enter?
- #kp_equal?
- #kp_multiply?
- #kp_subtract?
- #l?
- #left?
- #left_alt?
- #left_bracket?
- #left_control?
- #left_shift?
- #left_super?
- #m?
- #menu?
- #minus?
- #n?
- #nine?
- #null?
- #num_lock?
- #o?
- #one?
- #p?
- #page_down?
- #page_up?
- #pause?
- #period?
- #print_screen?
- #q?
- #r?
- #right?
- #right_alt?
- #right_bracket?
- #right_control?
- #right_shift?
- #right_super?
- #s?
- #scroll_lock?
- #semicolon?
- #seven?
- #six?
- #slash?
- #space?
- #t?
- #tab?
- #three?
- #two?
- #u?
- #up?
- #v?
- #volume_down?
- #volume_up?
- #w?
- #x?
- #y?
- #z?
- #zero?
Instance Method Detail
Returns whether the Key
is in the down state.
def is_down? : Bool
Raylib.key_down? self
end
Returns whether the Key
is in the pressed state.
def is_pressed? : Bool
Raylib.key_pressed? self
end
Returns whether the Key
is in the released state.
def is_released? : Bool
Raylib.key_released? self
end