Enfusion Script API
|
Public Member Functions | |
proto external void | ResetDefault (string actionName, EInputDeviceType deviceType=EInputDeviceType.INVALID, string preset=string.Empty) |
proto external bool | IsDefault (string actionName, EInputDeviceType deviceType=EInputDeviceType.KEYBOARD, string preset=string.Empty) |
proto external bool | CreateUserBinding (string actionName, EInputDeviceType deviceType=EInputDeviceType.KEYBOARD, string preset=string.Empty) |
proto external int | GetBindingsCount (string actionName, EInputDeviceType deviceType=EInputDeviceType.KEYBOARD, string preset=string.Empty) |
proto external void | RemoveBinding (string actionName, EInputDeviceType deviceType, string preset, int keyBindIndex) |
proto external void | AddBinding (string actionName, string preset, string keyBinding, string filterName=string.Empty) |
proto external void | InsertCombo (string actionName, string preset, string keyBinding, string filterName, int keyBindIndex, int comboIndex=-1) |
proto external bool | SetFilter (string actionName, EInputDeviceType deviceType, string preset, int keyBindIndex, string filterName) |
proto external string | GetFilter (string actionName, EInputDeviceType deviceType, string preset, int keyBindIndex) |
proto external void | StartCapture (string actionName, EInputDeviceType deviceType=EInputDeviceType.KEYBOARD, string preset=string.Empty, bool bAppend=false, EInputBindingAxleCapture eAxleCapture=EInputBindingAxleCapture.HALF_AXLE) |
proto external void | CancelCapture () |
proto external void | SaveCapture (array< string > additionalKeyBindings=null) |
Additional key bindings can be added using additionalKeyBindings array. | |
proto external EInputBindingCaptureState | GetCaptureState () |
proto external BaseContainer | FindContext (string contextName) |
proto external BaseContainer | FindAction (string actionName) |
proto external void | Save () |
proto external bool | GetConflicts (string actionName, out notnull array< int > keyBindIndices, out notnull array< string > conflictedActions, out notnull array< string > conflictedActionPresets, EInputDeviceType deviceType=EInputDeviceType.KEYBOARD, string preset=string.Empty) |
proto external bool | GetBindings (string actionName, out notnull array< string > bindings, EInputDeviceType deviceType=EInputDeviceType.KEYBOARD, string preset=string.Empty) |
proto external void | GetContexts (out array< string > contextNames) |
proto external void | GetPresets (string actionName, out array< string > presetNames) |
proto external void InputBinding.AddBinding | ( | string | actionName, |
string | preset, | ||
string | keyBinding, | ||
string | filterName = string.Empty |
||
) |
proto external void InputBinding.CancelCapture | ( | ) |
proto external bool InputBinding.CreateUserBinding | ( | string | actionName, |
EInputDeviceType | deviceType = EInputDeviceType.KEYBOARD , |
||
string | preset = string.Empty |
||
) |
proto external BaseContainer InputBinding.FindAction | ( | string | actionName | ) |
proto external BaseContainer InputBinding.FindContext | ( | string | contextName | ) |
proto external bool InputBinding.GetBindings | ( | string | actionName, |
out notnull array< string > | bindings, | ||
EInputDeviceType | deviceType = EInputDeviceType.KEYBOARD , |
||
string | preset = string.Empty |
||
) |
proto external int InputBinding.GetBindingsCount | ( | string | actionName, |
EInputDeviceType | deviceType = EInputDeviceType.KEYBOARD , |
||
string | preset = string.Empty |
||
) |
proto external EInputBindingCaptureState InputBinding.GetCaptureState | ( | ) |
proto external bool InputBinding.GetConflicts | ( | string | actionName, |
out notnull array< int > | keyBindIndices, | ||
out notnull array< string > | conflictedActions, | ||
out notnull array< string > | conflictedActionPresets, | ||
EInputDeviceType | deviceType = EInputDeviceType.KEYBOARD , |
||
string | preset = string.Empty |
||
) |
proto external string InputBinding.GetFilter | ( | string | actionName, |
EInputDeviceType | deviceType, | ||
string | preset, | ||
int | keyBindIndex | ||
) |
proto external void InputBinding.InsertCombo | ( | string | actionName, |
string | preset, | ||
string | keyBinding, | ||
string | filterName, | ||
int | keyBindIndex, | ||
int | comboIndex = -1 |
||
) |
proto external bool InputBinding.IsDefault | ( | string | actionName, |
EInputDeviceType | deviceType = EInputDeviceType.KEYBOARD , |
||
string | preset = string.Empty |
||
) |
proto external void InputBinding.RemoveBinding | ( | string | actionName, |
EInputDeviceType | deviceType, | ||
string | preset, | ||
int | keyBindIndex | ||
) |
proto external void InputBinding.ResetDefault | ( | string | actionName, |
EInputDeviceType | deviceType = EInputDeviceType.INVALID , |
||
string | preset = string.Empty |
||
) |
proto external void InputBinding.Save | ( | ) |
Additional key bindings can be added using additionalKeyBindings array.
proto external bool InputBinding.SetFilter | ( | string | actionName, |
EInputDeviceType | deviceType, | ||
string | preset, | ||
int | keyBindIndex, | ||
string | filterName | ||
) |
proto external void InputBinding.StartCapture | ( | string | actionName, |
EInputDeviceType | deviceType = EInputDeviceType.KEYBOARD , |
||
string | preset = string.Empty , |
||
bool | bAppend = false , |
||
EInputBindingAxleCapture | eAxleCapture = EInputBindingAxleCapture.HALF_AXLE |
||
) |