arduino-bt-hid-proxy
arduino-bt-hid-proxy copied to clipboard
Keystrokes sent to serial monitor but not to the OS
Hi, all tests passed, BT coupling is ok, characters are correctly sent through serial monitor and led is blinking but characters are not sent to the OS (both Windows and Linux). Could you check please if there are still some issues ?
Many thanks
Hi @Chirone72 , sorry about the late reply. What keyboard are you using?
can you try remove these lines. And at this line, rename _hidReportDescriptorKeyboard__ to _hidReportDescriptorKeyboard (remove the trailing __)?
Hi, thank you for your answer. With your suggestion now keyboard is working ! I'm using a keychron K8 US with ansi layout. I've still one issue, the time needed for resume connection after that keyboard disconnects for power saving is too long, it requires several seconds, sometimes 10. During this time keyboard attempt to connect but dongle doesn't answer, is there a way to improve connection refresh time for usb dongle ? Do you know also where to find the right descriptor or some suggestion to build one for my keyboard ?
Hi,
is there a way to improve connection refresh time for usb dongle
unfortunately, I don't know.
The usb descriptor is send by your keyboard. I forgot how did I get the them but I think these tools should work:
- https://github.com/todbot/win-hid-dump
- https://www.thesycon.de/eng/usb_descriptordumper.shtml