Skip to content

v1.5.0 : March 2020 release - Support for Unity 2019.3 and beyond !

Compare
Choose a tag to compare
@henriforshort henriforshort released this 28 Mar 18:08
· 82 commits to master since this release

features:

  • hinput can now be set up correctly on Unity versions 2019.3 and later
    Many people requested this, and I finally found a way to dump hundreds of controls into the new input manager. Note that in some versions of Unity you will need to manually reimport your asset database after setting up hinput.

fixes:

  • Fixed a bug where XInput would sometimes cause conflicts in WebGL builds

  • Fixed a typo causing hinput to not be correctly set up in case-sensitive OSes

  • Set the proper range for triggers on Linux
    I had read somewhere that gamepad drivers on Linux returned values between -1 and 1 for triggers, so I lerped it back to the [0,1] range. But that info was wrong and the data was already in [0,1], so I was actually lerping it into the [0.5,1] range.

  • Renamed the menu option from "Setup hinput" to "Set up hinput"
    Apparently "setup" is a noun, while "set up" is a verb. The more you know.

general:

  • Switched the working project to the definitive version 2019.1 of Unity

  • Lightly refactored the testing script to support older versions of Unity