SDL  2.0
ValveControllerBLEStatePacket_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 char ucGyroDataType
 
short sGyro [4]
 

Detailed Description

Definition at line 105 of file controller_structs.h.

Field Documentation

◆ _pad0

unsigned char ValveControllerBLEStatePacket_t::_pad0[3]

Definition at line 117 of file controller_structs.h.

◆ _pad1

unsigned char ValveControllerBLEStatePacket_t::_pad1[3]

Definition at line 120 of file controller_structs.h.

◆ 

union { ... } ValveControllerBLEStatePacket_t::ButtonTriggerData

◆ nLeft

unsigned char ValveControllerBLEStatePacket_t::nLeft

Definition at line 118 of file controller_structs.h.

◆ nRight

unsigned char ValveControllerBLEStatePacket_t::nRight

Definition at line 119 of file controller_structs.h.

◆ sGyro

short ValveControllerBLEStatePacket_t::sGyro[4]

Definition at line 134 of file controller_structs.h.

◆ sLeftPadX

short ValveControllerBLEStatePacket_t::sLeftPadX

Definition at line 125 of file controller_structs.h.

◆ sLeftPadY

short ValveControllerBLEStatePacket_t::sLeftPadY

Definition at line 126 of file controller_structs.h.

◆ sRightPadX

short ValveControllerBLEStatePacket_t::sRightPadX

Definition at line 129 of file controller_structs.h.

◆ sRightPadY

short ValveControllerBLEStatePacket_t::sRightPadY

Definition at line 130 of file controller_structs.h.

◆ 

struct { ... } ValveControllerBLEStatePacket_t::Triggers

◆ ucGyroDataType

unsigned char ValveControllerBLEStatePacket_t::ucGyroDataType

Definition at line 133 of file controller_structs.h.

◆ ulButtons

uint64 ValveControllerBLEStatePacket_t::ulButtons

Definition at line 114 of file controller_structs.h.

◆ unPacketNum

uint32 ValveControllerBLEStatePacket_t::unPacketNum

Definition at line 109 of file controller_structs.h.


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