Skip to content
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

How to receive signals (Caps lock, Num lock) from PC side - HID keyboard #166

Closed
ginoji5 opened this issue Jul 26, 2018 · 9 comments
Closed

Comments

@ginoji5
Copy link

ginoji5 commented Jul 26, 2018

For making wireless HID keyboard modules (with nRF52 feather), I want to know the method receive signals from PC side. (Num lock, Caps lock, etc.)
It is possible to input arbitrary keys at the present time, but we also want to get output from PC side as well.

@hathach
Copy link
Member

hathach commented Jul 26, 2018

Thank for raising the issue, it is output report. Seems like the BLEHidGeneric already support invoked callback when receiving an output from PC.

https://github.com/adafruit/Adafruit_nRF52_Arduino/blob/master/libraries/Bluefruit52Lib/src/services/BLEHidGeneric.h#L114

Though it is not used by BLEHidAdafruit (with proper report id and callback for keyboard). The work should be minimal, we will try to fix it when we could take some rest from nrf52840 work.

@ginoji5
Copy link
Author

ginoji5 commented Jul 26, 2018

I see.
I will look BLEHidGeneric.h, and study output report.

hathach added a commit that referenced this issue Aug 1, 2018
@hathach
Copy link
Member

hathach commented Aug 1, 2018

@ginoji5 I did a latest push to master that implement the keyboard led. Tested with my linux. Let's me know if it works for you (please also tell what is your OS as well).

@ginoji5
Copy link
Author

ginoji5 commented Aug 1, 2018

Thank you for the great update!
I tested with my Win10. The result was good.
Next time, I will test it on Raspberry pi zero w.

@hathach
Copy link
Member

hathach commented Aug 2, 2018

Great, Thanks for the update. I am glad it works for you. Some users actually have issue with windows and blehid. I will pull out a macos to test, if all major os works+rpi, then we could close this one.

@hathach
Copy link
Member

hathach commented Aug 15, 2018

@ginoji5 any issues so far, if not we will close this one and include it in the next release

@ginoji5
Copy link
Author

ginoji5 commented Aug 18, 2018

On Raspberry pi , the test was good too. Thank you.

@ginoji5 ginoji5 closed this as completed Aug 18, 2018
@AustinRhoads
Copy link

AustinRhoads commented Dec 13, 2022

The solution is 404. Can anyone point me in the right direction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants