Skip to content

JoyShockLibrary 2.0.0

Compare
Choose a tag to compare
@JibbSmart JibbSmart released this 31 Aug 08:15
· 76 commits to master since this release

JoyShockLibrary reads DualShock 4, JoyCon, and Pro Controller input. Use this to add native support for these controllers to your games.

Version 2 adds a sensor fusion solution to help calculate orientation and separate gravity and acceleration. It also includes touchpad support for the DualShock 4.

This version breaks backwards compatibility with previous versions! The gyro and accelerometer axes have been changed to be consistent with each other. When upgrading to this version, if you are using the gyro and/or accelerometer data and don't want behaviour to change, please:

  • Invert Gyro X
  • Swap Accel Z and Y
  • Then invert Accel Z