sdl.getKeyName

From GTA Connected
(Redirected from Sdl.getKeyName)
Jump to navigation Jump to search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

string sdl.getKeyName(int key)

Description

The sdl.getKeyName function is used to fetch a human-readable name for a key.

Parameters

Type Name Presence Default Value Description
int key required n/a The key code to fetch the key name for.

Returns

Success Returns

Type Description
string A string representing a human-readable name for a key.

Failure Returns

Type Value
null n/a

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