mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-08 07:33:53 +01:00
hidpp10: use the directory profile count to get the device info
The G700 has 5 available profiles, bump HIDPP10_NUM_PROFILES. On the other hand, hidpp10_get_device_info() doesn't fill anything... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
This commit is contained in:
committed by
Benjamin Tissoires
parent
8d65710846
commit
ff44609bef
@@ -36,7 +36,7 @@
|
||||
|
||||
/* FIXME: that's what my G500s supports, but only pages 3-5 are valid.
|
||||
* 0 is zeroed, 1 and 2 are garbage, all above 6 is garbage */
|
||||
#define HIDPP10_NUM_PROFILES 3
|
||||
#define HIDPP10_NUM_PROFILES 5
|
||||
|
||||
#define HIDPP10_MAX_PAGE_NUMBER 31
|
||||
|
||||
|
||||
Reference in New Issue
Block a user