GyroInputTest is an extension for Unity Input System that adds gyroscope input support for DualShock 4 gamepads.
- The constants for gyroscopic data from DualShock 4 are undocumented and unknown. I put plausible values just by guessing. It seems to work but may contain small errors.
- I implemented gyroscope drift compensation for the pitch/bank angles. It does nothing about the yaw angle; It may drift constantly.
The initial idea is based on SG4YK's implementation.