Companion

Holds the axes a gamepad reports.

Properties

Link copied to clipboard
val COUNT: Int

The number of gamepad axes; every axis EventPump reports has an index below it.

Link copied to clipboard

The left analog trigger, from 0 (released) to 1 (fully pressed).

Link copied to clipboard

The left stick's horizontal axis; negative is left.

Link copied to clipboard

The left stick's vertical axis; negative is up.

Link copied to clipboard

The right analog trigger, from 0 (released) to 1 (fully pressed).

Link copied to clipboard

The right stick's horizontal axis; negative is left.

Link copied to clipboard

The right stick's vertical axis; negative is up.