mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
hidpp20: fix the profile size
the profile contains 16 pages of 16 bytes, not only 15 Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
@@ -930,7 +930,7 @@ int hidpp20_adjustable_dpi_set_sensor_dpi(struct hidpp20_device *device,
|
||||
#define CMD_ONBOARD_PROFILES_GET_CURRENT_DPI_INDEX 0xb0
|
||||
#define CMD_ONBOARD_PROFILES_SET_CURRENT_DPI_INDEX 0xc0
|
||||
|
||||
#define HIDPP20_PROFILE_SIZE (15*16)
|
||||
#define HIDPP20_PROFILE_SIZE (16*16)
|
||||
#define HIDPP20_BUTTON_HID 0x80
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user