sdl.getKeyboardState

From GTA Connected
Revision as of 00:15, 20 August 2019 by Mex (talk | contribs)
Jump to: navigation, search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

array sdl.getKeyboardState(void)

Description

The sdl.getKeyboardState function is used to fetch a snapshot of the current state of the keyboard.

Parameters

Type Description
void This function doesn't take any parameters.

Returns

Success Returns

Type Description
array An array of boolean values. A value of true means that the key is pressed and a value of false means that it is not.

Failure Returns

Type Value
array []

Notes

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

bindKey
unbindAllKeys
unbindKey


Client Related

bindKey
isKeyDown
isScancodePressed
unbindAllKeys
unbindKey