| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WiiRemoteListener
Listener interface for the remote. Contains listener information for all remote channels. Note that any time-intensive tasks should be executed in their own threads, as otherwise, they will block the event-dispatch thread.
| Method Summary | |
|---|---|
|  void | accelerationInputReceived(WRAccelerationEvent evt)Fires whenever data is received from the accelerometer. | 
|  void | buttonInputReceived(WRButtonEvent evt)Fires whenever data is received from the buttons. | 
|  void | combinedInputReceived(WRCombinedEvent evt)Fires whenever input is received on the regular input reports (0x30...0x3f). | 
|  void | disconnected()Fires when the WiiRemote disconnects. | 
|  void | extensionConnected(WiiRemoteExtension extension)Fires when an extension is connected and properly setup. | 
|  void | extensionDisconnected(WiiRemoteExtension extension)Fires when an extension disconnects. | 
|  void | extensionInputReceived(WRExtensionEvent evt)Fires whenever there's input from the extension port. | 
|  void | extensionPartiallyInserted()Fires when an extension is partially inserted. | 
|  void | extensionUnknown()Fires when an extension of an unknown type connects. | 
|  void | IRInputReceived(WRIREvent evt)Fires whenever data is received from IR sensor. | 
|  void | statusReported(WRStatusEvent evt)Fires whenever status data is received. | 
| Method Detail | 
|---|
void buttonInputReceived(WRButtonEvent evt)
evt - the WRButtonEvent containing information on the buttons pressed.combinedInputReceived(WRCombinedEvent)void statusReported(WRStatusEvent evt)
evt - the WRStatusEvent containing status information.void accelerationInputReceived(WRAccelerationEvent evt)
evt - the WRAccelerationEvent containing acceleration information.combinedInputReceived(WRCombinedEvent)void IRInputReceived(WRIREvent evt)
evt - the WRIREvent containing acceleration information.combinedInputReceived(WRCombinedEvent)void extensionInputReceived(WRExtensionEvent evt)
evt - the WRExtensionEvent containing input from the extension port.combinedInputReceived(WRCombinedEvent)void extensionConnected(WiiRemoteExtension extension)
extension - the extension that was connected.void extensionPartiallyInserted()
void extensionUnknown()
void extensionDisconnected(WiiRemoteExtension extension)
extension - the extension that was disconnected.void combinedInputReceived(WRCombinedEvent evt)
evt - a combined event, containing button press, acceleration, IR, and extension events.buttonInputReceived(WRButtonEvent), 
accelerationInputReceived(WRAccelerationEvent), 
IRInputReceived(WRIREvent), 
extensionInputReceived(WRExtensionEvent)void disconnected()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||