sdl.getKeyFromName: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page Sdl.getKeyFromName to sdl.getKeyFromName) |
(No difference)
|
Latest revision as of 15:27, 24 August 2019
Function
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
int sdl.getKeyFromName(string key)
The sdl.getKeyFromName function is used to fetch a key code from a human-readable name.
Parameters
1) | string | key | The key name to fetch the key code for. |
Return
int | An integer representing a key code from a human-readable name. |
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