I've a Asus VT168H touchscreen plugged and I've follow all the topic.
...
...
I've got the "No valid axis inversion data found".
As one Linux noob to another, I proudly report I have just succesfully implemented two-finger touch for Asus VT168H on RasPi 3B and Raspbian Stretch. So first of all, thank you all for your invaluable contributions!
I can confirm the instructions from
FlipPI76 work. The only thing that needs to be altered is the device name of the touchscreen. Asus VT168H registers in Raspbian as device "
ELAN Touchscreen", which can be verified with command "
xinput list" or with inspecting the /var/log/Xorg.0.log.
So,
alternate step #1: Edit /usr/share/X11/xorg.conf.d/40-libinput.conf file
Code: Select all
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
At the end of the file add:
Code: Select all
Section "InputClass"
Identifier "calibration"
Driver "evdev"
MatchProduct "ELAN Touchscreen"
Option "EmulateThirdButton" "1"
Option "EmulateThirdButtonTimeout" "750"
Option "EmulateThirdButtonMoveThreshold" "30"
EndSection
Alternate step #2: Create a new udev rule-file. You can name it anything you like (except for the '70-' prefix which is there to ensure the proper order of processing multiple rule files). I chose to name mine after Asus and ELAN, because it contains configuration based on this specific touchscreen:
Code: Select all
sudo nano /etc/udev/rules.d/70-touchscreen-asusELAN.rules
Add the following line:
Code: Select all
KERNEL=="event*",ATTRS{name}=="ELAN Touchscreen",SYMLINK+="twofingtouch",MODE="0440"
That's it. After reboot two-finger tap worked like a charm!