RetroArch
|
IR struct. Hold all data related to the IR tracking. More...
#include <wiiuse.h>
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] |
IR struct. Hold all data related to the IR tracking.
float ir_t::angle |
angle of the wiimote to the sensor bar
enum aspect_t ir_t::aspect |
aspect ratio of the screen
float ir_t::ax |
raw X coordinate
float ir_t::ay |
raw Y coordinate
float ir_t::distance |
pixel width of the sensor bar
struct ir_dot_t ir_t::dot[4] |
IR dots
float ir_t::error_cnt |
error count, for smoothing algorithm
float ir_t::glitch_cnt |
glitch count, same
ubyte ir_t::num_dots |
number of dots at this time
int ir_t::offset[2] |
IR XY correction offset
enum ir_position_t ir_t::pos |
IR sensor bar position
int ir_t::raw_valid |
is the raw position valid?
sb_t ir_t::sensorbar |
sensor bar, detected or guessed
int ir_t::smooth_valid |
is the smoothed position valid?
int ir_t::state |
keeps track of the IR state
float ir_t::sx |
smoothed X coordinate
float ir_t::sy |
smoothed Y coordinate
int ir_t::valid |
is the bounded position valid?
unsigned int ir_t::vres[2] |
IR virtual screen resolution
float ir_t::x |
bounded X coordinate
float ir_t::y |
bounded Y coordinate
float ir_t::z |
calculated distance in meters