Difference between revisions of "GetMappedControl - Input"

Jump to navigation Jump to search
196 bytes added ,  03:00, 27 February 2021
no edit summary
imported>Qazaaq
(added f4se member)
 
imported>Jlundin
 
Line 1: Line 1:
{{Template:Incomplete Article}}
'''F4SE Member of:''' [[Input Script]]
'''F4SE Member of:''' [[Input Script]]
{{Template:Papyrus:RequiredF4SE|version=0.3.1}}
{{Template:Papyrus:RequiredF4SE|version=0.3.1}}
Returns name of control bound to given keycode, or "" if unbound.


Placeholder Description.


== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
string Function GetMappedControl(int aiKeycode) Native Global
string Function GetMappedControl(int keycode) global native
</source>
</source>


== Parameters ==
== Parameters ==
*aiKeycode: Placeholder Description.
*int keyCode: the integer corresponding to the key bound to the control (if any).
 
See [[DirectX Scan Codes]]


== Return Value ==
== Return Value ==
*Placeholder Description.
* Returns a string for the bound control.


== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
; Placeholder Code.
Input.GetMappedControl(66) ; let's see what control is bound to "B"!
</source>
</source>


== See Also ==
== See Also ==
*[[Input Script]]
*[[Input Script]]
*[[GetMappedKey - Input]]
*[[DirectX Scan Codes]]




Anonymous user

Navigation menu