This program will allow you to toggle touchscreen on Windows 10+ machine. Run touchscreen.py to start the program.
Before you start program you need to locate your touchscreen device in Device Manager. Follow next steps:
-
Open Device Manager
-
Open "Human Interface Devices" category.
-
Double-Click on "HID-compliant touch screen" device.
-
Go to "Details" tab.
-
Switch property to "Device instance path"
-
Copy the value.
-
Go to touchscreen.py and in variable named "tloc" put value you copied.
variable tloc should look like this:
tloc = "HID\\ELAN9008&COL01\\5&2BED5342&0&0000"
Make sure to replace every \
with \\
!
Tip: You can add the program to run on WIN + R menu using 3rd party applications.