Skip to content

Releases: lunarcloud/gameinputjs

Published on NPMJS

04 Jul 01:54
Compare
Choose a tag to compare

Improved the README and moved publishing of packages off github and to npmjs.com - so normal people can install this without hassle.

13.2.1

29 Jun 17:22
Compare
Choose a tag to compare

Version bump and pipeline fix

13.2.0 - More Mapping, Support Combo-Axes

29 Jun 17:11
66e990d
Compare
Choose a tag to compare

Ensured Support for the following:

  • Hori Fight Stick Mini (all modes)
  • Mayflash Arcade Stick (fixed Windows stick support)
  • MAGIC-S PRO (fixed Windows d-pad support)
  • 8BitDo Zero 2
  • 8BitDo M30
  • Afterglow Gamepad for PS3

New Axis Mapping Type

Much of the new mapping is possible thanks to the new support for d-pads and analog sticks that combine mapping of horizontal and vertical axes onto one axis. This typically happens for PlayStation support, and seems to universally be on Axis 9.
See class CombinedAxesAsStick and the new SchemaButtonDef type CombinedAxisToButton.

13.1.0

14 Dec 02:39
ffa8926
Compare
Choose a tag to compare

Made it easier to use the "ordinal" feature - to get the primary/secondary button instead of just face->down and face->right (because nintendo is right-to-left direction).

13.0.1 - More Buttons, Standard-like Mappings

13 Dec 04:29
827d79e
Compare
Choose a tag to compare

For Library Users

We now support the "back" or "select" button, as well as the two analogue stick "push in"/"stick click" buttons.
The demo has been simplified and is a better example of how to use the library than it used to be.
We've dropped support for "DetectedBrowser" - the library doesn't need it and it never supported many browsers anyway.

For Internal developers

The gamepad button mappings have all been re-worked so it's easier to contribute to. The biggest thing is that the indexes match the Gamepad API, 0-based, so no more trying to add/remove "1" in your head when writing a new gamepad mapping.

12.3.1 - JoyCon Support

19 Oct 22:12
da218d5
Compare
Choose a tag to compare

The big feature is Joycon support.

P.S.
Seems like on windows this only works for Chrome and for Linux this only works for Firefox.
I can only make sure to recognize and map them where they show up in the API.

12.2.2 - Fixed Model Definitions

15 Oct 22:40
Compare
Choose a tag to compare

Fixed a bug that prevented the new DualSense and Xbox Series controllers from being detected if they were defined as non-OS-dependent.

12.2.1 - Packaged for NPM

15 Oct 22:26
4f39c8c
Compare
Choose a tag to compare

We are now published automatically on release as a package you can include via NPM.

12.2.0 - Now available via NPM

15 Oct 22:21
caf13c4
Compare
Choose a tag to compare
Pre-release

Releases should now publish as NPM packages.

12.1.0 - Now it Makes (Dual) Sense

15 Oct 21:39
Compare
Choose a tag to compare

Added more gamepad models, particularly the Playstation 5's DualSense and Xbox Series Wireless (and Wired) gamepads.
Demo is a bit cleaner looking and removed the "theme" property that was confusingly unused in the player.