diff options
author | 2022-08-15 16:29:52 +0200 | |
---|---|---|
committer | 2022-08-25 10:26:31 +0200 | |
commit | a092986fc095b963383b948a5c74dd1d202d21b5 (patch) | |
tree | f6bf4cd76c8b54a7ac891b28c02e7da1b5b5e530 /scripts/generate_rust_analyzer.py | |
parent | HID: uclogic: Refactor UGEE v2 frame initialization (diff) | |
download | wireguard-linux-a092986fc095b963383b948a5c74dd1d202d21b5.tar.xz wireguard-linux-a092986fc095b963383b948a5c74dd1d202d21b5.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions