nullkal / UniSense

The Unity extension for DualSense controller
MIT License
90 stars 21 forks source link

Added gyro and accelerometer #1

Closed prnthp closed 3 years ago

prnthp commented 3 years ago

At first I tried using VC3S as the format and a Vector3 as a type for the gyro and accelerometer axes, but Unity seems to be marshaling them improperly (there needs to be an intermediate short -> float first, I think).

Awesome work on this, btw! Thank you!

Hope this helps!

prnthp commented 3 years ago

Sweet! That works!