1
0
forked from drath/libratbag

sinowealth: add default sensor type and LED type

This commit is contained in:
Yaroslav Chvanov
2022-01-28 15:56:37 +03:00
committed by Peter Hutterer
parent 03d2d71f82
commit 0a39552a65

View File

@@ -651,6 +651,10 @@ sinowealth_init_profile(struct ratbag_device *device)
drv_data->sensor = PWM3327;
} else {
log_info(device->ratbag, "Found an unknown SinoWealth mouse\n");
/* These seem to be the most widely used values. */
drv_data->led_type = LED_RBG;
drv_data->sensor = PWM3360;
}
/* LED count. */