Key (gb.sdl2)
This static class returns information about a keyboard event, and provides
constants for each key code.
Tato třída je statická.
This class acts like a
pouze číst static array.
Konstanty
Static properties
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.
|
Static methods
IsPressed
|
Return if a specific key is pressed.
|