Detect if a controller is vibrating/rumbling

I am trying to find a way of detecting when a controller is vibrating.

I know you can set vibration but cannot figure out a to see if it is currently vibrating. I have been searching around for a while but cant find the answer anywhere.

I cant find this in the Unity input documentation or in the Rewired documentation.

My goal is to have my game run in the background of another game. So when the game you are playing makes the controller vibrate, my game would detect that.

No idea if its possible but thought I would ask :slight_smile:

Generally I don’t think this would ever work for the simple reason of security: the operating system gives all the input devices to the current running process. There’s probably platform-specific ways to hack it (like in Windows, which seems to be able to get every possible key-sniffing virus trojan code possible), but that would be outside of Unity.

Most APIs do not allow you to query vibration level, only set it. XInput only allows you to set it.