|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WiimoteListener
This is the interface to implement to listen to events from wiimotes. The differents methods are called in this order : onButtonsEvent, onIrEvent, onMotionSensingEvent, onStatusEvent, onDisconnectionEvent.
Method Summary | |
---|---|
void |
onButtonsEvent(ButtonsEvent e)
Method called on a button Event. |
void |
onDisconnectionEvent(DisconnectionEvent e)
This is the method called when a disconnection event occurs. |
void |
onIrEvent(IREvent e)
Method called when an IR event occurs. |
void |
onMotionSensingEvent(MotionSensingEvent e)
Method called when a motion sensing event occurs. |
void |
onStatusEvent(StatusEvent e)
Method called on a status event. |
Method Detail |
---|
void onButtonsEvent(ButtonsEvent e)
e
- the buttonEvent with the last informations
about the buttons of the wiimote.void onIrEvent(IREvent e)
e
- the IREvent with the IR points seen.void onMotionSensingEvent(MotionSensingEvent e)
e
- the motion sensing event with orientation and acceleration.void onStatusEvent(StatusEvent e)
e
- the status event.void onDisconnectionEvent(DisconnectionEvent e)
e
- the disconnection event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |