|
coastline 0.0.4
|
The state of one controller port, as libultra reports a pad. More...
#include <controller.h>

Public Attributes | |
| std::uint16_t | buttons = 0 |
| std::int8_t | stickX = 0 |
| std::int8_t | stickY = 0 |
| bool | connected = false |
The state of one controller port, as libultra reports a pad.
| std::uint16_t coastline::ControllerState::buttons = 0 |
The ControllerButton bits held.
| std::int8_t coastline::ControllerState::stickX = 0 |
The stick, right positive, about -80 to 80.
| std::int8_t coastline::ControllerState::stickY = 0 |
The stick, up positive, about -80 to 80.
| bool coastline::ControllerState::connected = false |
Whether a device is bound to the port.