enum classafGamepad::GamepadButton
sys::Obj sys::Enum afGamepad::GamepadButton
@
Serializable { simple=true }
Gamepad buttons.
- dpadDown
- dpadLeft
- dpadRight
- dpadUp
- faceDown
- faceLeft
- faceRight
- faceUp
- leftAnalogue
- leftShoulder
- leftTrigger
- logo
- rightAnalogue
- rightShoulder
- rightTrigger
- select
- start
- dpadDown
const static GamepadButton dpadDown := ...
- dpadLeft
const static GamepadButton dpadLeft := ...
- dpadRight
const static GamepadButton dpadRight := ...
- dpadUp
const static GamepadButton dpadUp := ...
- faceDown
const static GamepadButton faceDown := ...
PlayStation Cross, XBox A
- faceLeft
const static GamepadButton faceLeft := ...
PlayStation Square, XBox X
- faceRight
const static GamepadButton faceRight := ...
PlayStation Circle, XBox B
- faceUp
const static GamepadButton faceUp := ...
PlayStation Triangle, XBox Y
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the GamepadButton instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- leftAnalogue
const static GamepadButton leftAnalogue := ...
- leftShoulder
const static GamepadButton leftShoulder := ...
- leftTrigger
const static GamepadButton leftTrigger := ...
- logo
const static GamepadButton logo := ...
- rightAnalogue
const static GamepadButton rightAnalogue := ...
- rightShoulder
const static GamepadButton rightShoulder := ...
- rightTrigger
const static GamepadButton rightTrigger := ...
- select
const static GamepadButton select := ...
- start
const static GamepadButton start := ...
- vals
const static GamepadButton[] vals := ...
List of GamepadButton values indexed by ordinal