erjiang / huion-keys

Linux program to create custom bindings for Huion tablet hotkeys
GNU General Public License v3.0
13 stars 4 forks source link

Implement Q620M support #4

Closed NeoTheFox closed 3 years ago

NeoTheFox commented 3 years ago

This tablet is very similar and works well with this script. The only somewhat "big" change is dial support.

erjiang commented 3 years ago

Awesome, appreciate the contribution and thanks for keeping the changes minimal. Patch looks good at a glance but I'll take another look later.

Can you, for future reference, also post some of the raw data from hidraw for the dial? (In the comments here is fine.) I hope to collect and document that kind of stuff somewhere so that the code is easier to work on.

NeoTheFox commented 3 years ago

Sure, here are the clockwise and counter-clockwise hex strings:

f9 f1 01 01 0f ff 00 00 00 00 00 00
f9 f1 01 01 0f 01 00 00 00 00 00 00