- Found in:
- SKSE
[DEV SERVER] Loading description...
Caveats
CK Wiki - Notes
None
Parameters
stringcontrol
CK Wiki Description
The name of the controls as a string. Valid controls listed below.
intdeviceType=0xff
CK Wiki Description
The device type used. Valid devices listed below.
Examples
Int iForwardKey = Input.GetMappedKey("Forward")Int[] Property iDxScanCode Auto ; 43 elements
String[] Property sControlName Auto ; Also 43 elements that indices will correspond. Elements must be filled in creation Kit.
Function RecordControlKeys()
Int iIndex = sControlName.Length
While iIndex > 0
iIndex -= 1
iDxScanCode[iIndex] = Input.GetMappedKey(sControlName[iIndex])
EndWhile
EndFunctionAuto-Generated Example
string myString__control
int myInt__deviceType
int returnedValue = Input.GetMappedKey(myString__control, myInt__deviceType)