openAVproductions / openAV-Ctlra

A plain C library to program with hardware controllers.
BSD 3-Clause "New" or "Revised" License
82 stars 16 forks source link

3dconnexion: SpaceMouse Pro support added #44

Closed harryhaaren closed 7 years ago

harryhaaren commented 7 years ago

This commit adds support to Ctlra for the SpaceMouse Pro. The wireless version of the device was used for testing, although it is expected to be similar to the wired version.

All input buttons are mapped to Ctlra events, and the 6-dof knob controller is mapped to 12 sliders as follows:

Combining two axis back into a single -1..1 range value is trivial in the application, if the application wants to use that range.

Signed-off-by: Harry van Haaren harryhaaren@gmail.com