Libraries

btkb

stmm-input-bt

Latest version: 0.18

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.18-1-deb-amd64-d09.tar.gz
$ sha256sum stmm-input-bt-0.18-1-deb-amd64-d09.tar.gz    # should return
$ # 90679cb37e9805fc0e7d7c6b34eda13d070c9faf211ca3ac6f6758625fe31b5b
$ tar xvz -f stmm-input-bt-0.18-1-deb-amd64-d09.tar.gz
$ cd stmm-input-bt-0.18
$ ./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.18-1-arch-amd64-m.pkg.tar.xz
$ sha256sum stmm-input-bt-0.18-1-arch-amd64-m.pkg.tar.xz    # should return
$ # 096de0176caf6cfc1bfde05f670e018c419d6274a3d19f46af27877aa5de5e78
$ sudo pacman -U stmm-input-bt-0.18-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.18-1-deb-arm64-d09.tar.gz
$ sha256sum stmm-input-bt-0.18-1-deb-arm64-d09.tar.gz    # should return
$ # ffe301652d8d5cdae7f0ce5ada213a82fdd952e25a1d7551ebeb7db923a95e4e
$ tar xvz -f stmm-input-bt-0.18-1-deb-arm64-d09.tar.gz
$ cd stmm-input-bt-0.18
$ ./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.18-1-arch-arm64-m.pkg.tar.xz
$ sha256sum stmm-input-bt-0.18-1-arch-arm64-m.pkg.tar.xz    # should return
$ # 0d35d2d539cb1aa27760954600f117873fe7c8b5b99755b280e0a259ac25f27a
$ sudo pacman -U stmm-input-bt-0.18-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.18-1-deb-armhf-d09.tar.gz
$ sha256sum stmm-input-bt-0.18-1-deb-armhf-d09.tar.gz    # should return
$ # 51bda7c7bf463c834ab9945a4e897e0d76c4dd132e3d9b3445e178bff3d85aa7
$ tar xvz -f stmm-input-bt-0.18-1-deb-armhf-d09.tar.gz
$ cd stmm-input-bt-0.18
$ ./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.18.tar.gz

(sha256sum: 5620e29966d4a775c5f3dfbd96ea7094b4f5b4ca5b8dad9e524ae7f4b47381ae)

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.