Open Photon89 opened 3 years ago
I had this issue too on a Panasonic Toughbook CF19's touch screen Turns out when I typed xinput in the terminal, the real device shows up as a keyboard device and not as a pointer! (weird but ok)
I worked around it with a dirty method by editing this line on row 20:
groups = re.findall(r'.(\w.+(\w|\(\d+\)))\s+id=(\d+)\D+slave *pointer', xinput('--list', '--short'))
I changed to the following:
groups = re.findall(r'.(\w.+(\w|\(\d+\)))\s+id=(\d+)\D+slave *keyboard', xinput('--list', '--short'))
Then it showed the same device (but without the Pen (0)) and the tool then worked perfectly fine! Edit the conf file that it told me and it's definitely working! I ended up using 9 points for the test.
Perhaps your Wacom setup also shows up as a keyboard device too? Could be worth trying.
Alrighty, I made a modified version that shows both keyboard and pointer devices. https://github.com/Kippykip/xcalibrate
It also saves the config automatically now without having to copy and paste, although this means you have to run my forked script as sudo.
This is how it looks like: