Libraries

stmm-input

Latest version: 0.7

Device input event library


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 packages

$ sudo apt-get install libgtkmm-3.0-1v5

Download, unzip and install

$ wget https://www.efanomars.com/bins/stmm-input-0.7-1-dist.tar.gz
$ sha256sum stmm-input-0.7-1-dist.tar.gz    # should return
$ # 369037cf26c6d74cab3fe881a9db9f9909cd350c9c98982775e96d62297117fb
$ tar xvz -f stmm-input-0.7-1-dist.tar.gz
$ cd stmm-input-0.7
$ ./install-bin.sh    # with -d also development debs are installed

Uninstall

From the same directory of install-bin.sh
$ ./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/.

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.7-1-x86_64.pkg.tar.xz
$ sha256sum stmm-input-0.7-1-x86_64.pkg.tar.xz    # should return
$ # 6483b6dbc1f9380b6e3693f6b35a1750ef82c7317d057a0a5aa30d53dc225d6c
$ sudo pacman -U stmm-input-0.7-1-x86_64.pkg.tar.xz

Uninstall

$ sudo pacman -R stmm-input

Other linux distributions or architectures

Prerequisite packages

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.7.tar.gz

(sha256sum: 1db7df6d9f63e408aac996a06099200be3827b8b48fa6d8859df0dbafec899c2)

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.