On ThinkPad P15 Gen 1 with libwacom2:1.3-2ubuntu1, there are no supported devices at libwacom-list-local-devices.
After upgraded to libwacom2:1.3-2ubuntu3, it could show 51e9 device, there are 'AES pen' at 'Wacom Tablet', and I tried set the 'Top barrel button' to 'Right Mouse Button Click', then 'Middle Mouse Button Click', it works fine.
On ThinkPad P15 Gen 1 with libwacom2: 1.3-2ubuntu1, there are no supported devices at libwacom- list-local- devices. 1.3-2ubuntu3, it could show 51e9 device, there are 'AES pen' at 'Wacom Tablet', and I tried set the 'Top barrel button' to 'Right Mouse Button Click', then 'Middle Mouse Button Click', it works fine.
After upgraded to libwacom2:
$ libwacom- list-local- devices· usb:056a: 51e9; Display; System; 0x11;0x19; 0x21;0x31; 0x39;0x49; 0x71;0x221; 0x231;0x271; 0x421;0x431; 0x621;0x631; 0x8051; 0x805b; 0x806b; 0x807b; 0x826b; 0x846b;
# Device node: /dev/input/event9
[Device]
Name=ISDv4 51e9
ModelName=
DeviceMatch=
Class=ISDV4
Width=14
Height=8
IntegratedIn=
Styli=0x1;
[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=true
TouchSwitch=false
# StatusLEDs=
NumStrips=0
Buttons=0
$ cat .cache/ gnome-control- center/ wacom/devices· gnome-control- center/ wacom/tools·
[056a:51e9]
Styli=9f9b00f7;
$ cat .cache/
[9f9b00f7]
ID=806b