HID Gamepad Client & Central HID Gamepad example #730
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello! I have been working on a personal project recently and came across some missing functionality inside of the library. There was no way to connect as a Central role to an HID Gamepad peripheral. I went ahead and implemented it myself closely mirroring the Keyboard support.
This work is related to and extends upon the following old issues and pull requests.
The testing process I took is as follows:
examples/Central/central_hid/central_hid.ino
to an Adafruit Feather NRF52840 Express boardexamples/Peripheral/blehid_gamepad/blehid_gamepad.ino
to an Adafruit Feather NRF52840 Express boardI am fairly confident it should be ready to be merged in, however I would greatly appreciate feedback on what to change.
Changelog
Added
BLEClientHidAdafruit
Changed
BLEDiscovery
(This is likely something that will need discussion and feedback on it)BLEDiscovery