Libraries

btkb

stmm-input-bt

Latest version: 0.19

Device input event library - keyboards over bluetooth

Features:

Debian binary packages (amd64 architecture)

For Debian based Linux distros like Debian, Ubuntu, Linux Mint, etc.

Hardware: PCs (x86-64 or amd64 CPUs)

Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite projects (must be installed first)

Prerequisite packages

$ sudo apt-get install libbluetooth3 bluez

Download, unzip and install

$ wget https://www.efanomars.com/bins/stmm-input-bt-0.19-1-deb-amd64-d09.tar.gz
$ sha256sum stmm-input-bt-0.19-1-deb-amd64-d09.tar.gz    # should return
$ # 093b96dcfdba0c2b076f3cb31dd7cc8e01a30870ef2817f74ddc29c94dda1a36
$ tar xvz -f stmm-input-bt-0.19-1-deb-amd64-d09.tar.gz
$ cd stmm-input-bt-0.19
$ ./install-bin.sh    # with -d also development debs are installed

Uninstall

From the same directory of install-bin.sh
$ # Remember to uninstall dependant projects first !
$ ./uninstall-bin.sh    # with -d also development debs are uninstalled

Arch binary package (amd64 architecture)

For Linux Arch based distros like Arch, Manjaro, etc.

Hardware: PCs (x86-64 or amd64 CPUs)

This project is also available in the AUR (Arch User Repository) at https://aur.archlinux.org/packages/stmm-input-bt/.

Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite projects (must be installed first)

Prerequisite packages

$ sudo pacman -S bluez bluez-libs

Download and install

$ wget https://www.efanomars.com/bins/stmm-input-bt-0.19-1-arch-amd64-m.pkg.tar.xz
$ sha256sum stmm-input-bt-0.19-1-arch-amd64-m.pkg.tar.xz    # should return
$ # aa10c5c45d99b52dfc88bffb2c4b86c501b988cea78d5f9e2bafd7626116ad60
$ sudo pacman -U stmm-input-bt-0.19-1-arch-amd64-m.pkg.tar.xz

Uninstall

$ sudo pacman -R stmm-input-bt

Debian binary packages (arm64 architecture)

For Debian based Linux distros like Raspberry Pi OS, Debian, Ubuntu, etc.

Hardware: Raspberry Pi 4, PineBook

Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite projects (must be installed first)

Prerequisite packages

$ sudo apt-get install libbluetooth3 bluez

Download, unzip and install

$ wget https://www.efanomars.com/bins/stmm-input-bt-0.19-1-deb-arm64-d09.tar.gz
$ sha256sum stmm-input-bt-0.19-1-deb-arm64-d09.tar.gz    # should return
$ # 7822cadd65feb24013eaea14ec358b64573b337e297b62fc38d69f2f7f118fa4
$ tar xvz -f stmm-input-bt-0.19-1-deb-arm64-d09.tar.gz
$ cd stmm-input-bt-0.19
$ ./install-bin.sh    # with -d also development debs are installed

Uninstall

From the same directory of install-bin.sh
$ # Remember to uninstall dependant projects first !
$ ./uninstall-bin.sh    # with -d also development debs are uninstalled

Arch binary package (arm64 architecture)

For Linux Arch based distros like Arch, Manjaro, etc.

Hardware: PineBook, Raspberry Pi 4

Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite projects (must be installed first)

Prerequisite packages

$ sudo pacman -S bluez bluez-libs

Download and install

$ wget https://www.efanomars.com/bins/stmm-input-bt-0.19-1-arch-arm64-m.pkg.tar.xz
$ sha256sum stmm-input-bt-0.19-1-arch-arm64-m.pkg.tar.xz    # should return
$ # b7a3bab8a154263c914c146b0e559c56e0b0abb78bbfffd3c6723585c67b6102
$ sudo pacman -U stmm-input-bt-0.19-1-arch-arm64-m.pkg.tar.xz

Uninstall

$ sudo pacman -R stmm-input-bt

Debian binary packages (armhf architecture)

For Debian based Linux distros like Raspberry Pi OS, Debian, Ubuntu, etc.

Hardware: Raspberry Pi 3B+

Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite projects (must be installed first)

Prerequisite packages

$ sudo apt-get install libbluetooth3 bluez

Download, unzip and install

$ wget https://www.efanomars.com/bins/stmm-input-bt-0.19-1-deb-armhf-d09.tar.gz
$ sha256sum stmm-input-bt-0.19-1-deb-armhf-d09.tar.gz    # should return
$ # 91804e258a55baa110ac756a29df7019c74be7252f2b06c2da2ac82a4509fb40
$ tar xvz -f stmm-input-bt-0.19-1-deb-armhf-d09.tar.gz
$ cd stmm-input-bt-0.19
$ ./install-bin.sh    # with -d also development debs are installed

Uninstall

From the same directory of install-bin.sh
$ # Remember to uninstall dependant projects first !
$ ./uninstall-bin.sh    # with -d also development debs are uninstalled

Other linux distributions or architectures

Prerequisite projects (must be installed first)

Prerequisite packages

Download, build and install

$ git clone https://gitlab.com/efanomars/stmm-input-bt.git
$ cd stmm-input-bt
$ STMM_MAKE_OPTIONS="--jobs=4"   ./scripts/install_stmm-input-bt-all.py -b=Release

Uninstall

$ ./scripts/uninstall_stmm-input-bt-all.py

Man page

stmm-input-btkb


Source code

Gitlab: https://gitlab.com/efanomars/stmm-input-bt

Tarball: https://www.efanomars.com/sources/stmm-input-bt-0.19.tar.gz

(sha256sum: 409653397f65def942592e8e63be2a43bf46ad59886d1bfb7939a0383e8ba1f2)

Contents

This source package contains:
  • libstmm-input-gtk-bt: library that implements a device manager that integrates into Gtk’s main event loop sending key events from bluetooth devices to listeners.
  • stmm-input-btkb: gui client that connects to the server defined in libstmm-input-gtk-bt. It simulates a very trivial keyboard using mouse or touch.