No commit activity in last 3 years
No release in over 3 years
Allows to recognize tap-and-hold gesture
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

TouchscreenTaps

TouchscreenTaps is a touchscreen taps recognizer. It allows "tap and hold" gesture to be recognized and assign a command to it.

Instalation

sudo gpasswd -a $USER input
sudo apt install libinput-tools
sudo apt install xdotool
sudo apt install ruby
sudo gem install touchscreen-taps

Usage

touchscreen-taps

Pass custom config

touchscreen-taps /home/user/custom_config.yml

Config example

---
tap_and_hold: # event name
  1: # fingers count
    command: 'xdotool click 3'
    acceptance_delay: '0.5' # seconds

Run as daemon

touchscreen-taps &

Autostart

echo 'touchscreen-taps &' | sudo tee /etc/profile.d/start-touchscreen-taps.sh

Tested on:

Surface Pro 3 (i5/8gb/256gb) Ubuntu 18.04 LTS (linux 5.5, Gnome, Xorg)

License

The gem is available as open source under the terms of the MIT License.