SDL.GetKeyboardState: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ScriptItem |endpoint = shared |type = function |name = SDL.GetKeyboardState |parameters = void |returnTypes = array |usage = fetch a snapshot of the current state of the key...") |
(No difference)
|
Latest revision as of 00:17, 8 November 2018
Function
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
array SDL.GetKeyboardState(void)
The SDL.GetKeyboardState function is used to fetch a snapshot of the current state of the keyboard.
Parameters
void | This function doesn't take any parameters. |
Return
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. |
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