Libraries

btkb

stmm-input-bt

Latest version: 0.9

Device input event library - keyboards over bluetooth

Features:

Debian binary packages (amd64 architecture only)

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

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

Download, unzip and install

$ wget https://www.efanomars.com/bins/stmm-input-bt-0.9-1-dist.tar.gz
$ sha256sum stmm-input-bt-0.9-1-dist.tar.gz    # should return
$ # 027286c069a78aa98d5c0ebee387022935ecfe84411b7f143fdf8c25d38790e1
$ tar xvz -f stmm-input-bt-0.9-1-dist.tar.gz
$ cd stmm-input-bt-0.9
$ ./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 packages (amd64 architecture only)

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

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.9-1-x86_64.pkg.tar.xz
$ sha256sum stmm-input-bt-0.9-1-x86_64.pkg.tar.xz    # should return
$ # e2e1dcf1d969ee041eb2aef2f507d93b20ed58da30e2cdf88d5aeec96a1e5c3c
$ sudo pacman -U stmm-input-bt-0.9-1-x86_64.pkg.tar.xz

Uninstall

$ sudo pacman -R stmm-input-bt

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

Source code

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

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

(sha256sum: 6b31df9fa2d29ba3637cbbc3af9196196050a2c7031e307038530d53580b4a86)

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.