Difference between revisions of "Input Script"

673 bytes added ,  00:10, 22 October 2017
Create Input Script page
imported>Qazaaq
(Redirecting to "DirectX Scan Codes")
imported>ShadeMe
(Create Input Script page)
Line 1: Line 1:
#REDIRECT [[DirectX Scan Codes]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:F4SE]]
'''Extends:''' [[ScriptObject Script]]
 
Script for getting input information.
 
== Definition ==
<source lang="papyrus">
Scriptname Input Native Hidden
</source>
 
== Properties ==
None
 
== Global Functions ==
None
 
== Member Functions ==
None
 
== F4SE Global Functions ==
*string Function [[GetMappedControl - Input|GetMappedControl]](int aiKeyCode)
**Returns the name of the control bound to the given key code.
 
*int Function [[GetMappedKey - Input|GetMappedKey]](string asControlName, int aiDeviceType = 0xFF)
**Returns the key code of the named control.
 
== Events ==
None
 
== See Also ==
*[[Direct X Scancodes]]
Anonymous user