Skip to content

v3.0: Some minor API improvements

Latest
Compare
Choose a tag to compare
@henriforshort henriforshort released this 28 May 21:34

Breaking

  • Change the name/fullname paradigm
    These two features were used partly for internal input polling, and partly for debugging purposes. I have decided to make them clearer.

    • fullname has been completely removed from Gamepad, Pressable and Stick.
    • name now behaves similarly to how fullname used to be, minus the name of the OS at the beginning. For instance, on Pressable "A" is now "Gamepad0_A" and on Stick "leftStick" is now "Gamepad0_leftStick". On gamepad, name still returns the same result.
  • xboxButton feature of Gamepad has been removed
    This button was only functional on MacOS and was seeing very little use.

Fixes

  • Fixed a bug causing the example scene to not render properly with 3+ connected controllers

General

  • Updater is now instanciated as a child of the Settings object, instead of on the same GameObject

  • Add a selector for which gamepad to vibrate in the Debug Scene

  • Reword some of the comments and document to make the overall tone more professional

  • Remove my personal info in a few places where it remained, and replace it with the official Hinput email address