~jkaivo/penxortouch

disable X touch screen when pen is near
aac2afbf — Jakob Kaivo 7 years ago
added command line options
ac0708c3 — Jakob Kaivo 7 years ago
add compiled binary to .gitignore
7992c0be — Jakob Kaivo 7 years ago
add note about Debian package

refs

penxortouch
browse  log 

clone

read-only
https://git.sr.ht/~jkaivo/penxortouch
read/write
git@git.sr.ht:~jkaivo/penxortouch

You can also use your local clone with git send-email.

This is a simple X11 utility that disables a tablet's touchscreen when the
digitizer is near.

It requires the XInput extension and its accompanying library. On Debian, this
is available in the package libxi-dev.

The default pen and touch devices are specified by the PENDEVICE and
TOUCHDEVICE symbolic constants #defined near the top of the code,
respectively. These are the devices on a ThinkPad Yoga (first generation),
on which this program was originally developed. Command line options are
available to override either or both. The options are -t for the touch
device and -p for the pen device. Check the output of xinput(1) for the names
of the devices on your system. Note that if the names of your devices contain
spaces, which is likely, you'll need to quote them in your shell.

A future revision will include an actual man page. As it is, the command is
very simple and provides a basic usage synopsis with the -h option.

A possibility for the future is some sort of intelligent default search
mechanism.