Background for Fallout 4
Member of the Input script
intfunctionGetMappedKey(stringcontrol, intdeviceType=0xff)NativeGlobal

[DEV SERVER] Loading description...


Caveats


Parameters

stringcontrol

CK Wiki Description

a string for the control you wish to get the mapped key for.

intdeviceType=0xff

CK Wiki Description

an integer corresponding to the device you request the mapped key tied to the specified control.


Examples

Input.GetMappedKey("Jump", 2) ; my XBOX controller uses this key for "Jump"!

Auto-Generated Example

string myString__control
int myInt__deviceType

int returnedValue = Input.GetMappedKey(myString__control, myInt__deviceType)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.