functiongenerated
Gamepad.axis
How far a stick or trigger is pushed. Sticks ("left_x", "left_y"…) give -1 to 1, with right and down positive; triggers give 0 to 1.
Signature
Gamepad.axis(slot: number, axis: String) -> numberMember of Gamepad
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b