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

Add support for XP-Pen Artist 10S #3310

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"Name": "XP-Pen Artist 10S",
"Specifications": {
"Digitizer": {
"Width": 216.96,
"Height": 135.6,
"MaxX": 21696,
"MaxY": 13560
},
"Pen": {
"MaxPressure": 2047,
"ButtonCount": 2
},
"AuxiliaryButtons": {
"ButtonCount": 6
},
"MouseButtons": null,
"Touch": null
},
"DigitizerIdentifiers": [
{
"VendorID": 21827,
"ProductID": 74,
"InputReportLength": 8,
"OutputReportLength": null,
"ReportParser": "OpenTabletDriver.Configurations.Parsers.UCLogic.UCLogicV1ReportParser",
"FeatureInitReport": null,
"OutputInitReport": null,
"DeviceStrings": {},
"InitializationStrings": [
123
]
}
],
"AuxiliaryDeviceIdentifiers": [],
"Attributes": {
"libinputoverride": "1"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using OpenTabletDriver.Tablet;

namespace OpenTabletDriver.Configurations.Parsers.UCLogic
{
public class UCLogicV1ReportParser : IReportParser<IDeviceReport>
{
public IDeviceReport Parse(byte[] data)
{
if (data[1] == 0xE0)
return new UCLogicAuxReport(data);
else if (data[1].IsBitSet(6))
return new TabletReport(data);
else
return new OutOfRangeReport(data);
}
}
}
1 change: 1 addition & 0 deletions TABLETS.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
| Parblo Ninos S | Has Quirks | Aux buttons are not in order.
| UGTABLET M708 | Has Quirks | Windows: Might need Zadig's WinUSB to be installed on interface 0
| Wacom PTU-600U | Has Quirks | Windows: Requires Zadig's WinUSB to be installed
| XP-Pen Artist 10S | Has Quirks | Windows: Requires Zadig's WinUSB to be installed on interface 0
| XP-Pen Artist 22HD | Has Quirks | Windows: Requires Zadig's WinUSB to be installed on interface 0
| XP-Pen Star G430 | Has Quirks | Windows: Might need Zadig's WinUSB to be installed on interface 1
| Artisul A1201 | Missing Features | Touch bar is not yet supported.
Expand Down
Loading