quaxalber / bluetooth_2_usb

Convert a Raspberry Pi into a HID relay that translates Bluetooth keyboard and mouse input to USB. Minimal configuration. Zero hassle.
MIT License
21 stars 5 forks source link

Fix long device connection times (#59) #84

Closed quaxalber closed 6 months ago

quaxalber commented 6 months ago

The issue with the long connection times was due to the USB gadgets being initialized for each (re)connected input device. Now each gadget is initialized only once and then shared. Will need to watch out for race conditions and other concurrency-related goodies.