As a suggest from Zozo I begun this last weekend to think of a way to implement an automatic detection of the connected controller. This is chronologically what I have been thinking:
There are some problems here, one of them is how to discriminate Boxsoft mode from EnterMice mode.
Theoretically it could be done comparing the lectures of the two columns, J(Boxsoft) and K(EnterMice), in the same cycle, selecting the column that returns different than 0,0. But the user must be moving the mouse in one of the modes, as a lecture returns 0,0 if not moving, the same if not exist or disconnected.
Both modes have extended Prodatron's protocol when in EnterMice adapter, and also Pear's protocol extension.
Pressing main buttons can do, but Entermice mode uses fire of Joy 1, and it collides with detecting the three Joysticks.
On the other side the Joysticks return nothing when in rest position....