ENUM

ControllerElement

Stone-defined semantic Controller Elements. A Controller Element is a semantic name given to a capability of a defined Stone controller layout.

  • enum ControllerElement {
  • # No element
  • NO_ELEMENT
  • # The conventional 'A' or confirm face button in a controller
  • BUTTON_A
  • # The conventional 'B' or back face button in a controller
  • BUTTON_B
  • # The 'C'-labeled, or 3rd button in a 6-face button layout or similar
  • BUTTON_C
  • # The conventional 'X' button in a controller
  • BUTTON_X
  • # The conventional 'Y' button in a controller
  • BUTTON_Y
  • # The 'Z'-labeled or 6th button in a 6-face button layout or similar
  • BUTTON_Z
  • # The shoulder button registering a digital signal on the left side of the
  • # controller
  • BUTTON_L
  • # The shoulder button registering a digital signal on the right side of the
  • # controller
  • BUTTON_R
  • # The traditional 'Start' button on a conventional controller that usually pauses
  • # or starts the game
  • BUTTON_START
  • # The traditional 'Select' button on a conventional controller that provides
  • # auxillary functions
  • BUTTON_SELECT
  • # A guide button featured on modern controllers that bring up a pause or guide
  • # overlay outside of the game itself
  • BUTTON_GUIDE
  • # A depression on the left analog stick that registers a digital signal. Usually
  • # labeled as L3
  • BUTTON_CLICK_L
  • # A depression on the Right analog stick that registers a digital signal. Usually
  • # labeled as R3
  • BUTTON_CLICK_R
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON0
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON1
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON2
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON3
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON4
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON5
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON6
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON7
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON8
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit
  • # within the other semantic buttons,
  • # or as a numeric pad key on certain controllers
  • BUTTON9
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON10
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON11
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON12
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON13
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON14
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON15
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON16
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON17
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON18
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON19
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON20
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON21
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON22
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON23
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON24
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON25
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON26
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON27
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON28
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON29
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON30
  • # Numbered button without semantic value.
  • # Used as a placeholder for buttons that do not fit within the other semantic
  • # buttons.
  • BUTTON31
  • # Directional button indicating the north or upwards direction
  • DIRECTIONAL_N
  • # Directional button indicating the east or rightwards direction
  • DIRECTIONAL_E
  • # Direction button indicating the south or downwards direction
  • DIRECTIONAL_S
  • # Direction button indicating the west or leftwards direction
  • DIRECTIONAL_W
  • # Auxillary directional button indicating the northeast, or upwards and right
  • # direction
  • DIRECTIONAL_NE
  • # Auxillary directional button indicating the northwest, or upwards and left
  • # direction
  • DIRECTIONAL_NW
  • # Auxillary directional button indicating the southeast, or downwards and right
  • # direction
  • DIRECTIONAL_SE
  • # Auxillary directional button indicating the southwest, or downwards and left
  • # direction
  • DIRECTIONAL_SW
  • # An analog shoulder trigger, able to be depressed smoothly with varying degrees
  • # of pressure
  • # from undepressed (0%) to fully depressed (100%), on the left side of the
  • # controller, usually marked L2
  • TRIGGER_LEFT
  • # An analog shoulder trigger, able to be depressed smoothly with varying degrees
  • # of pressure
  • # from undepressed (0%) to fully depressed (100%), on the right side of the
  • # controller, usually marked R2
  • TRIGGER_RIGHT
  • # Rightwards movement of the left analog stick along the X axis (horizontally)
  • AXIS_LEFT_ANALOG_POSITIVE_X
  • # Leftwards movement of the left analog stick along the X axis (horizontally)
  • AXIS_LEFT_ANALOG_NEGATIVE_X
  • # Upwards movement of the left analog stick along the Y axis (vertically)
  • AXIS_LEFT_ANALOG_POSITIVE_Y
  • # Downwards movement of the left analog stick along the Y axis (vertically)
  • AXIS_LEFT_ANALOG_NEGATIVE_Y
  • # Rightwards movement of the right analog stick along the X axis (horizontally)
  • AXIS_RIGHT_ANALOG_POSITIVE_X
  • # Leftwards movement of the right analog stick along the X axis (horizontally)
  • AXIS_RIGHT_ANALOG_NEGATIVE_X
  • # Upwards movement of the right analog stick along the Y axis (vertically)
  • AXIS_RIGHT_ANALOG_POSITIVE_Y
  • # Downwards movement of the right analog stick along the Y axis (vertically)
  • AXIS_RIGHT_ANALOG_NEGATIVE_Y
  • # A large rumble action (usually through the larger of two rumble motors in a
  • # controller
  • RUMBLE_BIG
  • # A smaller rumble action (usually through the smaller of two rumble motors in a
  • # controller
  • RUMBLE_SMALL
  • # A pointing device that can express position in the form of a contiguous set of
  • # coordinates on a
  • # 2 dimensional cartesian plane. Examples include a mouse, or the Wii Remote IR
  • POINTER2_D
  • # A pointing device that can express position in the form of a contiguous set of
  • # coordinates in 3 dimensional space.
  • # Examples include the Oculus Touch device, or the Playstation Move
  • POINTER3_D
  • # Continous rightwards movement of a pointer device on the X axis (horizontal)
  • POINTER_AXIS_POSITIVE_X
  • # Continous leftwards movement of a pointer device on the X axis (horizontal)
  • POINTER_AXIS_NEGATIVE_X
  • # Continous upwards movement of a pointer device on the Y axis (vertical)
  • POINTER_AXIS_POSITIVE_Y
  • # Continous downwards movement of a pointer device on the Y axis (vertical)
  • POINTER_AXIS_NEGATIVE_Y
  • # Continous forwards movement of a pointer device on the Z axis
  • POINTER_AXIS_POSITIVE_Z
  • # Continous backwards movement of a pointer device on the Z axis
  • POINTER_AXIS_NEGATIVE_Z
  • # A keyboad with an unspecified amount of keys. Intended for emulated computers
  • # such as the Commodore 64
  • KEYBOARD
  • # 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
  • TOUCHSCREEN
  • # A 3 axis rotation gyroscope of unspecified precision,
  • # where input can be expressed as a vector of 3 coordinates X, Y, and Z
  • GYROSCOPE
  • }