Stealth Serial Mouse
Developer’s Guide
This paper is intended to provide a starting point for developers who wish to integrate the Stealth Serial Mouse with their software.
The information provided here in respect to Windows programming has not been verified by the author in all cases with actual examples. Please do your own investigations.
The device is an ergonomic, two-handed mouse with 10 buttons and a Z-Wheel. It has an optical XY motion sensor, a high-resolution wheel, and is compatible with the 3D Mouse from Threed-For-Me.
The mouse can be used with any computer that supports serial ports.
The mouse can be programmed for up to 1023 functions. By pressing combinations of buttons, up to 1023 functions can be generated.
The Stealth 3D Mouse buttons are arranged like this:
>
For operating systems like Microsoft Windows, the standard operating system serial port drivers are needed, in addition to special programming by the application.
The mouse supports two way communication.
Sending Data to the Mouse
The Mouse accepts only one command. The command is
Receiving Data from the Mouse
The mouse sends data automatically in the following cases: 1) When motion is detected, 2) When a Button is pressed, 3) When a Button is released. The data stream looks like the following: BbbbXxxxYyyyZzzz
B1X1Y1Z1 |
Button 1 is pressed. X has changed by 1, Y has changed by 1 and Z has changed by 1 |
X1Z-3 |
X has changed by 1 and Z has changed by -3 |
B24Z-1 |
Buttons 4 and 5 are both pressed, and Z has changed by -1 |
B1023 |
All 10 buttons have been pressed |
B0 |
All buttons have been released |
Timothy Roberts, Development Director
ABC Software Developers
30 April, 2001
Email: info@stealth3dmouse.com