Skip to content

DualShock 4 gyroscope extension for Unity Input System

Notifications You must be signed in to change notification settings

keijiro/GyroInputTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GyroInputTest

GIF

GyroInputTest is an extension for Unity Input System that adds gyroscope input support for DualShock 4 gamepads.

Known issues

  • 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.

Acknowledgements

The initial idea is based on SG4YK's implementation.

About

DualShock 4 gyroscope extension for Unity Input System

Resources

Stars

Watchers

Forks

Languages