mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
sinowealth: visually separate config report data specific to long mice
This commit is contained in:
committed by
Peter Hutterer
parent
e5093e1009
commit
1b04bcffba
@@ -194,7 +194,11 @@ struct sinowealth_config_report {
|
||||
* 0xff - indicates that lift off distance is changed with a dedicated command. Not constant, so do **NOT** overwrite it.
|
||||
*/
|
||||
uint8_t lift_off_distance;
|
||||
uint8_t unknown5[36];
|
||||
|
||||
/* From here onward goes the data only available in long mice. */
|
||||
|
||||
uint8_t unknown5[SINOWEALTH_CONFIG_SIZE_MAX - SINOWEALTH_CONFIG_SIZE_MIN];
|
||||
|
||||
uint8_t padding[SINOWEALTH_CONFIG_REPORT_SIZE - SINOWEALTH_CONFIG_SIZE_MAX];
|
||||
} __attribute__((packed));
|
||||
_Static_assert(sizeof(struct sinowealth_config_report) == SINOWEALTH_CONFIG_REPORT_SIZE, "Invalid size");
|
||||
|
||||
Reference in New Issue
Block a user