HID: uclogic: Add support for Ugee G5
Add support for Ugee G5 to hid-uclogic. Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
This commit is contained in:

committed by
Benjamin Tissoires

parent
8a47670c35
commit
e902ed9344
@@ -139,4 +139,17 @@ extern const size_t uclogic_rdesc_ugee_ex07_buttonpad_size;
|
||||
extern const __u8 uclogic_rdesc_xppen_deco01_frame_arr[];
|
||||
extern const size_t uclogic_rdesc_xppen_deco01_frame_size;
|
||||
|
||||
/* Fixed report descriptor for Ugee G5 frame controls */
|
||||
extern const __u8 uclogic_rdesc_ugee_g5_frame_arr[];
|
||||
extern const size_t uclogic_rdesc_ugee_g5_frame_size;
|
||||
|
||||
/* Report ID of Ugee G5 frame control reports */
|
||||
#define UCLOGIC_RDESC_UGEE_G5_FRAME_ID 0x06
|
||||
|
||||
/* Device ID byte offset in Ugee G5 frame report */
|
||||
#define UCLOGIC_RDESC_UGEE_G5_FRAME_DEV_ID_BYTE 0x2
|
||||
|
||||
/* Least-significant bit of Ugee G5 frame rotary encoder state */
|
||||
#define UCLOGIC_RDESC_UGEE_G5_FRAME_RE_LSB 38
|
||||
|
||||
#endif /* _HID_UCLOGIC_RDESC_H */
|
||||
|
Reference in New Issue
Block a user