Skip to content

Added a rudimentary mechanism for reacting to messages from the host #6392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SteveBenz
Copy link

This provides a mechanism for reacting to messages from the host to the HID device. It's not a particularly lovely solution, but nicer mechanisms for callbacks (e.g. virtual methods, functors) would struggle with back compat. I'm not anything like an expert in this space, but I believe that HID devices really don't have a need for much more than what I've got here. It's enough to be able to do stuff like set keyboard LED's.

Fixes: #6390

…ty to user-contributed libraries and removed TODO's that will not be pursued in this library.

Fixes: arduino#6390
@facchinm facchinm added the Library: HID The HID Arduino library label Jul 25, 2017
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Library: HID The HID Arduino library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HID library does not support callbacks
3 participants