DIFF

class UAInputSource

Constructors 2

private void UAInput()
private void ~UAInput()

Methods 44

proto native int ID()

return input index

proto native int NameHash()

return input hash

proto native void ClearBinding()

remove all bindings

proto native void BindCombo(string sButtonName)

bind combo to this input by name (single/ or append to existing button)

proto native void BindComboByHash(int iHash)

bind combo to this input by hash (single/ or append to existing button)

proto native void AddAlternative()

add new alternative keybind

proto native void ClearAlternative(int iIndex)

clear binding alternative by index

proto native int AlternativeIndex()

get currently selected alternative index

proto native void ClearDeviceBind(int iDeviceFlags)

clear binding for specific device(s)

proto native int BindKeyCount()

binded key count (for selected alternative)

proto native int GetBindKey(int iIndex)

binded "control" at index (for selected alternative)

proto native int GetBindDevice(int iIndex)

binded "control" device type at index (for selected alternative)

proto native bool CheckBindDevice(int iIndex, int iDeviceFlags)

compare binded device "control" type :: EUAINPUT_DEVICE_KEYBOARD for example

proto native bool LocalHoldBegin()
proto native bool LocalDoubleClick()
Referenced by ActionInput.Update()
proto native bool LocalClick()
Referenced by ActionInput.Update()
proto native bool IsCombo()

return true if there is currently combo bind - use Binding() result !!!

proto native bool IsLimited()

return true if there is an event limit

proto native bool IsLimitConditionActive()

return true if event limits matches current control item activity

proto native bool IsPressLimit()

if limited to PRESS

proto native bool IsReleaseLimit()

if limited to RELEASE

proto native bool IsHoldLimit()

if limited to HOLD

proto native bool IsHoldBeginLimit()

if limited to HOLDBEGIN

proto native bool IsClickLimit()

if limited to SINGLE CLICK

proto native bool IsDoubleClickLimit()

if limited to DOUBLE CLICK

proto native bool HasSorting(int iIndex)

has sorting group index?

proto native void Supress()

supress press event for next frame (while not pressed ATM - otherwise until release)

proto native bool IsLocked()

determine if locked (not active ATM)

proto native void Lock()

lock (until unlock called or exclusion is selected)

proto native void Unlock()

unlock exclusively

proto native int ConflictCount()

get number of conflicts with other inputs

proto native void ForceDisable(bool bEnable)

force disable on/ off

proto native void Backlit_Override(int eType, int iColor)

enable/ disable backlit of associated controls (EUABACKLIT_*)

Referenced by Backlit.HintShow()
proto native bool Backlit_Enabled()

check whether associated controls are backlit