SDL  2.0
ValveControllerStatePacket_t Struct Reference

#include <controller_structs.h>

Data Fields

uint32 unPacketNum
 
union {
   uint64   ulButtons
 
   struct {
      unsigned char   _pad0 [3]
 
      unsigned char   nLeft
 
      unsigned char   nRight
 
      unsigned char   _pad1 [3]
 
   }   Triggers
 
ButtonTriggerData
 
short sLeftPadX
 
short sLeftPadY
 
short sRightPadX
 
short sRightPadY
 
unsigned short sTriggerL
 
unsigned short sTriggerR
 
short sAccelX
 
short sAccelY
 
short sAccelZ
 
short sGyroX
 
short sGyroY
 
short sGyroZ
 
short sGyroQuatW
 
short sGyroQuatX
 
short sGyroQuatY
 
short sGyroQuatZ
 

Detailed Description

Definition at line 56 of file controller_structs.h.

Field Documentation

◆ _pad0

unsigned char ValveControllerStatePacket_t::_pad0[3]

Definition at line 68 of file controller_structs.h.

◆ _pad1

unsigned char ValveControllerStatePacket_t::_pad1[3]

Definition at line 71 of file controller_structs.h.

◆ 

union { ... } ValveControllerStatePacket_t::ButtonTriggerData

◆ nLeft

unsigned char ValveControllerStatePacket_t::nLeft

Definition at line 69 of file controller_structs.h.

◆ nRight

unsigned char ValveControllerStatePacket_t::nRight

Definition at line 70 of file controller_structs.h.

◆ sAccelX

short ValveControllerStatePacket_t::sAccelX

Definition at line 88 of file controller_structs.h.

◆ sAccelY

short ValveControllerStatePacket_t::sAccelY

Definition at line 89 of file controller_structs.h.

◆ sAccelZ

short ValveControllerStatePacket_t::sAccelZ

Definition at line 90 of file controller_structs.h.

◆ sGyroQuatW

short ValveControllerStatePacket_t::sGyroQuatW

Definition at line 96 of file controller_structs.h.

◆ sGyroQuatX

short ValveControllerStatePacket_t::sGyroQuatX

Definition at line 97 of file controller_structs.h.

◆ sGyroQuatY

short ValveControllerStatePacket_t::sGyroQuatY

Definition at line 98 of file controller_structs.h.

◆ sGyroQuatZ

short ValveControllerStatePacket_t::sGyroQuatZ

Definition at line 99 of file controller_structs.h.

◆ sGyroX

short ValveControllerStatePacket_t::sGyroX

Definition at line 92 of file controller_structs.h.

◆ sGyroY

short ValveControllerStatePacket_t::sGyroY

Definition at line 93 of file controller_structs.h.

◆ sGyroZ

short ValveControllerStatePacket_t::sGyroZ

Definition at line 94 of file controller_structs.h.

◆ sLeftPadX

short ValveControllerStatePacket_t::sLeftPadX

Definition at line 76 of file controller_structs.h.

◆ sLeftPadY

short ValveControllerStatePacket_t::sLeftPadY

Definition at line 77 of file controller_structs.h.

◆ sRightPadX

short ValveControllerStatePacket_t::sRightPadX

Definition at line 80 of file controller_structs.h.

◆ sRightPadY

short ValveControllerStatePacket_t::sRightPadY

Definition at line 81 of file controller_structs.h.

◆ sTriggerL

unsigned short ValveControllerStatePacket_t::sTriggerL

Definition at line 84 of file controller_structs.h.

◆ sTriggerR

unsigned short ValveControllerStatePacket_t::sTriggerR

Definition at line 85 of file controller_structs.h.

◆ 

struct { ... } ValveControllerStatePacket_t::Triggers

◆ ulButtons

uint64 ValveControllerStatePacket_t::ulButtons

Definition at line 65 of file controller_structs.h.

◆ unPacketNum

uint32 ValveControllerStatePacket_t::unPacketNum

Definition at line 60 of file controller_structs.h.


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