Skip to content

LED status (Capslock, Numlock, Scrollock) #6

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

Closed
mic159 opened this issue Dec 10, 2016 · 1 comment
Closed

LED status (Capslock, Numlock, Scrollock) #6

mic159 opened this issue Dec 10, 2016 · 1 comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@mic159
Copy link

mic159 commented Dec 10, 2016

I was wondering if it would be possible to get the state of these flags from the OS?

I found a patch on this forum post: http://forum.arduino.cc/index.php?topic=173583.msg1474558#msg1474558
Its outdated, and I cant figure out how to send the data from HID -> Keyboard now that they are separate.

I was wondering if you had any ideas on how best to bridge the gap?
Should I just #include "Keyboard.h" inside HID.cpp, or should there be some callback you can register in HID, then Keyboard reads the message and decodes the LED status from there.

@facchinm
Copy link
Contributor

Hi @mic159 , you can safely use https://github.com/NicoHood/HID library if you want more control on Keyboard entities. By separating keyboard from HID core you now have the chance to use/write functions integrated with the USB core via external libraries, so mainline Keyboard and Mouse will not receive functionality updates.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants