VX++ Framework (VxCpp.dll)
Friendly Voxon development with classes
Public Attributes | List of all members
voxie_xbox_t Struct Reference

USB game controller input state struct. Used to manage USB game controller input. More...

#include <vxDataTypes.h>

Public Attributes

short but
 XBox controller buttons (same layout as XInput) More...
 
short lt
 XBox controller left analog trigger (0..255)
 
short rt
 XBox controller right analog trigger (0..255)
 
short tx0
 XBox controller left analog stick x axis (-32768..32767)
 
short ty0
 XBox controller left analog stick y axis (-32768..32767)
 
short tx1
 XBox controller right analog stick x axis (-32768..32767)
 
short ty1
 XBox controller right analog stick y axis (-32768..32767)
 
short hat
 Hat (some directional pads use this) input state (for supporting DirectInput controllers)
 

Detailed Description

USB game controller input state struct. Used to manage USB game controller input.

Member Data Documentation

◆ but

short voxie_xbox_t::but

XBox controller buttons (same layout as XInput)

See also
JoyButtonCodes

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