I admit I’m having a craptonne of problems trying to get it to work properly too (been trying to hook up the Attitude), I can’t make the InputActions trigger at all.
However, if it helps, I found out how to poll for the attitude and gyro.
First, on Start or something, you need to enable the device. I enabled both in my case because I was trying to make it work.
if (UnityEngine.InputSystem.Gyroscope.current != null)
{
InputSystem.EnableDevice(UnityEngine.InputSystem.Gyroscope.current);
}
if (AttitudeSensor.current != null)
{
InputSystem.EnableDevice(AttitudeSensor.current);
}
This helped me also to get started with new input system, but at the end I could not get it working on android and ios… there is another thread about this topic and here’s the link to my answer there.