Skip to content

Instantly share code, notes, and snippets.

@DanielJoyce
Last active January 2, 2019 04:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielJoyce/84b9fb1780f82ed92766313d3d2292e3 to your computer and use it in GitHub Desktop.
Save DanielJoyce/84b9fb1780f82ed92766313d3d2292e3 to your computer and use it in GitHub Desktop.
Libwacom setup for XP 13.3 Artist
# In /etc/udev/hwdb.d
evdev:input:b0003v28BDp000B*
KEYBOARD_KEY_d0045=332
# XP-Pen 13.3 config
# Put in /etc/X11/xorg.conf.d/
Section "InputClass"
Identifier "XP-Pen 13.3 keyboard"
Driver "wacom"
#MatchProduct: "ARTIST 13.3"
#MatchVendor: "XP-PEN"
MatchDevicePath "/dev/input/event*"
MatchIsKeyboard "on"
MatchUSBID "28bd:000b"
EndSection
#Section "InputClass"
# Identifier "XP-Pen 13.3v2 pointer"
# Driver "wacom"
# MatchDevicePath "/dev/input/event*"
# MatchIsPointer "on"
# MatchUSBID "28bd:000b"
#EndSection
Section "InputClass"
Identifier "XP-Pen 13.3"
Driver "wacom"
#MatchProduct: "ARTIST 13.3"
#MatchVendor: "XP-PEN"
MatchDevicePath "/dev/input/event*"
MatchIsTablet "on"
MatchUSBID "28bd:000b"
EndSection
# XP-Pen
# 13.3V2
# Put in /usr/share/libwacom/
[Device]
Name=XP-Pen 13.3v2
#Class=PenDisplay
DeviceMatch=usb:28bd:000b
Width=11.5
Height=6.5
# I still need to create a layout, I just reuse one with enough buttons
# Layouts are here: /usr/share/libwacom/layouts
Layout=cintiq-13hd.svg
#Styli=0xffffd
#IntegratedIn=Display
[Features]
Stylus=true
Reversible=true
Touch=false
Ring=false
Buttons=6
[Buttons]
Left=A;B;C;D;E;F
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment