-
Notifications
You must be signed in to change notification settings - Fork 16
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
XP-Pen Artist 16 Pro support #58
Comments
Hello, is there an issue you are experiencing? |
It doesn't detect it at all, also it's not on the compatability list yet |
We have it implemented here: https://github.com/kurikaesu/userspace-tablet-driver-daemon/blob/main/src/artist_16_pro.cpp I suspect your version of the 16 Pro is a newer revision that is different to the one we already have. Would you be able to provide the device ID? |
How would I find the device ID? |
You can use It will show the device ID like: |
|
Yup, looks like a new model. The current model we support is 28bd:090a I'll make some code changes and I'll reply here when I've pushed them so you can test them out 😄 |
Apologies for the wait, I had to get a spare computer set up with Linux. Please pull this commit and test to see if it works: 9018646 The GUI is not set up yet. Once you can confirm the tablet works with the above changes then I'll make the changes to the GUI :) |
It doesn't really work that well. What happens is the cursor is locked to the right-hand side of the screen and can't move horizontally. Vertical movement seems to work fine however. I'm on Wayland with Hyprland. Also, it sees it as
Installed by |
The maxWidth that the generic driver is detecting is not right. It looks like structure of USB messages that your tablet is sending is different to what has been seen up until now. I seem to have forgotten to add the new handler to the XP Pen supported device registry so I'll make another commit to fix that. I'll also have it spit out debugging info. Once I have the commit pushed, I'll need you to help me by pasting in all the logging output it will start dumping |
Got it, ping me when it's ready |
Pushed the commit 62b1f91 Please pull and try it out. Specifically I'll need data from where the stylus is in the top left, top right, bottom left and bottom right. This way I can find out where the X and Y coordinates are being stored in the USB packet. |
Odd, I still get the old message.
|
Should I try uninstalling the AUR version and build from source instead? |
Yes I would build from source for now |
Built from source and got the exact same thing... maybe it's not pointing to the right binary?
|
Actually, running |
Can you check what is on line 50 of the file It should have: |
Thanks, looks like I missed one more thing. Apologies. Before I go and make this change though, could you open up This is the line in question: https://github.com/kurikaesu/userspace-tablet-driver-daemon/blob/main/src/xp_pen_unified_device.cpp#L36 Run the driver and see if the maxWidth value changes to a much larger number than 2678 ? |
Apologies for the delay in my response. Changing the
|
68214 sounds right to me. It isn't screen resolution (1920x1080) but rather the tablet sensor resolution. The Pro 16 has a width of approximately 13.4 inches. According to the product detail page: https://www.xp-pen.com/product/977.html the device has a resolution of 5080 LPI (lines per inch) which is pretty close to the 5090 I have calculated above. I'll go finish off the fixes! |
Wonderful, thank you for the help! On a side note, do I need both the GUI and the Daemon or do I choose just one of them? |
Please pull the latest commit: 91e49f7 You'll need both the Daemon and the GUI unless you are fine with the default shortcut bindings. The GUI is just so you can customize what the express/shortcut keys on the tablet and the buttons on the stylus do. Let me know if the latest commit has everything working for you! |
Once everything is working on the Daemon side, I'll update the GUI |
Zooming is totally dependent on your keyboard layout. This is where the GUI comes into play. I'll go clean up the debug output and push a final commit here. Then I'll go do the GUI and post back here. |
I've pushed changes to both repositories. Could you test the GUI out as well? |
I'm having trouble building the GUI.
|
kurikaesu/userspace-tablet-driver-gui#12 works! No options for the scroll wheel, though |
Interestingly, those are there so I'm not sure why it doesn't show up in the GUI 🤔 |
Also, the zooming problem was fixable by rebinding it in Krita. It sends Ctrl+= instead of Ctrl++. |
🤦 Its because of this: https://github.com/kurikaesu/userspace-tablet-driver-gui/blob/37ec66b45e44476ad52dfaabb2ce4a9f0732d454/src/main/kotlin/dev/villanueva/userland_utility/products/xppen/artist_pro_16/ArtistPro16View.kt#L6 Easy fix! (Hopefully that is all that is wrong) On US layout keyboards + and = are the same key, and actually pressing the + requires |
No description provided.
The text was updated successfully, but these errors were encountered: