In November of 2003, I chanced to discover that certain optical encoder chips used in inexpensive optical mice produced quadrature output, such as would be generated by the optomechanical motion sensors in old-fashioned optomechanical mice. Since the old Archimedes and Risc PC computers used mice which only gave quadrature output, plus the 3 button states, it occurred to me that one of these mice could be modified to work with the older Acorn machines, using the lead from an old Acorn mouse.
Here's how it was done, but first a couple of notes. The wire colours given here are not universally used: I found a couple of mice with slightly different assignments. Before soldering anything up, use a continuity tester to check the wire/pin assignments against the diagram and table given below, and make your own table if any differ.
The buttons in an Acorn mouse are sensed differently from those in this mouse. When a button is pressed on an Acorn mouse, the signal changes from +5V to zero, this mouse does the opposite. For this reason, it was necessary to cut some circuit board tracks and add some pull-up resistors to make the buttons work properly. These resistors connect the button signal wire to a track carrying +5V. Some wires have been added to connect the other side of the button switches to the 0V rail. See the picture below.
I couldn't find a data sheet for the exact chip used here, but there's a whole family of similarly packaged chips from the same maker (Agilent), which have identical pin assignments. Here is the data sheet for the ADNS 2051. You can find this and others at www.agilent.com under semiconductor products/optical navigation.