This article is from the Apple II Csa2 FAQ, by Jeff Hurlburt with numerous contributions by others.
The IIe/IIc/Mac Plus mouses can plug into the //c or IIc+ Game/Mouse Port
or, on a IIe, into the 9-pin socket of a Mouse Card. When plugged into the //
c or IIc+, several Game Port pins are redefined for use with a mouse.
Dsub-9 Female Socket on Computer Dsub-9 Male Plug on Mouse
,---------------------. ,---------------------.
\ 5 4 3 2 1 / \ 1 2 3 4 5 /
\ 9 8 7 6 / \ 6 7 8 9 /
`-----------------' `-----------------'
Mouse Usual //c, IIc+ Game Port Function
1 MOUSE ID Pushbutton 1
2 +5V +5V
3 GND GND
4 XDIR no Game Port function on //c, IIc+;
this TTL-compatible input can be read at $C066
5 XMOVE Game Control 0 or PDL0 (Joystick X-axis)
6 n.c. (no Game Port function on //c, IIc+)
7 MOUSE BUTTON Pushbutton 0
8 YDIR Game Control 1 or PDL1 (Joystick Y-axis)
9 YMOVE no Game Port function on //c, IIc+;
this TTL-compatible input can be read at $C067
 
Continue to: