Libraries

stmm-input

Latest version: 0.5

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/stmm-input-0.5-1-dist.tar.gz
$ tar xvz -f stmm-input-0.5-1-dist.tar.gz
$ cd stmm-input-0.5
$ ./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.
Note: the sudo package must be installed and your user must have permission to execute commands as superuser.

Prerequisite packages

$ sudo pacman -S gtkmm

Download and install

$ wget https://www.efanomars.com/stmm-input-0.5-1-x86_64.pkg.tar.xz
$ sudo pacman -U stmm-input-0.5-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

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.