Wixel SDK
Data Fields
HID_JOYSTICK_IN_REPORT Struct Reference

#include <usb_hid.h>

Data Fields

int16 x
 
int16 y
 
int16 z
 
int16 rx
 
int16 ry
 
int16 rz
 
int16 slider
 
int16 dial
 
uint32 buttons
 

Detailed Description

This struct contains input data sent in HID reports from the device's joystick interface to the host.

Definition at line 104 of file usb_hid.h.

Field Documentation

uint32 buttons

A bit map that specifies which buttons are pressed.

Definition at line 115 of file usb_hid.h.

int16 dial

Joystick's dial position. Valid values are from -32767 to 32767.

Definition at line 113 of file usb_hid.h.

int16 rx

Joystick's rotation about the X axis. Valid values are from -32767 to 32767.

Definition at line 109 of file usb_hid.h.

int16 ry

Joystick's rotation about the Y axis. Valid values are from -32767 to 32767.

Definition at line 110 of file usb_hid.h.

int16 rz

Joystick's rotation about the Z axis. Valid values are from -32767 to 32767.

Definition at line 111 of file usb_hid.h.

int16 slider

Joystick's slider position. Valid values are from -32767 to 32767.

Definition at line 112 of file usb_hid.h.

int16 x

Joystick X axis position. Valid values are from -32767 to 32767.

Definition at line 106 of file usb_hid.h.

int16 y

Joystick Y axis position. Valid values are from -32767 to 32767.

Definition at line 107 of file usb_hid.h.

int16 z

Joystick Z axis position. Valid values are from -32767 to 32767.

Definition at line 108 of file usb_hid.h.


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