lightgundemo

Simple example program which uses lightgun.c functions.

Synopsis

lightgundemo

Description

Displays a static image and uses the convenience routines in lightgun.c to handle lightgun and control pad events. Prints coordinates to the Debugger Terminal window after every gun shot pointed at the screen.

The program also calibrates itself on a target in the upper left hand corner.

Associated Files

lightgun.c, lightgun.h, lightgundemo.c

Location

examples/EventBroker/LightGun