Difference between revisions of "Input Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
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]]

Revision as of 00:10, 22 October 2017

Extends: ScriptObject Script

Script for getting input information.

Definition

Scriptname Input Native Hidden

Properties

None

Global Functions

None

Member Functions

None

F4SE Global Functions

  • string Function GetMappedControl(int aiKeyCode)
    • Returns the name of the control bound to the given key code.
  • int Function GetMappedKey(string asControlName, int aiDeviceType = 0xFF)
    • Returns the key code of the named control.

Events

None

See Also