Awesome Open Source
Awesome Open Source


Bridge Bluetooth keyboard and mouse to USB (hid proxy)


If you have a bluetooth keyboard, you can't access BIOS or OS without a BT stack. This project acts as a bridge so the PC only sees a USB keyboard and so works without drivers. It works by copying keypresses from the bluetooth keyboard to the piZero's USB.


Raspberry Pi Zero Bluetooth keyboard

Initial setup:

echo "dtoverlay=dwc2" | sudo tee -a /boot/config.txt
echo "dwc2" | sudo tee -a /etc/modules
echo "libcomposite" | sudo tee -a /etc/modules

put the following in /etc/rc.local - bash script to pair & connect bluetooth on boot. - installs the USB keybaord driver - reads keyboard (e.g. bluetooth) and translates keycodes, then sends it over USB.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C (189,677
Proxy (24,659
Raspberry Pi (22,537
Usb (10,632
Keyboard (10,119
Mouse (6,811
Bluetooth (6,788
Bridge (6,483
Hid (1,355