Difference between revisions of "GetMappedKey - Input"

Jump to navigation Jump to search
104 bytes added ,  07:04, 22 December 2019
→‎Return Value: Clarified what happens if the key is not mapped
imported>Himika
(Fixed DeviceType for a correct value)
imported>Pickysaurus
(→‎Return Value: Clarified what happens if the key is not mapped)
 
Line 63: Line 63:


== 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. If the key is not mapped (common for things like "Quick Inventory" when using a controller) returns -1.


== Examples ==
== Examples ==
Anonymous user

Navigation menu