New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/pitmairen/tpswipe

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/pitmairen/tpswipe

  • v0.0.0-20160421204812-9b03f745b212
  • Source
  • Go
  • Socket score

Version published
Created
Source

#TpSwipe

This is a simple application that reads events form the touchpad and executes user defined commands when a gesture is detected.

Currently only external commands can be executed. The application can not create keyboard or mouse events on its own. This may change in the future.

It can detect swipes up,right,down,left with 2-5 fingers and pinch and spread whith 2-5 fingers.

It has been developed and tested on a Macbook air 11.6" 2013 running Archlinux. I don't know if it will work on other hardware.

Install

You will need to install go to use this application. After installing go and setting up the working environment you can install the application with the following commands

go get github.com/Pitmairen/tpswipe
go install github.com/Pitmairen/tpswipe

Then run the command tpswipe

Config

Create a config file on ~/.config/tpswipe.conf or specify a config file with the -config argument.

The file must contain the path to the /dev/input[X] device that represents the touchpad. Se the example config file for an example configuration.

Your user need to have read permission to the device. This can be done by adding your user to the appropriate group.

There is also a -test which can be used to test if the gestures are detected.

FAQs

Package last updated on 21 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc