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

Huion H320M #672

Open
2 of 3 tasks
cheshirecatt opened this issue Apr 24, 2024 · 5 comments
Open
2 of 3 tasks

Huion H320M #672

cheshirecatt opened this issue Apr 24, 2024 · 5 comments

Comments

@cheshirecatt
Copy link

The tablet works very well, I just can't map the buttons since it is not recognized by libwacom.

@whot
Copy link
Member

whot commented Apr 24, 2024

#659 should have the description for your tablet, can you give that a try please?

@cheshirecatt
Copy link
Author

cheshirecatt commented Apr 27, 2024

#659 should have the description for your tablet, can you give that a try please?

Well I have a couple of doubts, the working area of the tablet is 9x5.63 inches but looking at other .tablet files I see that only whole numbers are used, I don't know if it is ok to round it as 6 in the height or on the contrary it is better to use 5.

Width=9
Height=6

And well the other thing is that I don't know the codes of the buttons so I will leave them as they are in the file.

Update: I tested with evtest and the codes are correct.


[Buttons]
Left=A;B;C;D;E;F;G;H;I;J;K
EvdevCodes=BTN_0;BTN_1;BTN_2;BTN_3;BTN_4;BTN_5;BTN_6;BTN_7;BTN_8;BTN_9;BTN_SOUTH

I hope this helps and an apology in advance.

[Device]
Name=INSPIROY Ink H320M
ModelName=H320M
Class=Bamboo
DeviceMatch=usb|256c|006d
Width=9
Height=6
Layout=
Styli=@generic-no-eraser;
IntegratedIn=

[Features]
NumStrips=0
Reversible=true
Ring=false
Stylus=true
Touch=false
TouchSwitch=false

[Buttons]
Left=A;B;C;D;E;F;G;H;I;J;K
EvdevCodes=BTN_0;BTN_1;BTN_2;BTN_3;BTN_4;BTN_5;BTN_6;BTN_7;BTN_8;BTN_9;BTN_SOUTH

I also tried to make the tablet layout

huion-h320m

@whot
Copy link
Member

whot commented Apr 28, 2024

Well I have a couple of doubts,

that's actually "good" because the ones in #659 are autogenerated so if you spot any errors it means we know the file was properly reviewed :)

Can you file a PR with your corrected tablet file and the svg please? We can remove it from #659 then.

@cheshirecatt
Copy link
Author

Well I have a couple of doubts,

that's actually "good" because the ones in #659 are autogenerated so if you spot any errors it means we know the file was properly reviewed :)

Can you file a PR with your corrected tablet file and the svg please? We can remove it from #659 then.

All right, I just correct the svg file and do the PR.

@whot
Copy link
Member

whot commented May 8, 2024

ftr, #659 has been merged now so if you get to do this one please base it top of the current master branch, thanks

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

2 participants