Is it possible to read controller gyroscope data?

I’m specifically working with a Steamdeck, but as Accelerometer.isEnabled returns false I assume the gyroscope is at the controller-level.

Is there any way to access this? I don’t see anything in the API, nor does googling turn up any solutions.


You might be able to get that information from the GameInput API. I’m not sure, though.

If it works, the controller will be a GameInputDevice. If the controller’s accelerometer is exposed, it should be through one or more GameInputControl instances. I assume it would be split into three (for x, y, and z), since each GameInputControl provides a single Float value only.

Yeah, unfortunately GameInputDevice doesn’t expose anything that looks like that. I thought it might even be delivered as a GameInputControl but that just seems to be sticks and buttons.