Tilt Five NDK  1.4.1
T5_WandReport Struct Reference

Contains wand related information (Pose, Buttons, Trigger, Stick, Battery) More...

#include <types.h>

Collaboration diagram for T5_WandReport:

Data Fields

uint64_t timestampNanos
 The timestamp of the wand event in nanoseconds. More...
 
bool analogValid
 Validity of analog parameters. True = valid. More...
 
bool batteryValid
 Validity of battery parameters. True = valid. More...
 
bool buttonsValid
 Validity of button parameters. True = valid. More...
 
bool poseValid
 Validity of pose parameters. True = valid. More...
 
float trigger
 Trigger - Analog, Range [0.0 - 1.0], 1.0 = Fully depressed. More...
 
T5_Vec2 stick
 Stick (X/Y) - Analog, Range [-1.0 - 1.0], 0 = Centered, 1.0 = Top/Right. More...
 
uint8_t battery
 Battery. More...
 
struct {
   bool   t5
 
   bool   one
 
   bool   two
 
   bool   three
 
   bool   a
 
   bool   b
 
   bool   x
 
   bool   y
 
buttons
 Buttons state. True = Pressed.
 
T5_Quat rotToWND_GBD
 WND/GBD rotation unit quaternion. More...
 
T5_Vec3 posAim_GBD
 Position (Aim Point) - Vector3f. More...
 
T5_Vec3 posFingertips_GBD
 Position (Fingertips) - Vector3f. More...
 
T5_Vec3 posGrip_GBD
 Position (Grip) - Vector3f. More...
 
T5_Hand hand
 Wand hand. More...
 

Detailed Description

Contains wand related information (Pose, Buttons, Trigger, Stick, Battery)

Definition at line 427 of file types.h.

Field Documentation

◆ a

bool T5_WandReport::a

Definition at line 459 of file types.h.

◆ analogValid

bool T5_WandReport::analogValid

Validity of analog parameters. True = valid.

Definition at line 432 of file types.h.

Referenced by operator<<().

◆ b

bool T5_WandReport::b

Definition at line 460 of file types.h.

◆ battery

uint8_t T5_WandReport::battery

Battery.

Definition at line 451 of file types.h.

◆ batteryValid

bool T5_WandReport::batteryValid

Validity of battery parameters. True = valid.

Definition at line 435 of file types.h.

◆ buttonsValid

bool T5_WandReport::buttonsValid

Validity of button parameters. True = valid.

Definition at line 438 of file types.h.

Referenced by operator<<().

◆ hand

T5_Hand T5_WandReport::hand

Wand hand.

Definition at line 481 of file types.h.

◆ one

bool T5_WandReport::one

Definition at line 456 of file types.h.

◆ posAim_GBD

T5_Vec3 T5_WandReport::posAim_GBD

Position (Aim Point) - Vector3f.

Definition at line 472 of file types.h.

◆ poseValid

bool T5_WandReport::poseValid

Validity of pose parameters. True = valid.

Definition at line 441 of file types.h.

Referenced by operator<<().

◆ posFingertips_GBD

T5_Vec3 T5_WandReport::posFingertips_GBD

Position (Fingertips) - Vector3f.

Definition at line 475 of file types.h.

◆ posGrip_GBD

T5_Vec3 T5_WandReport::posGrip_GBD

Position (Grip) - Vector3f.

Definition at line 478 of file types.h.

Referenced by operator<<().

◆ rotToWND_GBD

T5_Quat T5_WandReport::rotToWND_GBD

WND/GBD rotation unit quaternion.

The rotation unit quaternion that takes points from the GBD (gameboard) reference frame to the WND (wand) reference frame orientation.

Definition at line 469 of file types.h.

Referenced by operator<<().

◆ stick

T5_Vec2 T5_WandReport::stick

Stick (X/Y) - Analog, Range [-1.0 - 1.0], 0 = Centered, 1.0 = Top/Right.

Definition at line 447 of file types.h.

Referenced by operator<<().

◆ t5

bool T5_WandReport::t5

Definition at line 455 of file types.h.

◆ three

bool T5_WandReport::three

Definition at line 458 of file types.h.

◆ timestampNanos

uint64_t T5_WandReport::timestampNanos

The timestamp of the wand event in nanoseconds.

Definition at line 429 of file types.h.

◆ trigger

float T5_WandReport::trigger

Trigger - Analog, Range [0.0 - 1.0], 1.0 = Fully depressed.

Definition at line 444 of file types.h.

Referenced by operator<<().

◆ two

bool T5_WandReport::two

Definition at line 457 of file types.h.

◆ x

bool T5_WandReport::x

Definition at line 461 of file types.h.

◆ y

bool T5_WandReport::y

Definition at line 462 of file types.h.


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