Key (gb.sdl2)
This static class returns information about a keyboard event, and provides
constants for each key code.
This class is static.
This class acts like a
read-only static array.
Constants
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.
|