graphical dpi show improvements

This commit is contained in:
2023-09-28 18:10:08 +02:00
parent 8c8df678c4
commit 7c4b41666b
3 changed files with 11 additions and 4 deletions

View File

@@ -162,7 +162,7 @@ int driver_mouse_dpi_get(void* handle, struct MOUSE_DPI_LEVELS* output)
// Format 'output' packet
output->max_level_count = 5;
output->level_count = report.level_count;
output->level_current = report.level_current;
output->level_current = report.level_current - 1;
output->led_available = true;
output->xy_available = false;
for(size_t i = 0; i < report.level_count; i++)