XP-Pen right-click fix + Sai 2 installation for any who want to use it  [Solved]

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
rosie

XP-Pen right-click fix + Sai 2 installation for any who want to use it

#1 Post by rosie »

Noticed a post with useful Wacom advice, and realised I could post something useful about XP-Pen. Xp-Pen Deco 01 and then 01 v2 work really well ... plug and play, + adding 2 files fixes any right-click issues e.g. krita pop-up palette:

10-xppen.hwdb [contents below]
into /etc/udev/hwdb.d


evdev:input:b0003v28BDp0905*
KEYBOARD_KEY_d0045=332
KEYBOARD_KEY_700e0=fn
KEYBOARD_KEY_700e2=fn
KEYBOARD_KEY_70015=256
KEYBOARD_KEY_70018=257
KEYBOARD_KEY_7001c=258
KEYBOARD_KEY_7003c=259
KEYBOARD_KEY_7002d=260
KEYBOARD_KEY_70026=261
KEYBOARD_KEY_70067=262
KEYBOARD_KEY_70066=263

and

xp-pen-dec01.tablet [contents below]
... into /usr/share/libwacom


# XP-Pen
# Deco 01
#

[Device]
Name=XP-Pen Deco 01
ModelName=Deco01v2
DeviceMatch=usb:28bd:0905
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=xp-pen-star03.svg
Styli=0xffffd;

[Features]
Stylus=true
Reversible=true
Touch=false
Buttons=8

[Buttons]
Left=A;B;C;D;E;F;G;H;
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107

In Krita, need to configure tablet settings to 'use mouse events for right- and middle- clicks'.
I'd seen this information on a digimend thread, so just passing it along.

Also, I've used Paint Tool Sai 2 previously; for anyone wanting to install it, there's an excellent video on how to install it using Playonlinux, + tip of manually resizing the window, thus cursor arrow stays centred under pen tip ... https://yewtu.be/watch?v=S14BLN8Z5PY (and he's using XP-Pen Deco Pro with no issues). I think it was Sai2 where removing the Alt+Space system shortcut was necessary too, in order to not interfere with shortcuts in Sai2.

User avatar
Jerry3904
Administrator
Posts: 23044
Joined: Wed Jul 19, 2006 6:13 am

Re: XP-Pen right-click fix + Sai 2 installation for any who want to use it

#2 Post by Jerry3904 »

Good one, thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin


Post Reply

Return to “Tips & Tricks by users”