Difference between revisions of "GetMappedKey - Input"

Jump to navigation Jump to search
29 bytes added ,  18:08, 3 October 2012
m
→‎Parameters: Added hex codes for asDeviceType
imported>JustinOther
m (→‎Examples: Previous example assumed Input had been imported.)
imported>JustinOther
m (→‎Parameters: Added hex codes for asDeviceType)
Line 57: Line 57:
:*Zoom Out
:*Zoom Out
*DeviceType: The device type used. Valid devices listed below.
*DeviceType: The device type used. Valid devices listed below.
:*255 = Auto detect (Default)
:*255 = 0xFF = Auto detect (Default)
:*0 = Keyboard
:*0 = 0x01 = Keyboard
:*1 = Mouse
:*1 = 0x02 = Mouse
:*2 = Gamepad
:*2 = 0x03 = Gamepad
 
== Return Value ==
== Return Value ==
Returns [[Input_Script#DXScanCodes|DXScanCode]] bound to a control for given device as an integer.
Returns [[Input_Script#DXScanCodes|DXScanCode]] bound to a control for given device as an integer.
Anonymous user

Navigation menu