Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need help setting up H320M #91

Open
mvlp opened this issue Aug 15, 2020 · 0 comments
Open

I need help setting up H320M #91

mvlp opened this issue Aug 15, 2020 · 0 comments

Comments

@mvlp
Copy link

mvlp commented Aug 15, 2020

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)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant