mirror of
https://github.com/lemmingDev/ESP32-BLE-Gamepad.git
synced 2026-03-09 17:46:59 +01:00
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