RetroArch
Public Attributes | List of all members
ir_t Struct Reference

IR struct. Hold all data related to the IR tracking. More...

#include <wiiuse.h>

Collaboration diagram for ir_t:
[legend]

Public Attributes

struct ir_dot_t dot [4]
 
ubyte num_dots
 
int state
 
int raw_valid
 
sb_t sensorbar
 
float ax
 
float ay
 
float distance
 
float z
 
float angle
 
int smooth_valid
 
float sx
 
float sy
 
float error_cnt
 
float glitch_cnt
 
int valid
 
float x
 
float y
 
enum aspect_t aspect
 
enum ir_position_t pos
 
unsigned int vres [2]
 
int offset [2]
 

Detailed Description

IR struct. Hold all data related to the IR tracking.

Member Data Documentation

◆ angle

float ir_t::angle

angle of the wiimote to the sensor bar

◆ aspect

enum aspect_t ir_t::aspect

aspect ratio of the screen

◆ ax

float ir_t::ax

raw X coordinate

◆ ay

float ir_t::ay

raw Y coordinate

◆ distance

float ir_t::distance

pixel width of the sensor bar

◆ dot

struct ir_dot_t ir_t::dot[4]

IR dots

◆ error_cnt

float ir_t::error_cnt

error count, for smoothing algorithm

◆ glitch_cnt

float ir_t::glitch_cnt

glitch count, same

◆ num_dots

ubyte ir_t::num_dots

number of dots at this time

◆ offset

int ir_t::offset[2]

IR XY correction offset

◆ pos

enum ir_position_t ir_t::pos

IR sensor bar position

◆ raw_valid

int ir_t::raw_valid

is the raw position valid?

◆ sensorbar

sb_t ir_t::sensorbar

sensor bar, detected or guessed

◆ smooth_valid

int ir_t::smooth_valid

is the smoothed position valid?

◆ state

int ir_t::state

keeps track of the IR state

◆ sx

float ir_t::sx

smoothed X coordinate

◆ sy

float ir_t::sy

smoothed Y coordinate

◆ valid

int ir_t::valid

is the bounded position valid?

◆ vres

unsigned int ir_t::vres[2]

IR virtual screen resolution

◆ x

float ir_t::x

bounded X coordinate

◆ y

float ir_t::y

bounded Y coordinate

◆ z

float ir_t::z

calculated distance in meters


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