Sorry for the silly question, but I can't run the script. Can someone help me? I tried to replace "Tablet Monitor Pen" with the string "HUION Huion Tablet_H320M" but it didn't work. I'm using ubuntu 16.04 on a lenovo thinkpad.
user@host:~/huion$ sudo python huion-tablet-driver.py
File "huion-tablet-driver.py", line 28
settings: Dict[str, Any] = {'pen_device_name': 'Tablet Monitor Pen' # must be defined here
^
SyntaxError: invalid syntax
user@host:~/huion$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=15 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=16 [slave pointer (2)]
⎜ ↳ HUION Huion Tablet_H320M id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=17 [slave keyboard (3)]
Sorry for the silly question, but I can't run the script. Can someone help me? I tried to replace "Tablet Monitor Pen" with the string "HUION Huion Tablet_H320M" but it didn't work. I'm using ubuntu 16.04 on a lenovo thinkpad.