logo

Module dx::engine::d2::input

source · []
Expand description

Input

Structs

A 3D vector that represents the linear acceleration being applied to the device.

Three angles that represent the device’s attitude, one around each axis.

Represents an event coming from a physical key press.

Represents an event coming from a mouse.

Represents an event coming from a pointing device, such as a mouse or finger.

Represents a touch screen contact point, such as a finger. It is possible to retain a reference to a TouchPoint, and track changes to it over time.

Enums

All the possible keyboard keys that can be handled. Use Unknown to handle any platform-specific key codes not yet supported here.

All the possible mouse buttons that can be handled. Use Unknown to handle any platform-specific buttons not supported here.