Looking at the schematic and the board, I think I've got this right, but I can't get any computer to recognize it.
To confirm that you have the pin numbers right, apply power to the board and use your phone camera to see if the IR LEDs light.
- If they light, the pin numbers are right because the LEDs are forward biased.
- If they don't light, the pin numbers are backward because the LEDs are reverse biased.
If the LEDs light but you get no movement when you block/unblock the optos, you may have an active-high opto board and an active-low mouse encoder. (or vice-versa)
- What voltages do you get for logic HIGH and LOW?
Scott