* 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>
Library now additionally supports:
- 2 sliders
- 64 buttons (up from 32)
- 16bit on all axes (left/right triggers and sliders are unsigned, left/right thumbsticks are centered on zero)
- updated examples
Now, each axis/hat can be set independently
setLeftThumb takes 2 int16_t parameters for x and y axes
setRightThumb takes 2 int16_t parameters for z and rZ axes
setLeftTrigger takes 1 char parameter for rX axis
setRightTrigger takes 1 char parameter for rY axis
setHat takes a hat position as above (or 0 = centered and 1~8 are the 8 possible directions)
Axes/hat can still be set all at once with setAxes
Library can now disable the aotoReport feature (enabled by default), and manually call the sendReport() function when wanted
Change device ID so Windows recognises it as a new controller, so the game controller control panel currently names the amount of buttons after the recent library change
Library now supports 32 buttons
X,Y,Z and rZ axes are now 16 bit int16_t (-32767 to 32767) instead of 8 bit (-127 to 127)
If you're upgrading, remember to account for this when setting your axes values