forked from drath/libratbag
sinowealth: add default sensor type and LED type
This commit is contained in:
committed by
Peter Hutterer
parent
03d2d71f82
commit
0a39552a65
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user