5 Commits

Author SHA1 Message Date
dexterdy
acee5ab5ea Seperated configuration from base class for convenience. Added support for special buttons (#97)
* added support for start and select button

* Added the things I forgot

* changed header

* edited the main file to add support for the different special buttons

* added the press and release functions

* added stuff to make it more complete. not done yet

* this should do it

* added back button

* made the indentation consistent

* small commit so i can continue on my other pc

* finished the header for the config class

* started working on converting existing code with new config class

* replaced all _include variable with calls to the config class

* fixed constructor

* removed setAutoReport function

* fixed a bunch of dumb mistakes

* fixed a bunch of dumb mistakes

* made the indentation consistent

* small commit so i can continue on my other pc

* finished the header for the config class

* started working on converting existing code with new config class

* replaced all _include variable with calls to the config class

* removed setAutoReport function

* fixed a bunch of dumb mistakes

* added report id to list of configurable options

* actually finished all the getters and setters from the config class

* finished the configuration class

* forgot controllertype config

* updated the examples

* added my own example

* added home test to example

* ran an autoformatter

* added a comment (examples)

* more readable copy-by-value

* fixed circular dependancy problem

* spelling mistake

Co-authored-by: Hagedoorn, J.P. (pieter) <j.p.hagedoorn@students.uu.nl>
2022-05-01 02:14:13 +10:00
lemmingDev
53e11c7d91 Update examples for configurable HID 2021-04-09 20:46:45 +10:00
lemmingDev
976f40736f Update SingleButtonDebounce.ino 2021-02-22 08:39:33 +10:00
lemmingDev
a157a3d3cf Made debouncing more efficient 2021-01-30 07:19:46 +10:00
lemmingDev
34fb08f70e Updated examples and Readme
The examples and readme treated R/L triggers as signed chars, however they are now correctly referenced as chars (0 ~ 255)

The HID descriptor was correct, but now people using the library will have a better chance of using the triggers correctly ;)
2020-11-22 08:49:08 +10:00