|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for processing events sent from Labtec's Spaceball 3003/2003 device.
NOTE: Implementation not finished and not tested. Any feedback welcome.
Spaceball, Spaceball 2003 and Spaceball 3003 are Trademarks of Labtec Inc.
| Method Summary | |
void |
processDeviceInfoResponse(int type,
int lineNumber,
java.lang.String content)
|
void |
processEchoResponse(byte[] data)
Method to process echo respones. |
void |
processError(int errorCode,
java.lang.String errorString)
Method to process error responses. |
void |
processRequestResponse(int type)
|
| Method Detail |
public void processRequestResponse(int type)
type - use constants
Spaceball3003Packet.GET_REZERO_BALL
public void processDeviceInfoResponse(int type,
int lineNumber,
java.lang.String content)
public void processError(int errorCode,
java.lang.String errorString)
errorCode - use constants
Spaceball3003Packet.
Spaceball3003Packet.HARDWARE_ERROR_CODE_1
Spaceball3003Packet.CALIBRATION_CHECKSUM_ERROR_CODE
Spaceball3003Packet.HARDWARE_ERROR_CODE_2
Spaceball3003Packet.HARDWARE_ERROR_CODE_3
Spaceball3003Packet.TRANSMIT_TIMEOUT_ERROR_CODE
Spaceball3003Packet.RECEIVE_OVERFLOW_ERROR_ERROR_CODE
Spaceball3003Packet.RECEIVE_ERROR_CODE
Spaceball3003Packet.BEEPER_QUEUE_OVERFLOW_ERROR_CODE
Spaceball3003Packet.PACKET_TOO_LONG_ERROR_CODE
public void processEchoResponse(byte[] data)
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||