Open gsgault opened 7 years ago
Hello! Sorry for the delay. I am currently hunting down a couple of errors and rewriting some of this code. However, the error you have run into can be solved by adding an extra exception in line 65
except (OSError, IOError):
Adding the IOError in there should solve that issue. Thanks to @gevasiliou for identifying that one. On my system it gives an OSError, but on others this is an IOError. There are some other bugs I'm working on at the moment, but that should get you going.
Thank you @Zyell and @gevasiliou. This does seem to make long press for right-click work.
Noob here, but learning as I go. I managed to install Python-Touchscreen-RightClick on my Lenovo Yoga 2 11. Both the two-finger tap and the long touch activate a right-click, but a normal one-finger tap results in the following error. I am wondering if someone could help me out. Here's what I get in the terminal:
The ('Total Fingers used: ', 2) is a successful two-finger right click. The ('Total Fingers used: ', 1) is a single-finger tap that results in a successful left click, but causes an error, and python exits.
More system details: