coastline 0.0.4
Loading...
Searching...
No Matches
OSContPad Struct Reference

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

Detailed Description

The buttons and stick of a controller.

Member Data Documentation

◆ button

u16 OSContPad::button

The pressed buttons, from the CONT_* button bits.

◆ stick_x

s8 OSContPad::stick_x

The horizontal stick position, positive to the right.

◆ stick_y

s8 OSContPad::stick_y

The vertical stick position, positive upward.

◆ CONT_ERRNO

u8 OSContPad::CONT_ERRNO

The channel error of the read, 0 or CONT_NO_RESPONSE_ERROR.


The documentation for this struct was generated from the following file: