mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
increase max number of report rates to 8
This is needed for the logitech G600
This commit is contained in:
committed by
Thomas H. P. Andersen
parent
d81c68d94f
commit
7c65b0b4a9
@@ -307,7 +307,7 @@ ratbagd_resolution_get_report_rates(sd_bus *bus,
|
||||
{
|
||||
struct ratbagd_resolution *resolution = userdata;
|
||||
struct ratbag_resolution *lib_resolution = resolution->lib_resolution;
|
||||
unsigned int rates[5];
|
||||
unsigned int rates[8];
|
||||
unsigned int nrates = ARRAY_LENGTH(rates);
|
||||
int r;
|
||||
|
||||
|
||||
@@ -262,7 +262,7 @@ struct ratbag_resolution {
|
||||
unsigned int dpi_y; /**< y resolution in dpi */
|
||||
unsigned int hz; /**< report rate in Hz */
|
||||
|
||||
unsigned int rates[5];
|
||||
unsigned int rates[8];
|
||||
size_t nrates;
|
||||
|
||||
bool is_active;
|
||||
|
||||
Reference in New Issue
Block a user