This project shows how you can get the motion sensor data of your DualShock4 controller using Unity's new Input System.
English: https://blog.sg4yk.com/dual_shock_motion_in_unity_en.html
Simplified Chinese: https://blog.sg4yk.com/dual_shock_motion_in_unity.html
Notice
- The new Input System requires Unity 2019.1 or later.
- This project was configured usign Unity 2019.3.1f1