arduino-bt-hid-proxy icon indicating copy to clipboard operation
arduino-bt-hid-proxy copied to clipboard

Keystrokes sent to serial monitor but not to the OS

Open Chirone72 opened this issue 3 years ago • 3 comments

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

Chirone72 avatar Apr 14 '22 23:04 Chirone72

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 __)?

houkanshan avatar Apr 20 '22 02:04 houkanshan

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 ?

Chirone72 avatar Apr 30 '22 17:04 Chirone72

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

houkanshan avatar May 01 '22 14:05 houkanshan