luckie

Uses the event broker to read events from the first control pad.

Synopsis

luckie [anything]

Description

Uses the event broker to monitor and report activity for the first control pad plugged in to the control port.

Arguments

anything
If you supply no arguments to this program, it asks GetControlPad() to put the task to sleep when waiting for an event. If you supply an argument, GetControlPad() will not put the task to sleep, and the program will poll the control pad.

Associated Files

luckie.c

Location

examples/EventBroker/Event_Broker_Tests