roccat: set the dpi list

Turns out this driver never got updated for the 'new' DPI list provided by
libratbag and thus broke with bacdab2596 when we
enforced that DPI list.

Set a fixed DPI list based on the hardcoded values we use elsewhere in this
driver.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2018-11-27 14:46:18 +10:00
committed by Benjamin Tissoires
parent c676fcefb1
commit 50fb898138

View File

@@ -748,6 +748,7 @@ roccat_read_profile(struct ratbag_profile *profile)
ratbag_resolution_set_report_rate_list(resolution, report_rates,
ARRAY_LENGTH(report_rates));
ratbag_resolution_set_dpi_list_from_range(resolution, 200, 8200);
}
ratbag_profile_for_each_button(profile, button)