[[File:Atari-ST mouse adapter.gif]]
The schematic was released in german German magazine "Schneider Magazin, 07/1988", apparently using 5 diodes and a 4.5V battery.
Aside from Atari-ST mice, the circuit should also work for Amiga mice, which are basically the same, but with XB/YA/YB connected to other pins, which could be resolved at software side (or at hardware side).