libyggdrasil  v1.0.0
JoystickData Struct Reference

Joystick data. More...

#include <joystick.h>

Collaboration diagram for JoystickData:

Public Attributes

struct Position pos
 Position. More...
 
u16 mag
 Magnitude / radius from the center. More...
 
bool pressed
 State of the joystick button. More...
 

Detailed Description

Joystick data.

Member Data Documentation

◆ mag

u16 JoystickData::mag

Magnitude / radius from the center.

◆ pos

struct Position JoystickData::pos

◆ pressed

bool JoystickData::pressed

State of the joystick button.


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