From:  http://teryx.bobdbob.com/~protius/dmd/

DMD Mouse pinout
----------------

1: +5V
2: vertical
3: vertical
4: horiz
5: horiz
6: gnd
7: middle button
8: right button
9: left button
A smallymouse can be connected directly (no inverters needed) and the DMD's 5V pin will power the smallymouse just fine.


PC6300 is the same!!
------------------
http://olivettim24.hadesnet.org/docs/m24schem.pdf

Apollo is the same:
------------------
12/23/22				


Apollo to Amiga Mouse converter				

DB9M to DB9M				

				

Apollo Keyboard			Amiga Mouse	

Pin	Signal 		Color	Pin	Signal

1	+5		BRN	7	+5

2	YB		RED	1	V

3	YA		ORN	3	VQ

4	XB		YEL	4	HQ

5	XA		GRN	2	H 

6	GND		BLU	8	GND

7	SWM (Button 2)	WHT	5	(M)

8	SWR (Button 3)	BLK	9	(R)

9	SWL (Button 1)	BRN	6	(L)