From 50fb898138df9d39a9abbf1eb5faae160b475989 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 27 Nov 2018 14:46:18 +1000 Subject: [PATCH] roccat: set the dpi list Turns out this driver never got updated for the 'new' DPI list provided by libratbag and thus broke with bacdab259653512e06631075216f090eadc435dc 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 --- src/driver-roccat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/driver-roccat.c b/src/driver-roccat.c index 22cfa184..dfe92012 100644 --- a/src/driver-roccat.c +++ b/src/driver-roccat.c @@ -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)