Skip to content

Input

Class in Engine · Engine.Input · native, config, transient

Object › UIRoot › Interaction › Input

Subclasses: PlayerInput

Using it from Lua
h7.find_all("Input")            -- live instances
h7.find_class("Engine.Input")   -- the class
h7.hook("Engine.Input.GetBind", fn)

Structs

KeyBind

FieldType
Namename
Commandstring
Controlbool
Shiftbool
Altbool
bIgnoreCtrlbool
bIgnoreShiftbool
bIgnoreAltbool

TouchTracker

FieldType
Handleint
TouchpadIndexint
LocationVector2D
EventTypeEInputEvent
bTrapInputbool

Properties

NameTypeNotes
AxisArrayarrayno declaration: type is approximate
Bindingsarray<KeyBind>config
CachedAnalogInputEventsarray<SeqEvent_AnalogInput>const
CachedInputEventsarray<SeqEvent_Input>const
CachedTouchInputEventsarray<SeqEvent_TouchInput>const
CurrentControllerIdintconst
CurrentDeltafloatconst
CurrentDeltaTimefloatconst
CurrentEventEInputEventconst
CurrentTouchesarray<TouchTracker>const
NameToPtrMapconst, native
PressedKeysarrayprotectedwrite

Functions

NameDeclaration
GetBindnative function string GetBind(const out Name Key)
ResetInputnative function ResetInput()
SetBindexec function SetBind(const out name BindName, string Command)

Inherited

FromMembers
Interaction0 properties, 11 functions
UIRoot1 properties, 8 functions
Object13 properties, 308 functions