gamecontroller.js
Version:
A JavaScript library that lets you handle, configure, and use gamepad and controllers on a browser, using the Gamepad API
95 lines (55 loc) • 1.87 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
## [v1.4.4] - 2019-12-08
### Updated
- Add tests
## [v1.4.3] - 2019-12-08
### Updated
- Dependency versions
## [v1.4.2] - 2019-09-03
### Added
- Bug fixes
- Update tests for gamecontrol
- Update readme file
## [v1.4.1] - 2019-09-02
### Added
- Bug fixes
- Tests to complete 95% statement coverage (missing event)
## [v1.4.0] - 2019-09-02
### Added
- After event for buttons and axe/joysticks
- Before event for buttons and axe/joysticks
- Refactor code to make library 20% smaller
## [v1.3.0] - 2019-09-01
### Added
- New vibration capability (experimental feature)
- New demo page with example for axe/joystick threshold
## [v1.2.1] - 2019-08-31
### Added
- Bug fix for Firefox (additional unexisting axe detected)
## [v1.2.0] - 2019-08-30
### Added
- Readable axe/joystick value properties (axeValues)
- Ability to set the axe/joystick sensitivity threshold (axeThreshold)
- Tests for new functionality
- New demo page with example for axe/joystick threshold
## [v1.1.2] - 2019-08-29
### Added
- Default value/existence check for gamepad to prevent potential bug
- Updated existing tests and added new ones for gamepad class
## [v1.1.1] - 2019-08-27
### Added
- Bug fix: when multiple gamepads are connected, all of them work indidually (instead of only the last one)
- Added a new demo for multiplayer (the classic Pong)
### Removed
- Deleted a couple of demos that were confusing (buttons and joysticks) and merged them into a single one
## [v1.1.0] - 2019-08-26
### Added
- Added missing aliases for directional event handlers
- New aliases for front buttons (R1, L1, R2, L2)
- Practical examples based on some from CodePen
## [v1.0.0] - 2019-08-25
### Added
- Basic functionality
- Event management for buttons and joystick/axes
- Examples