joystick_example
Demonstrates programming for joystick.
Synopsis
joystick_example
Description
Demonstrates simple interaction with the joystick using data filtering and
calibration. Lets you move a cel (a cloud) around the screen with the
joystick and leaves a still of it on screen when you press the trigger.
Joytick controls
- Stick
- move in x and y
- Z
- zoom in/out
- U/D/L/R switch
- distort cel
- Trigger
- leave copy of cel on screen
- A
- clear screen
- B
- recalibrate stick (to recalibrate, hit B with stick in neutral
position and move the stick and z throttle to the limits of travel)
- C
- quit
Caveats
This is a simplified version of the broker shell example that just does
joystick interaction.
Associated Files
joystick_example.c, cloud.cel
Location
examples/EventBroker/Joystick