|
||||||||||
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, onExpansionEvent, onStatusEvent, onDisconnectionEvent onNunchukInsertedEvent, onNunchukRemovedEvent.
Method Summary | |
---|---|
void |
onButtonsEvent(WiimoteButtonsEvent e)
Method called on a button Event. |
void |
onDisconnectionEvent(DisconnectionEvent e)
This is the method called when a disconnection event occurs. |
void |
onExpansionEvent(ExpansionEvent e)
Method called when an expansion 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 |
onNunchukInsertedEvent(NunchukInsertedEvent e)
This is the method called when a NunchukInsertedEvent occurs. |
void |
onNunchukRemovedEvent(NunchukRemovedEvent e)
This is the method called when a NunchukRemovedEvent occurs. |
void |
onStatusEvent(StatusEvent e)
Method called on a status event. |
Method Detail |
---|
void onButtonsEvent(WiimoteButtonsEvent 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 onExpansionEvent(ExpansionEvent e)
e
- the expansion event occured.void onStatusEvent(StatusEvent e)
e
- the status event.void onDisconnectionEvent(DisconnectionEvent e)
e
- the disconnection event.void onNunchukInsertedEvent(NunchukInsertedEvent e)
e
- the NunchukInsertedEvent.void onNunchukRemovedEvent(NunchukRemovedEvent e)
e
- the NunchukRemovedEvent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |