ReXGlue SDK
Loading...
Searching...
No Matches
rex::hid::PadState Struct Reference

#include <rex/hid/pad.h>

Public Attributes

u16 buttons = 0
u8 left_trigger = 0
u8 right_trigger = 0
i16 thumb_lx = 0
i16 thumb_ly = 0
i16 thumb_rx = 0
i16 thumb_ry = 0

Detailed Description

One reading of a pad. Sticks are centered on 0, positive right and up.

Member Data Documentation

◆ left_trigger

u8 rex::hid::PadState::left_trigger = 0

Pressure from 0 to 255.

◆ right_trigger

u8 rex::hid::PadState::right_trigger = 0

Pressure from 0 to 255.


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