spacemouse and arduino

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Locked
Thorsten
Posts: 6
Joined: Fri Jan 30, 2015 1:15 pm

spacemouse and arduino

Post by Thorsten »

Hi again,
I already posted this question in the german forum.
The goal is to control a quadrocopter via a spacemouse. Hardware is an arduino mega 2560 with a USB shield 2.0.
I found a library here , but it's not very helpful. This library is only a clone of the Hid Joystick library, reading 5 Byte and send it to serial.
I found that the Spacemouse sends a Byte with the mode# followed by singned int with Tx, Ty and Tz or Rx, Ry, Rz
Mode 3 is followed by 6 Bytes containing the Buttonnumber.
First question, is this correct?
Another question is, is there a doc about other commands, like turn in the Led, Device identifyer.
Do i have to handle the dominant mode by Software, or is there a Command.

regards Thorsten
UtaSH
Moderator
Moderator
Posts: 3754
Joined: Mon Nov 27, 2006 10:34 am
Location: Munich, Germany
Contact:

Re: spacemouse and arduino

Post by UtaSH »

This is a duplicate of another post. Closing this topic.
Locked