https://github.com/hacksore/bt-hid-proxy
Proxy Bluetooth keyboard keystrokes to a hardwired raspberry pi
https://github.com/hacksore/bt-hid-proxy
Last synced: about 1 year ago
JSON representation
Proxy Bluetooth keyboard keystrokes to a hardwired raspberry pi
- Host: GitHub
- URL: https://github.com/hacksore/bt-hid-proxy
- Owner: Hacksore
- License: mit
- Created: 2021-01-31T16:53:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T11:53:20.000Z (over 3 years ago)
- Last Synced: 2025-02-25T10:53:57.572Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 34
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bt-hid-proxy
Idea is to allow a bluetooth keyboard to communicate with a device that can't support native bluetooth due to hardware or software limitations.
The simple magic trick is to use a raspberry pi (4 or Zero) in gadget mode, meaninng it's physically plugged into the device via USB to do the keyboard emulation after getting instructions from the bluetooth keyboard thanks to `evdev`.
# Instructions
- Pair your keyboard to the pi
- Run `sudo ./setup.sh`
- Reboot your pi
- Enjoy your new "wired" keyboard
# Credit
Some helpful stuff I used for reference
- https://mtlynch.io/key-mime-pi/
- https://gitlab.com/dcro/quimby/-/blob/master/quimby-relay
- https://github.com/gvalkov/python-evdev
- https://github.com/mikerr/pihidproxy
- https://www.raspberrypi.org/forums/viewtopic.php?t=138578