[Bf-committers] inverted axes on NDOF mac plugin
Ettore Pasquini
ettore_pasquini at 3dconnexion.com
Tue Jul 31 23:16:18 CEST 2007
Jean-Luc,
I noticed that the motion of 2 DOF (TY and RZ) are inverted on the mac if I
use your plugin. This doesn't happen on the other platforms, so I flipped
them in the plugin like this:
NDOFStatus->tx = state->axis[0];
NDOFStatus->ty = -state->axis[1];
NDOFStatus->tz = state->axis[2];
NDOFStatus->rx = state->axis[3];
NDOFStatus->ry = state->axis[4];
NDOFStatus->rz = -state->axis[5];
Not sure why they are inverted, but this is what I've always seen on the
Mac. What do you think?
Ettore
More information about the Bf-committers
mailing list