TSdlKeyboardState
The state of a keyboard.
Definition
Unit: Neslib.Sdl3.Input
Methods
Name | Description |
---|---|
IsPressed | Whether a key with the given scancode is currently pressed. |
Method Descriptions
IsPressed(TSdlScancode)
Whether a key with the given scancode is currently pressed.
function IsPressed(const AScancode: TSdlScancode): Boolean; inline
Parameters
AScancode
: TSdlScancode
: The scancode to check.
Returns
Boolean
: True if the key is pressed, False otherwise.