ECE4760 - Laser Projector (ipb7, jcc384, pfc38)  1
Raster Laser Projection
Data Fields
joystick_vect Struct Reference

vector representing the joystick state. More...

#include <joystick.h>

Data Fields

int16_t x
int16_t y

Detailed Description

vector representing the joystick state.

The coordinate system origin is in the upper-left corner, thus a negative x value is the joystick is left of neutral and a negative y value is the joystick being up from neutral.

Definition at line 40 of file joystick.h.

Field Documentation

§ x

int16_t joystick_vect::x

Definition at line 41 of file joystick.h.

§ y

int16_t joystick_vect::y

Definition at line 42 of file joystick.h.

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