Difference between revisions of "Input Script"
Jump to navigation
Jump to search
imported>Kyllagdrgn (Created page with "== Definition == <source lang="papyrus">ScriptName Input</source> == Properties == None == F4SE Global Functions == None == Member Functions == None == Events == None...") |
imported>Qazaaq (added required f4se version) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''Extends:''' [[ScriptObject Script]] | |||
{{Template:Papyrus:RequiredF4SE|version=0.3.1}} | |||
Script for getting input information. | |||
== Definition == | == Definition == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Scriptname Input Native Hidden | |||
</source> | |||
== Properties == | == Properties == | ||
None | None | ||
== Global Functions == | |||
== | |||
None | None | ||
Line 13: | Line 18: | ||
None | 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 == | == Events == | ||
None | None | ||
== See Also == | == See Also == | ||
[[ | *[[DirectX_Scan_Codes|DirectX Scan Codes]] | ||
Line 121: | Line 35: | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:Script Objects]] | [[Category:Script Objects]] | ||
[[Category:F4SE]] |
Latest revision as of 15:39, 21 January 2018
Extends: ScriptObject Script
Requires F4SE version 0.3.1 or higher.
Script for getting input information.
Definition[edit | edit source]
Scriptname Input Native Hidden
Properties[edit | edit source]
None
Global Functions[edit | edit source]
None
Member Functions[edit | edit source]
None
F4SE Global Functions[edit | edit source]
- 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[edit | edit source]
None