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
spacemouse and arduino
Moderator: Moderators