This question comes up from time to time.
First, let me say that the best way to approach this is to use separate interfaces for each device. This will provide the highest compatibility with MAME and all other applications, as both the spinner and the trackball can use the X-Axis simultaneously.
Having the trackball and spinner on the same interface can be done. However, the spinner must be connected to the Z-Axis, which creates some difficulties, as later versions of MAME do not correct for the 4x movement on the Z-axis imposed by Windows OSes. MAME can be patched to correct this, but this will help only in MAME. Any other applications expecting X-Axis mouse movements will not be compatible with the spinner on Z.
The Slave version of the TurboTwist2 comes with the correct wire to plug into any axis on a stock Opti-Wiz, or onto the Y and Z-Axis Master version headers. However, the Master version comes hardwired to the X-Axis for ease of installation. Anyone wishing to use a Master version TurboTwist2 board to also interface with a trackball, will need to make us aware of that when ordering, so we can hardwired the spinner to the Z-Axis. The axis used by the Master version can be changed by the end user, but requires some small solder jumpers to be altered.
RandyT