stmm-input
Latest version: 0.17
Device input event library
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 packages
$ sudo apt-get install libgtkmm-3.0-1v5
Download, unzip and install
$ wget https://www.efanomars.com/bins/stmm-input-0.17-1-deb-amd64-d09.tar.gz
$ sha256sum stmm-input-0.17-1-deb-amd64-d09.tar.gz # should return
$ # 52d9c7755f99e64001f3ea39fdb8d9de160b9d74152906794b47c8fa180a428f
$ tar xvz -f stmm-input-0.17-1-deb-amd64-d09.tar.gz
$ cd stmm-input-0.17
$ ./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/.
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.
Prerequisite packages
$ sudo pacman -S gtkmm3
Download and install
$ wget https://www.efanomars.com/bins/stmm-input-0.17-1-arch-amd64-m.pkg.tar.xz
$ sha256sum stmm-input-0.17-1-arch-amd64-m.pkg.tar.xz # should return
$ # 2f88903ff5cbdd4c89c465abb3a52b44045b11c11757666bf92634f76b492f82
$ sudo pacman -U stmm-input-0.17-1-arch-amd64-m.pkg.tar.xz
Uninstall
$ sudo pacman -R stmm-input
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 packages
$ sudo apt-get install libgtkmm-3.0-1v5
Download, unzip and install
$ wget https://www.efanomars.com/bins/stmm-input-0.17-1-deb-arm64-d09.tar.gz
$ sha256sum stmm-input-0.17-1-deb-arm64-d09.tar.gz # should return
$ # ed86b6d9a3f3458ada9810658e7cc4bdf424206012c4595f97519db1e4be8742
$ tar xvz -f stmm-input-0.17-1-deb-arm64-d09.tar.gz
$ cd stmm-input-0.17
$ ./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 packages
$ sudo pacman -S gtkmm3
Download and install
$ wget https://www.efanomars.com/bins/stmm-input-0.17-1-arch-arm64-m.pkg.tar.xz
$ sha256sum stmm-input-0.17-1-arch-arm64-m.pkg.tar.xz # should return
$ # 323162b43efed97754a54f05653aa0291ed44d382b24c899977519d353d6f9d9
$ sudo pacman -U stmm-input-0.17-1-arch-arm64-m.pkg.tar.xz
Uninstall
$ sudo pacman -R stmm-input
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 packages
$ sudo apt-get install libgtkmm-3.0-1v5
Download, unzip and install
$ wget https://www.efanomars.com/bins/stmm-input-0.17-1-deb-armhf-d09.tar.gz
$ sha256sum stmm-input-0.17-1-deb-armhf-d09.tar.gz # should return
$ # 17ef5e0662109c4050f5d2708da7c394a6f08c4c6dc5210c5369016d2ca7571c
$ tar xvz -f stmm-input-0.17-1-deb-armhf-d09.tar.gz
$ cd stmm-input-0.17
$ ./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 packages
- libgtkmm-3.0-dev
- g++
- cmake
- doxygen
- graphviz
- python3
Download, build and install
$ git clone https://gitlab.com/efanomars/stmm-input.git
$ cd stmm-input
$ STMM_MAKE_OPTIONS="--jobs=4" ./scripts/install_stmm-input-all.py -b=Release
Uninstall
$ ./scripts/uninstall_stmm-input-all.py
Source code
Gitlab: https://gitlab.com/efanomars/stmm-input
Tarball: https://www.efanomars.com/sources/stmm-input-0.17.tar.gz
(sha256sum: c705f74a19e1928ec96d913f4f8a93e6ef76acc2e1712eb60598aba09620cc2d)Contents
This source package contains:- libstmm-input: library that defines the platform-independent core interfaces for events, devices, capabilities, device managers and event listeners.
- libstmm-input-base: library of helper classes to ease the implementation and composition of device managers.
- libstmm-input-dl: library that implemens a plugin device manager which loads other device managers at run-time as children.
- libstmm-input-ev: library that defines a set of event types suitable for games.
- libstmm-input-gtk: library that defines a Gtk::Window accessor for device managers.
- libstmm-input-gtk-dm: library that implements a device manager that integrates into Gtk’s main event loop sending events defined by libstmm-input-ev to listeners (keyboard, mouse, touch and joysticks).
- libstmm-input-fake: library meant for developers that need to simulate a device manager to feed their test code with events defined by libstmm-input-ev.
- stmm-input-plugins: command line utility to list, enable and disable the plugin device managers loaded by the libstmm-input-dl library.