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

data: add the XP-Pen ACK05 Remote #777

Closed
wants to merge 1 commit into from
Closed
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
35 changes: 35 additions & 0 deletions data/xp-pen-ack05-remote.tablet
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# XP-Pen
# ACK05 Remote
#
# Reports as UGTABLET Artist Pro 16 (Gen2), for recordings
# etc. see https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/issues/32
#
# ┌────────┐────────────────────────┐
# / ┌────┐ \ ┌───┐┌───┐┌───┐┌───┐│
# │ │Dial│ │ │ A ││ B ││ C ││ ││
# │ └────┘ │ └───┘└───┘└───┘│ G ││
# │\________/ ┌───┐┌───┐┌───┐│ ││
# │ │ D ││ E ││ F ││ ││
# │ └───┘└───┘└───┘└───┘│
# │ ┌───┐┌────────┐┌───┐│
# │ │ H ││ I ││ J ││
# │ └───┘└────────┘└───┘│
# └──────────────────────────────────┘

[Device]
Name=UGTABLET Artist Pro 16 (Gen2)
ModelName=
DeviceMatch=usb|28bd|095b
Layout=xp-pen-ack05-remote.svg
Class=Remote

[Features]
Stylus=false
NumDials=1
NumRings=0
NumStrips=0
StatusLEDs=Ring

[Buttons]
Left=A;B;C;D;E;F;G;H;I;J;
EvdevCodes=BTN_0;BTN_1;BTN_2;BTN_3;BTN_4;BTN_5;BTN_6;BTN_7;BTN_8;BTN_9;
Comment on lines +1 to +35
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# XP-Pen
# ACK05 Remote
#
# Reports as UGTABLET Artist Pro 16 (Gen2), for recordings
# etc. see https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/issues/32
#
# ┌────────┐────────────────────────┐
# / ┌────┐ \ ┌───┐┌───┐┌───┐┌───┐│
# │ │Dial│ │ │ A ││ B ││ C ││ ││
# │ └────┘ │ └───┘└───┘└───┘│ G ││
# │\________/ ┌───┐┌───┐┌───┐│ ││
# │ │ D ││ E ││ F ││ ││
# │ └───┘└───┘└───┘└───┘│
# │ ┌───┐┌────────┐┌───┐│
# │ │ H ││ I ││ J ││
# │ └───┘└────────┘└───┘│
# └──────────────────────────────────┘
[Device]
Name=UGTABLET Artist Pro 16 (Gen2)
ModelName=
DeviceMatch=usb|28bd|095b
Layout=xp-pen-ack05-remote.svg
Class=Remote
[Features]
Stylus=false
NumDials=1
NumRings=0
NumStrips=0
StatusLEDs=Ring
[Buttons]
Left=A;B;C;D;E;F;G;H;I;J;
EvdevCodes=BTN_0;BTN_1;BTN_2;BTN_3;BTN_4;BTN_5;BTN_6;BTN_7;BTN_8;BTN_9;
# XP-Pen
# ACK05 Remote
#
# Reports as Hanvon Ugee Shortcut Remote, for recordings
# etc. see https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/issues/32
#
# ┌────────┐────────────────────────┐
# / ┌────┐ \ ┌───┐┌───┐┌───┐┌───┐│
# │ │ A │ │ │ B ││ C ││ D ││ ││
# │ └────┘ │ └───┘└───┘└───┘│ H ││
# \_________/ ┌───┐┌───┐┌───┐│ ││
# │ │ E ││ F ││ G ││ ││
# │ └───┘└───┘└───┘└───┘│
# │ ┌───┐┌────────┐┌───┐│
# │ │ I ││ J ││ K ││
# │ └───┘└────────┘└───┘│
# └─────────────────────────────────┘
[Device]
Name=Hanvon Ugee Shortcut Remote
ModelName=
DeviceMatch=usb:28bd:0202
Layout=xp-pen-ack05-remote.svg
Class=Remote
[Features]
Stylus=false
NumDials=1
NumRings=1
NumStrips=0
StatusLEDs=Ring
[Buttons]
Left=A;B;C;D;E;F;G;H;I;J;K;
EvdevCodes=BTN_LEFT;BTN_0;BTN_1;BTN_2;BTN_3;BTN_4;BTN_5;BTN_6;BTN_7;BTN_8;BTN_9;
#Note that no LEDs light up on the device itself
RingNumModes=4
Ring=A

Small changes to make my system happier:

  • DeviceMatch seems to be using :, not |`
  • the ring button is going to be A, and everything gets offset by 1
  • support for ring modes?

Libwacom is happy, but if I take @Deevad SVG, the panel doesn't show the svg, so I guess something is off....

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but if I take @Deevad SVG, the panel doesn't show the svg, so I guess something is off....

Hey, yes, I'm a bit stuck with the step where I have to run clean_svg.py script to autorename/autoclean elements in the SVG as noted on the documentation.

Unfortunately, my attempts are failing, I reported it here above: #777 (comment) : the script change the label of the buttons for Group A/ Group B, move the buttons around, delete the frame of the device, etc...

Loading