Testing the Mouse
To test the mouse, follow these steps:
- Connect the mouse as described above, and place it on the mouse pad.
- Start the 3DO Development Station and the Macintosh, and launch the Debugger.
You can now type the name of one of the programs (described in Sample Programs), into the Debugger Terminal window. Press Enter.
cdump
prints information about the devices hooked up to the bus.
It should notice that a mouse is currently hooked up.
lookie
and maus
print messages as you click or move the mouse:
-
- left button is the high bit (31)
- middle button is the next bit (30)
- right button is the low bit (29)
- since the 0,0 point is in the top-left corner, moving the mouse down or to the right increases the numbers that are printed, moving the mouse left or up decreases the numbers.
luckie
prints messages about the first control pad only;
you should not get information about the mouse.
focus
prints messages only while a program is running.
Try it later when you execute your first program using the mouse.
To exit from any of the programs testing the mouse, press all three buttons at the same time.