Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
##################################################################################################################
# NOTE!
# If the touch does not work after running this script,
# please check if the "Coordinate Transformation Matrix" is updated with the following command.
# $ xinput --list-props "ILITEK ILITEK-TP"
# If the update is not reflected properly, try running the script several times repeatedly.
##################################################################################################################
#! /usr/bin/env python3
import os
import sys
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]