Skip to content

Releases: RonenNess/stinput

StInput v2.0.1

10 Jan 16:55
Compare
Choose a tag to compare
  • Added 'element' param in constructor to allow the user to choose which element to register events on.
  • Added option to control if StInput prevent defaults or not.
  • Added option to disable context menu.
  • Added option to control if mouse delta is enabled while wheel is down or not.

StInput v2.0.0

09 Jan 19:51
Compare
Choose a tag to compare
  • Refactored (and extended) entire API.
  • Fixed bug with mouse delta while wheel is held down.
  • Bugfix and internal optimizations / clearer code.
  • Added touch (behaves like mouse).

StInput v1.0.2

15 Oct 18:36
Compare
Choose a tag to compare
  • Added 'pressed now' API for keyboard and mouse.
  • Renamed 'isReleased' to 'releasedNow' in all corresponding methods.
  • Minor code refactor for better code reusability.
  • Added Mouse Wheel Change getter to API.

StInput v1.0.1

06 Jun 22:24
Compare
Choose a tag to compare
bug fix

StInput v1.0.0

28 Apr 11:39
Compare
Choose a tag to compare

First release.