enum classafGamepad::GamepadAxis
sys::Obj sys::Enum afGamepad::GamepadAxis
@
Serializable { simple=true }
Gamepad axes / thumbsticks.
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the GamepadAxis instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- leftX
const static GamepadAxis leftX := ...
- leftY
const static GamepadAxis leftY := ...
- rightX
const static GamepadAxis rightX := ...
- rightY
const static GamepadAxis rightY := ...
- vals
const static GamepadAxis[] vals := ...
List of GamepadAxis values indexed by ordinal