summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-uclogic-rdesc.h
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2022-08-15 17:29:52 +0300
committerJiri Kosina <jkosina@suse.cz>2022-08-25 11:26:31 +0300
commita092986fc095b963383b948a5c74dd1d202d21b5 (patch)
treef6bf4cd76c8b54a7ac891b28c02e7da1b5b5e530 /drivers/hid/hid-uclogic-rdesc.h
parent86402296784f656427245edd0546cac39d410b07 (diff)
downloadlinux-a092986fc095b963383b948a5c74dd1d202d21b5.tar.xz
HID: uclogic: Parse the UGEE v2 frame type
The string descriptor returned by UGEE v2 devices contains a byte indicating the device frame type. The values discovered so far are: - 0: Frame with buttons, present in the XP-PEN Deco L. - 1: Frame with buttons and dial, present in the PARBLO A610 PRO. - 2: Frame with buttons and a mouse, shaped as a dial + touchpad. Present in the XP-PEN Deco Pro S. Parse the frame type and add KUnit tests. Tested-by: Jouke Witteveen <j.witteveen@gmail.com> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-uclogic-rdesc.h')
0 files changed, 0 insertions, 0 deletions