Classes
Class | Description | |
---|---|---|
![]() | GamePad |
Provides a way to fetch the current game pad input values.
View code on GitHub |
![]() | GamePadAnalogTrigger |
Trigger implementation for Thumb Sticks and Triggers on controllers.
View code on GitHub |
![]() | GamePadAnalogTrigger CannotCreateGamePadStickTriggerWithoutGamePadStick | |
![]() | GamePadButtonTrigger |
Trigger implementation for GamePad Button events.
View code on GitHub |
![]() | GamePadButtonTrigger CannotCreateGamePadTriggerWithoutKey | |
![]() | InputDevice |
All input devices (keyboard, mouse, touch, gamepad) will be updated each frame as Runners.
Only available devices will be included into Commands and event trigger checks.
View code on GitHub |
![]() | Keyboard |
Provides a way to fetch the current input values from a Keyboard device (virtual or real).
View code on GitHub |
![]() | KeyboardMessage |
Keyboard input message for remote input via networking.
View code on GitHub |
![]() | KeyMovementTrigger |
Can be used to simulate PositionTriggers movement with the keyboard, e.g. Cursor keys are used
in DefaultCommands.xml for the MoveDirectly command (to control your player).
View code on GitHub |
![]() | KeyTrigger |
Trigger implementation for Keyboard events, just can be invoked. Use KeyMovementTrigger for
direct movement, e.g. with cursor keys and KeyZoomTrigger for PageUp/Down zooming triggers.
View code on GitHub |
![]() | KeyTrigger CannotCreateKeyTriggerWithoutKey | |
![]() | KeyZoomTrigger |
Can be used to simulate ZoomTriggers with the keyboard, e.g. PageUp/Down for zooming in and
out in a 3D scene. Used in DefaultCommands.xml for the Zoom command.
View code on GitHub |
![]() | Mouse |
Provides the mouse position, mouse button states and allows to set the mouse position.
View code on GitHub |
![]() | MouseButtonTrigger |
Allows mouse button presses to be tracked.
View code on GitHub |
![]() | MouseButtonTrigger CannotCreateMouseButtonTriggerWithoutButton | |
![]() | MouseDoubleClickTrigger |
Allows mouse double clicks to be tracked.
View code on GitHub |
![]() | MouseDragDropTrigger |
Drag and Drop events triggered by mouse input from the user.
View code on GitHub |
![]() | MouseDragDropTrigger CannotCreateMouseDragDropTriggerWithoutStartArea | |
![]() | MouseDragTrigger |
Drag events with Mouse.
View code on GitHub |
![]() | MouseFlickTrigger |
Allows a mouse flick to be detected.
View code on GitHub |
![]() | MouseFlickTrigger MouseFlickTriggerHasNoParameters | |
![]() | MouseHoldTrigger |
Fires once when the mouse button is pressed and the mouse has not moved for some time.
View code on GitHub |
![]() | MouseHoldTrigger CannotCreateMouseHoldTriggerWithoutHoldArea | |
![]() | MouseHoverTrigger |
Fires once when the mouse has not moved for a prescribed period. Ideally used in tandem with
MouseMovementTrigger to cancel the logic raised on a hover.
View code on GitHub |
![]() | MouseMessage |
Mouse input message for remote input via networking.
View code on GitHub |
![]() | MouseMovementTrigger |
Tracks any mouse movement, useful to update cursor positions or check hover states.
View code on GitHub |
![]() | MouseMovementTrigger MouseMovementTriggerHasNoParameters | |
![]() | MousePositionTrigger |
Tracks the mouse position and movement with a mouse button in a prescribed state.
View code on GitHub |
![]() | MousePositionTrigger CannotCreateMousePositionTriggerWithoutKey | |
![]() | MouseTapTrigger |
Allows mouse button tap to be tracked.
View code on GitHub |
![]() | MouseZoomTrigger | |
![]() | MouseZoomTrigger MouseZoomTriggerHasNoParameters | |
![]() | StateExtensions |
Extensions to make it easier to work with Input states used for keys, buttons and gestures.
View code on GitHub |
![]() | Touch |
Provides a way to fetch the current input values from a Touch device.
View code on GitHub |
![]() | TouchBase | |
![]() | TouchDoubleTapTrigger |
Allows a touch double tap to be detected.
View code on GitHub |
![]() | TouchDoubleTapTrigger TouchDoubleTapTriggerHasNoParameters | |
![]() | TouchDragDropTrigger |
Drag and Drop events with Touch.
View code on GitHub |
![]() | TouchDragTrigger |
Allows a touch drag to be detected.
View code on GitHub |
![]() | TouchDualDragTrigger |
Allows a touch dual drag to be detected.
View code on GitHub |
![]() | TouchFlickTrigger |
Allows a touch flick to be detected.
View code on GitHub |
![]() | TouchFlickTrigger TouchFlickTriggerHasNoParameters | |
![]() | TouchHoldTrigger |
Allows a touch hold to be detected.
View code on GitHub |
![]() | TouchMessage |
Touch input message for remote input via networking.
View code on GitHub |
![]() | TouchMovementTrigger |
Tracks any touch movement, useful to update cursor positions.
View code on GitHub |
![]() | TouchMovementTrigger TouchMovementTriggerHasNoParameters | |
![]() | TouchPinchTrigger |
Allows a touch pinch to be detected.
View code on GitHub |
![]() | TouchPinchTrigger TouchPinchTriggerHasNoParameters | |
![]() | TouchPositionTrigger |
Tracks touch movement with a mouse button in a prescribed state.
View code on GitHub |
![]() | TouchPressTrigger |
Allows a simple touch to be detected.
View code on GitHub |
![]() | TouchRotateTrigger | |
![]() | TouchRotateTrigger TouchRotateTriggerHasNoParameters | |
![]() | TouchTapTrigger |
Allows a touch tap to be detected.
View code on GitHub |
![]() | TouchTapTrigger TouchTapTriggerHasNoParameters |
Interfaces
Interface | Description | |
---|---|---|
![]() | KeyboardControllable |
Used for UI controls that can respond to keyboard input
View code on GitHub |
Enumerations
Enumeration | Description | |
---|---|---|
![]() | GamePadAnalog |
Each left and right Thumb Stick and Trigger
View code on GitHub |
![]() | GamePadButton | 0
GamePads feature lots of buttons, but most commonly A, B, X, Y are used for Triggers.
View code on GitHub |
![]() | GamePadNumber |
The GamePad number to fetch input information from. We support up to 4 GamePads.
View code on GitHub |
![]() | Key |
All available Keyboard keys that can be used via the Keyboard class.
View code on GitHub |
![]() | MouseButton |
Normally we only care about left, middle or right mouse button clicks, rarely for the others.
View code on GitHub |
![]() | State |
All states a mouse button, keyboard key, touch, gamepad or gesture may have.
View code on GitHub |