Closed
Description
help with HID braille for open source devices for people with disabilities
Hello, I am developing a device for people with disabilities. I need to use the HID braille protocol but I am not getting anything with HID for esp32, could you help me with a sample code of how I can implement the HID braille protocol?
here are references to HID braille
https://usb.org/sites/default/files/hutrr78_-_creation_of_a_braille_display_usage_page_0.pdf
my repository is the following
https://github.com/brailletouch/Brailletouch
Activity
discapacidad5 commentedon Dec 17, 2021
I found this library for esp32 on arduino https://github.com/T-vK/ESP32-BLE-Keyboard/blob/master/BleKeyboard.cpp
And this other https://github.com/T-vK/ESP32-BLE-Mouse/blob/master/BleMouse.cpp I think that modifying it could adapt to the HID braille it is in charge of automatically making the description table for the controller you just have to load the list of the hid braille then one in the code adds the keys or functions that you need to use
the libraries that are called to do all the work are "BLEHIDDevice" y "HIDTypes.h" en https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/src/
and
Those examples could be replaced by the HID braille example
It is only to order it as a library so that later in the code you can call the library and pass the parameters that are needed such as the number of braille cells, buttons, etc.
something like that
This is what I have been able to understand so far
I understand that with 0x05 I must pass how many braille cells my screen has but I don't know how to do that
according to the hid code nvda source brailleDisplayDrivers hid.py is defined like this
I don't know if I'm on the right track or I'm totally lost, but if someone understands and knows how I can continue this structure, it would be good to help.
discapacidad5 commentedon Dec 20, 2021
I believe this application is the beginning to enable HID braille and to develop custom HID braille librarieshttps://github.com//pull/6043 #6043
VojtechBartoska commentedon Dec 20, 2021
Thanks for the PR, @discapacidad5. Closing this issue.
discapacidad5 commentedon Dec 20, 2021
The job is not actually completed yet. What was done was to start the way to be able to refer to HID braille in a code for braille display
VojtechBartoska commentedon Apr 7, 2022
Any updates on this?
discapacidad5 commentedon Apr 7, 2022
unfortunately I don't have enough knowledge And I'm still waiting for support to finish adding the integration with HID braille display
1 remaining item