Mod:Creation Kit/GetMappedControl - Input

F4SE Member of: Mod:Creation Kit/Input Script

Returns name of control bound to given keycode, or "" if unbound.

Syntax
string Function GetMappedControl(int keycode) global native

Parameters

 * int keyCode: the integer corresponding to the key bound to the control (if any).

See Mod:Creation Kit/DirectX Scan Codes

Return Value

 * Returns a string for the bound control.

Examples
Input.GetMappedControl(66) ; let's see what control is bound to "B"!