|
| proto external float | GetLastTimeDelta () |
| | Returns time delta used to update InputManager in last frame.
|
| |
| proto external void | SetLoading (bool isLoading) |
| | Tells input manager, that is loading. IM than show hide cursor even without per frame updating.
|
| |
| proto external EInputDeviceType | GetLastUsedInputDevice () |
| | Returns last dominant input device used by user.
|
| |
| proto external bool | SetLastUsedInputDevice (EInputDeviceType type) |
| |
| proto external KeyboardDeviceHandler | GetKeyboardDeviceHandler () |
| |
| proto external MouseDeviceHandler | GetMouseDeviceHandler () |
| |
| proto external GamepadDeviceHandler | GetGamepadDeviceHandler () |
| |
| proto external JoystickDeviceHandler | GetJoystickDeviceHandler () |
| |
| proto external GyroDeviceHandler | GetGyroDeviceHandler () |
| |
| proto external TrackIRDeviceHandler | GetTrackIRDeviceHandler () |
| |
| proto external bool | IsUsingMouseAndKeyboard () |
| | Returns true when mouse/keyboard is preferred input method.
|
| |
| proto external void | SetCursorPosition (int x, int y) |
| | Sets system cursor position.
|
| |
| proto external bool | IsTrackIRConnected () |
| |
| proto external bool | IsJoystickConnected (int iSlotIndex) |
| |
| proto external int | GetJoystickVendorId (int iSlotIndex) |
| |
| proto external int | GetJoystickProductId (int iSlotIndex) |
| |
| proto external string | GetJoystickProductName (int iSlotIndex) |
| |
| proto external void | SetGamepadRumble (int userIdx, float fLeftMotorSpeed, float fRightMotorSpeed, float fLeftTriggerSpeed, float fRightTriggerSpeed, int iDurationMs=-1, int iFadeInMs=0, int iFadeOutMs=0) |
| |
| proto external void | StopRumble (int userIdx=-1) |
| |
| proto external void | SetGamepadTriggerEffect (int userIdx, GamepadTrigger eTriggerIndex, GamepadTriggerEffect eEffectType, int frequency, notnull array< int > curve) |
| | Set gamepad trigger effect Set gamepad trigger effect.
|
| |
| proto external void | SetGamepadLightColor (int userIdx, notnull Color color) |
| | Set gamepad light color.
|
| |
| 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) |
| |
Input management system for user interactions.
The InputManager handles all user input devices, including keyboard, mouse, gamepad, joystick, and TrackIR. It tracks the dominant input device, manages input bindings, system cursor, and device-specific interactions. This class is intended to be used as a singleton and extends the ActionManager interface.