|
proto external void | SetCursorPosition (int x, int y) |
| Sets system cursor position.
|
|
proto external bool | IsUsingMouseAndKeyboard () |
| Returns true when mouse/keyboard is preferred input method.
|
|
proto external EInputDeviceType | GetLastUsedInputDevice () |
| Returns last dominant input device used by user.
|
|
proto external bool | SetLastUsedInputDevice (EInputDeviceType type) |
|
proto external void | SetLoading (bool isLoading) |
| Tells input manager, that is loading. IM than show hide cursor even without per frame updating.
|
|
proto external void | SetGamepadRumble (int userIdx, float fLeftMotorSpeed, float fRightMotorSpeed, float fLeftTriggerSpeed, float fRightTriggerSpeed, int iDurationMs=-1, int iFadeInMs=0, int iFadeOutMs=0) |
| Start to rumble a gamepad for specific user (if available).
|
|
proto external void | StopRumble (int userIdx=-1) |
| use userIdx = -1 to stop rubmle for all controllers
|
|
proto external void | ResetAction (string actionName) |
| Resets internal state of action.
|
|
proto external void | ResetContext (string contextName) |
| Resets internal state of all actions in context.
|
|
proto external bool | RegisterActionManager (ActionManager pManager) |
|
proto external bool | UnregisterActionManager (ActionManager pManager) |
|
proto external ref InputBinding | CreateUserBinding () |
|
proto external BaseContainer | GetKeyUIMapping (string keyName) |
|
proto external bool | GetActionKeybinding (string actionName, notnull array< string > keyStack, notnull array< BaseContainer > filterStack, EInputDeviceType deviceType=EInputDeviceType.INVALID, string preset=string.Empty, int keyBindIndex=-1) |
|
proto external void | SetDebug (int debugMode) |
| Show debug info via DbgUI.
|
|
proto external bool | ActivateContext (string contextName, int duration=0) |
|
proto external bool | IsContextActive (string contextName) |
|
proto external void | SetContextDebug (string contextName, bool bDebug) |
|
proto external bool | ActivateAction (string actionName, int duration=0) |
|
proto external bool | IsActionActive (string actionName) |
|
proto external float | GetActionValue (string actionName) |
| Return normalized value of action.
|
|
proto external EActionValueType | GetActionInputType (string actionName) |
| Return type of last input contributing to this action.
|
|
proto external bool | GetActionTriggered (string actionName) |
| Return TRUE if value of action is above threshold(0.99) and is active.
|
|
proto external void | SetActionValue (string actionName, float value) |
|
proto external int | GetActionCount () |
|
proto external string | GetActionName (int actionIndex) |
|
proto external void | AddActionListener (string actionName, EActionTrigger trigger, ActionListenerCallback callback) |
|
proto external bool | RemoveActionListener (string actionName, EActionTrigger trigger, ActionListenerCallback callback) |
|