ENUM
ControllerElementType
Stone-defined semantic types for Controller Elements.Specifies the semantics of a specific element on a controller layout.
- enum ControllerElementType {
- # This element does not exist. Intended for internal use for consumers
- # A button, usually with a switch or dome that can be depressed on the controller,
- # exclusing directional buttons
- # A directional button or D-pad button representing one of 8 cardinal directions
- # An axis that increases in value on the number line.
- # For example, analog stick movement towards the right, or towards the forward
- # direction.
- # An axis that decreases in value on the number line.
- # For example, analog stick movement towards the left, or towards the backwards
- # direction.
- # An analog shoulder trigger, able to be depressed smoothly with varying degrees
- # of pressure
- # from undepressed (0%) to fully depressed (100%), usually marked L2 or R2
- # A rumble motor that shakes the controller
- # A keyboard of an unspecified amount of keys. Intended for special-case keyboard
- # handling for consumers
- # A pointing device that can express position in the form of a contiguous set of
- # coordinates on a multi-dimensional cartesian plane.
- # Examples include a mouse, or the Wii Remote IR for 2D.
- # A pointer axis that increases in value on the number line, where the pointer
- # device itself is
- # not limited to axis-based representation. For example, continous right mouse
- # movement.
- # A pointer axis that increases in value on the number line, where the pointer
- # device itself
- # is not limited to axis-based representation. For example, continous left mouse
- # movement.
- # A touch sensitive surface of unspecified size and precision,
- # where input can be expressed as a non-contiguous matrix of coordinates on a
- # 2 dimentional cartesian plane. However, most touchscreens in video game
- # controllers
- # are only concerned with a single matrix due to the lack of multi-touch support.
- # A 3 axis rotation gyroscope of unspecified precision,
- # where input can be expressed as a vector of 3 coordinates X, Y, and Z
- }