SDL.GetScancodeFromKey

Revision as of 00:33, 8 November 2018 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = shared |type = function |name = SDL.GetScancodeFromKey |parameters = int key |returnTypes = int |usage = fetch the scancode corresponding to the given...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

int SDL.GetScancodeFromKey(int key)

The SDL.GetScancodeFromKey function is used to fetch the scancode corresponding to the given key code according to the current keyboard layout.

Parameters

Documentation Missing: Parameters

Return

int An integer representing the scancode corresponding to the given key code according to the current keyboard layout.

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