Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:gspfldr:12pgs032

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

documentation/development/opera/pf25/ppgfldr/smmfldr/gspfldr/12pgs032.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1