Skip to content

inoc603/btk

Repository files navigation

btk

GoDoc

Keyboard relay from USB to Bluetooth

NOTE: Only works on Linux

More detail and deployment instruction coming soon

Usage

  • Install dependencies
sudo apt-get install bluez
  • Modify /lib/systemd/system/bluetooth.service:

Change

ExecStart=/usr/lib/bluetooth/bluetoothd

to

ExecStart=/usr/lib/bluetooth/bluetoothd -C --noplugin=input

Then sudo service bluetooth restart

  • Download the binary program

Built binary release comming soon, if you want to try now, build it from source

  • Start
sudo ./btk

Build

go get github.com/inoc603/btk
cd $GOPATH/src/github.com/inoc603/btk
make build

TODO

  • Be able to plug/unplug usb keyboard without restarting the program
  • Reset usb keyboard after the program crashes

Credits

Inspired by these amazing projects and articles:

About

Keyboard relay from USB to Bluetooth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published