Add new behavior for a button that sends separate keypresses on press and release. This required a refactor of the button abstraction as well.

This commit is contained in:
Anna Rose Wiggins 2021-11-01 14:49:53 -04:00
parent 9234060532
commit c37e4a6789
3 changed files with 49 additions and 26 deletions

View file

@ -2,7 +2,7 @@
This is a library that builds and sends USB HID Joystick reports, making it easy to build USB Joysticks with Arduino.
## Dependencies
* Your Arduino's USB communication chip be programmed with the arduino-big-joystick firmware (or similar). See <https://github.com/harlequin-tech/arduino-usb> for more info.
* Your Arduino's USB communication chip must be programmed with the arduino-big-joystick firmware (or similar). See <https://github.com/harlequin-tech/arduino-usb> for more info.
* The Bounce2 library, available at <https://github.com/thomasfredericks/Bounce2>.
## Installation