|
coastline 0.0.4
|
The buttons and stick of a controller. More...
#include <os_cont.h>
Public Attributes | |
| u16 | button |
| s8 | stick_x |
| s8 | stick_y |
| u8 | CONT_ERRNO |
The buttons and stick of a controller.
| u16 OSContPad::button |
The pressed buttons, from the CONT_* button bits.
| s8 OSContPad::stick_x |
The horizontal stick position, positive to the right.
| s8 OSContPad::stick_y |
The vertical stick position, positive upward.
| u8 OSContPad::CONT_ERRNO |
The channel error of the read, 0 or CONT_NO_RESPONSE_ERROR.