linput

Listen to input events
git clone git://git.akobets.xyz/linput
Log | Files | Refs | README | LICENSE

commit 065c46d9864855bddf291da3a54773fe613734b8
parent 5e647610bc844725b139acb1e029efb53786dad1
Author: Artem Kobets <artem@akobets.xyz>
Date:   Sun, 19 Apr 2020 21:57:47 +0300

docs

Diffstat:
MREADME | 28+++++++++++++++++++++++++---
Mlinput.1 | 15++++++++-------
2 files changed, 33 insertions(+), 10 deletions(-)

diff --git a/README b/README @@ -1,8 +1,29 @@ linput - listen to input events - +------------------------------- linput is an input event listener that runs a given command when a rule is matched. It reads input data from device files (/dev/input/event*). + +Requirements +------------ +* Linux headers. + + +Installation +------------ +Edit config.mk to match your local setup. +linput is installed in /usr/local namespace by default. + +Afterwards enter the following command to build and install linput +(if necessary as root): + + make install + + +Configuration +------------- +linput is customized through editing config.h file and recompiling source code. + Two types of rules can be configured: events and hotkeys. Events are simple rules that match a single input event. @@ -11,6 +32,7 @@ Hotkeys are rules for keyboard events. They consist of a modifier mask (Ctrl, Alt, etc.), a list of regular keys, and an event mask (trigger on press, release or hold). -linput is customized through editing config.h file and recompiling source code. -Author: Artem Kobets <artem@akobets.xyz> +Author +------ +Artem Kobets <artem@akobets.xyz> diff --git a/linput.1 b/linput.1 @@ -9,6 +9,14 @@ linput \- listen to input events is an input event listener that runs a given command when a rule is matched. It reads input data from device files (/dev/input/event*). +.SH OPTIONS +.TP +.B \-v +display version. + +.SH CONFIGURATION +linput is customized through editing config.h file and recompiling source code. + Two types of rules can be configured: .B events and @@ -22,12 +30,5 @@ are rules for keyboard events. They consist of a modifier mask (Ctrl, Alt, etc.), a list of regular keys, and an event mask (trigger on press, release or hold). -linput is customized through editing config.h file and recompiling source code. - -.SH OPTIONS -.TP -.B \-v -display version. - .SH AUTHOR Artem Kobets <artem@akobets.xyz>