Raw input for C#

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

Moderator: Moderators

Post Reply
Posts: 3
Joined: Mon Nov 29, 2021 2:56 am

Raw input for C#

Post by Shytor » Sat Dec 04, 2021 3:27 am


I am working on a mod for a popular game (built in Unity) to support the spacemouse on Mac. A windows mod already exists that I am basing this on, however it uses the TDxInput.dll which is now deprecated. It uses the sensor input data to control the in-game camera directly.

I've been reading through the documentation for TDx.SpaceMouse.Navigation3D and it seems quite different. (apologies, I am new to spacemouse, and C#)

Is it possible to get the input data in C# using the SDK, or is there a different method? Also, will this even work on a Mac? The C# examples come from the windows SDK. I've been looking through the examples and can't quite piece together if I can use the matrix data or the iView at all.

If anyone can point me in the right direction or offer an example, I'd appreciate it greatly!


p.s. this is the code for the windows mod

Post Reply