houkanshan / arduino-bt-hid-proxy

Bluetooth HID proxy is implemented using Arduino. Make a Bluetooth keyboard or mouse (WIP) work in BIOS or device without BT stack (e.g. TMK USB to USB Converter)
84 stars 4 forks source link

Question: HID Relay or Translator/Proxy? #4

Open fkahhaleh opened 2 years ago

fkahhaleh commented 2 years ago

To clarify the operation and internal workings. If my Mouse or Keyboard has special functionality or like a Logitech KB, it has accompanying software that identifies their Logitech KB from other manufacturers.

If we think about 'Relay' functionality, the project will relay all BLE HID to wired/USB HID, basically a 1-to-1 message forwarder. or does it hide the proprietary fields/data, and just recreates standard KB/Mouse functionality, thus the 3rd party Software will not be able to detect or handle special features like specific button functionality ...etc.

Thank you for the great work.

houkanshan commented 2 years ago

Hi, this project will forward every HID report it received. However, to make your computer recognized the special functionality, you need to manually replace the USB HID descriptor here with your keyboard's.

fkahhaleh commented 2 years ago

Great, I think the way you have it implemented to forward everything is the proper way. Maybe it can be an 'enable-option' to allow for dynamic descriptor to be identified and sent, if technically possible.