Hans-Christoph Steiner a écrit :
There is already a serial mouse object in the CVS, tho I can't vouch
for whether it works or not.
Where? I can't find it. I suppose it's not a cross-platform external. A decoding external is more portable.
But I must say that serial mice leave a lot to be desired as controllers. For example, I believe that have a 24Hz refresh rate.
A serial mouse works at 1200 baud, which is 150 bytes/seconds. At this speed it works with very long cables (3 conductors audio cables are fine), so it's good for installations. The data packet is three bytes long, so the refresh rate would be 50 hz. I connected a serial mouse to a trackball in order to control an OpenGL cube (not a Gem cube), and it was fast enough.
But they are quite hackable.
Marc