Is there any way to retrieve or determine the maximum possible value returned by the device with COM? The range of these values change based on the sensitivity settings on the 3Dconnexion control panel.
Thanks,
Michael
Maximum value from device
Moderator: Moderators
Hi Michael,
Not with our COM (3DxInput) API. You can get more information by using the HID API, or the old 3DxWare Win32 API.
Even so, the data can be scaled by the user to outrageous values by clever manipulations of the config files. The best thing for you to do is assume that values will be +/-500, then clamp the values at that point if it would cause a problem in your code to get anything outside that range.
That still allows the users to change the slope of the data w/o blowing up your code.
Jim
3Dx Software Development
Not with our COM (3DxInput) API. You can get more information by using the HID API, or the old 3DxWare Win32 API.
Even so, the data can be scaled by the user to outrageous values by clever manipulations of the config files. The best thing for you to do is assume that values will be +/-500, then clamp the values at that point if it would cause a problem in your code to get anything outside that range.
That still allows the users to change the slope of the data w/o blowing up your code.
Jim
3Dx Software Development
getting logical max and logical min values
I am using HID SDK of windows to interact wit devices.
logical max and min values are stored in an array which is often named pInputValueCaps in the structure of the device.
For a space explorer they are 6 input values (so, 6 input capabilities).
What is the mapping (index-> values)?
is it :
0-> tx
1-> ty
2-> tz
3-> rx
4-> ry
5-> rz
logical max and min values are stored in an array which is often named pInputValueCaps in the structure of the device.
For a space explorer they are 6 input values (so, 6 input capabilities).
What is the mapping (index-> values)?
is it :
0-> tx
1-> ty
2-> tz
3-> rx
4-> ry
5-> rz
I'm not sure I understand your question.
The HID nomenclature for the axes matches the 2D mouse plus the additional axes:
X - movement left and right, parallel to the desk
Y - movement toward you and away from you parallel to the desk
Z - movement perpendicular to the desk
The rotations are for rotation along each of those axes using the right hand rule.
The HID nomenclature for the axes matches the 2D mouse plus the additional axes:
X - movement left and right, parallel to the desk
Y - movement toward you and away from you parallel to the desk
Z - movement perpendicular to the desk
The rotations are for rotation along each of those axes using the right hand rule.