Difference between revisions of "Input Script"
Jump to navigation
Jump to search
imported>Qazaaq (Redirecting to "DirectX Scan Codes") |
imported>Qazaaq (added required f4se version) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
'''Extends:''' [[ScriptObject Script]] | |||
{{Template:Papyrus:RequiredF4SE|version=0.3.1}} | |||
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 == | |||
*[[DirectX_Scan_Codes|DirectX Scan Codes]] | |||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[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