sdl.getScancodeFromName

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

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

int sdl.getScancodeFromName(string scanCodeName)

Description

The sdl.getScancodeFromName function is used to fetch get a scancode from a human-readable name.

Parameters

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

Returns

Success Returns

Type Description
int An integer representing a scancode from a human-readable name.

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