InfinityGhost / TabletDriver

https://github.com/InfinityGhost/OpenTabletDriver
GNU General Public License v3.0
66 stars 14 forks source link

XP-Pen Star 3 v2 Driver #57

Open AdCb0 opened 4 years ago

AdCb0 commented 4 years ago

Hardware/software information

Windows Version: 7

Tablet Driver version: 0.3.0

Tablet model: XP-Pen Star 3 v2

This is not a question, but the answer for those who have the same graphics tablet as mine. These drivers work for me only if:

HidTablet 0x28BD 0x0907 0xFF0A 0x0001 Name "XP-Pen Star 03 v2" CheckString Product "10 inch PenTablet" ReportId 0x02 ReportLength 10 DetectMask 0x80 MaxX 50800 MaxY 30500 MaxPressure 8191 Width 254 Height 150.5 AuxReportId 0xf0 AuxCustomData ReportId Source = 1 AuxCustomData ButtonsLow Source = 2 AuxButtonCount 8

InitReport 0x02 0xB0 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

Maybe you have to change MaxX, MaxY, Width and Height, but this values perfect on me 1mm = 1mm +-0.1 Idk how to add buttons support (You need to find the AuxHID, but I have no idea how to find it for the tablet buttons) !!! You can change the actions of buttons in the original driver

ghost commented 4 years ago

You're supposed to uncomment the InitReport, or you'll need to have the XP-Pen drivers running in the background (exactly what you're doing right now). And for the buttons, you can try adding this:

AuxReportId 0xf0 AuxCustomData ReportId Source=1 AuxCustomData ButtonsLow Source=2 AuxButtonCount 6

AdCb0 commented 4 years ago

Wow, it's worked. But how to do it? "uncomment the InitReport"

ghost commented 4 years ago

Remove the #

AdCb0 commented 4 years ago

And i got this (Uninstall not work) 4441

ghost commented 4 years ago

Try this one. InitReport 0x02 0xB0 0x04 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

AdCb0 commented 4 years ago

Nope 4441

AdCb0 commented 4 years ago

Hmm, I did not delete ..

ghost commented 4 years ago

Try this one? InitReport 0x02 0xB0 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

ghost commented 4 years ago

Make sure you have uninstalled any other driver completely

AdCb0 commented 4 years ago

It still does not work, PenTabletServices.exe is killed, the XP-Pen driver has been deleted

ghost commented 4 years ago

Welp, in that case this tablet needs another InitReport. Until someone figures it out, the xp-pen driver needs to be running in the background, f.

AdCb0 commented 4 years ago

Yes, but that's not so bad either. At least it works :)

AdCb0 commented 4 years ago

You know, for some reason this works (Previously not work) XP-Pen driver is not installed, and I rebooted the PC. And it works damn...

HidTablet 0x28BD 0x0907 0xFF0A 0x0001 Name "XP-Pen Star 03 v2" CheckString Product "10 inch PenTablet" ReportId 0x02 ReportLength 10 DetectMask 0x80 MaxX 50800 MaxY 30500 MaxPressure 8191 Width 254 Height 150.5 AuxReportId 0xf0 AuxCustomData ReportId Source = 1 AuxCustomData ButtonsLow Source = 2 AuxButtonCount 8

InitReport 0x02 0xB0 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

And then again, after night turned on the computer AND AGAIN nothing works :c