Pause Wii pointing work with firmware 0.33-wii-trace installed. Preserve the pinned libogc IR pipeline, calibrated native IMU, software BOOTSEL, and standard camera sensitivity trial. Tracking instability, tracking loss, and ineffective vertical movement remain unresolved. Level-2 camera filtering is not hardware-qualified. Nine targeted regression tests pass; firmware and persistent storage were verified after flashing.
22 lines
413 B
C
22 lines
413 B
C
#ifndef __IR_H__
|
|
#define __IR_H__
|
|
|
|
#include "wiiuse_internal.h"
|
|
|
|
#define WII_VRES_X 560
|
|
#define WII_VRES_Y 340
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void calculate_basic_ir(struct wiimote_t* wm, ubyte* data);
|
|
void calculate_extended_ir(struct wiimote_t* wm, ubyte* data);
|
|
float calc_yaw(struct ir_t* ir);
|
|
void interpret_ir_data(struct ir_t* ir, struct orient_t *orient);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|