• Welcome to Forum.Deepsoftware.Com. Please login or sign up.

HID: hiddemo_64: 3DConnexion SpacePilot data: How to parse?

Started by mcullinan, June 04, 2018, 06:48:19 am

Previous topic - Next topic


3DConnexion SpacePilot transmits data for KeyPresses[9], DialIncrements[6], Translations[3] and Rotations[3][3], all of which I would guess  is being picked up in the hiddemo_64 demo and displayed in the on-screen Events Log. KeyPress data and maybe Translations are readily discernible, for example.

But in the absence of 'opcodes' or markers or.. within the displayed data stream, as displayed in the demo's Events Log, it is not clear the best way to parse this data, say in the way that the 3DConnexion SDK permits. How might I reliably pick up entries of the Rotations array in the stream, for example?

Can others throw any light on this? Or is there something I may have missed by way of documentation of the component? Are there sources that might help me in this?

Hope I'm not missing something obvious!