RegisterForKey - ScriptObject
Revision as of 18:34, 21 January 2018 by imported>Qazaaq (added required f4se version)
F4SE Member of: ScriptObject Script
Requires F4SE version 0.3.0 or higher.
Registers the given Scan Code for OnKeyDown and OnKeyUp events.
Syntax[edit | edit source]
Function RegisterForKey(int key) Native
Parameters[edit | edit source]
- keyCode: The Scan Code of the key to listen for.
Return Value[edit | edit source]
None
Examples[edit | edit source]
RegisterForKey(160) ; left shift
Notes[edit | edit source]
None