-
Notifications
You must be signed in to change notification settings - Fork 508
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
Central example request - HID keyboard #116
Comments
just tried to implement it, parsing characteristic and getting report is easy enough. But most keyboards requires pairing/bonding, which is unfortunately not yet implemented on Central (only Peripherals). I will dig up some docs and try to wrap this up. |
just added the central hid example. i don't have a BLE keyboard to test with but it works well with current prph keyboard running on another feather nrf52. It may be buggy a bit but work as proof of concept. |
If anyone that has consumer ble keyboard to test with, please let us know if that works out |
@hathach I can test this out. One request to close this though is to add a function to map raw HID keycodes to a country-specific keyboard layout. For example, on a French keyboard, the top-left keys are |
Additional note: The lookup function needs to support multiple keys to know if you are generating special characters, upper-case, etc. |
The demo looks great and is easy to understand with the callbacks. Great job on this! |
The comment in central_hid example "A additional bluefruit that has bleuart as peripheral is required for the demo" doesn't seem to be right. Also, the notifications for both keyboard and mouse are enabled, but only keyboard reports are handled. |
ah thanks, We will update the comment, the mouse API is similar. We would add it later when having more time |
not an immediate need, but an interesting demo would be if the nRF52 was a central to an HID BLE keyboard. hardest part is finding a BLE keyboard (not BT classic!)
The text was updated successfully, but these errors were encountered: