]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: uclogic: Add support for XP-PEN Deco Pro SW
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 26 Dec 2022 12:54:53 +0000 (13:54 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 14 Mar 2023 15:47:12 +0000 (16:47 +0100)
commit7561dc7804996d9c6d260d939d65b6db5a708c74
treef3ec7945dbe89bfe5468de08d2d7b532d577edd9
parent742fe6847b97e70d32cec93177a1fb856c78973b
HID: uclogic: Add support for XP-PEN Deco Pro SW

BugLink: https://bugs.launchpad.net/bugs/2011425
[ Upstream commit 7744ca571af55b794595cff2da9d51a26904998f ]

The XP-PEN Deco Pro SW is a UGEE v2 device with a frame with 8 buttons,
a bitmap dial and a mouse; however, the UCLOGIC_MOUSE_FRAME_QUIRK is
required because it reports an incorrect frame type. Its pen has 2
buttons, supports tilt and pressure.

It can be connected using a USB cable or, to use it in wireless mode,
using a USB Bluetooth dongle. When it is connected in wireless mode the
device battery is used to power it.

All the pieces to support it are already in place. Add its ID and
quirks in order to support the device.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c
drivers/hid/hid-uclogic-core.c
drivers/hid/hid-uclogic-params.c