axis values

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
vekni
Posts: 6
Joined: Mon Jun 06, 2011 2:59 am

axis values

Post by vekni »

Hello,

I would like to know what is the range for the axis values?, without any function to do something on the values, my program gives me values between 0 (i guess)min and 65534 (I guess...)max and the center is 32767 (i'm sure of that ^^), are these values ok?
jwick
Moderator
Moderator
Posts: 3339
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

It may depend on which API you are using.

The device generally produces signed values +/- 350-ish (they are not all the same), but the user can scale these values with the software to any valid integer. So don't count on a limited range.

Since you are seeing all positive numbers, it looks like you are using a joystick-type of API. Joysticks run from 0 to 65K from one extreme to the other.
Post Reply