- New preset function makes it easy to get started with the preset gamepad SVG and customize later.
- Support for 8-way dpads (diagonal directions) - see simple & custom gamepads examples
- Improved consistency & file size for default gamepad SVGs - SVGs and necessary CSS can now be imported from the NPM library for use with bundlers & build tools.
- Improved & Updated SVG Optimization script to SVGO 2
- This is the recommended way to create custom SVG gamepads.
- Now supports proper global collision hash prefixes and correct layer name parsing from Adobe Suite, Afffinity Suite & Others.
- Can be imported from the NPM library
- Improved vector SVG authoring tips.
DEPRECATED:
- Joystick direction arrows/"highlights" have are deprecated to be removed in the next release - they are fairly niche feature that can easily be re-implemented with extraData in the joystick config and a custom joystickDisplayFunction - SEE custom gamepads example.
- Rearranged package structure to no longer require importing packages from /dist
- All classes now have cleanup() destructor functions.
DEPRICATED:
-
importing from /dist folder is deprecated but will still be supported until a major release.
-
Documentation consistancy improvements
-
Vitest browser testing working again.
-
Dependency update to latest versions
-
Added convenience enums for standard Xbox & PlayStation controller button maps and axes maps.
-
Add support for displaying only a subset of gamepad buttons or axes in the GamepadDisplay (unused buttons should be set to undefined in the GamepadDisplay config button array).
-
Initial release