Key (gb.sdl2)

This static class returns information about a keyboard event, and provides constants for each key code.

Esta clase es estática.

Esta clase actúa com un array estático de sólo lectura.

Constantes
AltGrKey  
Backspace  
CapsLock  
Delete  
Down  
End  
Esc  
Escape  
F1  
F10  
F11  
F12  
F13  
F14  
F15  
F2  
F3  
F4  
F5  
F6  
F7  
F8  
F9  
Home  
Insert  
Left  
LeftAlt  
LeftControl  
LeftMeta  
LeftShift  
Menu  
Num0  
Num1  
Num2  
Num3  
Num4  
Num5  
Num6  
Num7  
Num8  
Num9  
NumDivide  
NumEnter  
NumLock  
NumMinus  
NumMultiply  
NumPeriod  
NumPlus  
PageDown  
PageUp  
Pause  
Return  
Right  
RightAlt  
RightControl  
RightMeta  
RightShift  
ScrollLock  
Space  
SysReq  
Tab  
Up  

Propiedades estáticas
Alt   Return if the Alt key is pressed during a keyboard event.
AltGr   Return if the AltGr key is pressed during a keyboard event.
Code   Return the key code of a KeyPress event.
Control   Return if the Ctrl key is pressed during a keyboard event.
Meta   Return if the Meta key is pressed during a keyboard event.
Normal   Return TRUE if no modifier key is pressed during a keyboard event.
Repeat   Return or set if key repeat is enabled.
Shift   Return if any Shift key is pressed during a keyboard event.
Text   Return the UTF-8 string entered during a keyboard event.

Métodos estáticos
IsPressed   Return if a specific key is pressed.