mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
This moves device data out of the driver into device files. However, a _single_ device file contains data for _several mice_ at the same time. The reason for this is that different mice by SinoWealth may use the same VID:PID pair. This is unfortunate, as we only allow a single device file a given VID:PID pair. Also move `sinowealth_led_format` enum into a header file and rename its constants to fit in outside of the driver.
21 lines
484 B
SYSTEMD
21 lines
484 B
SYSTEMD
[Device]
|
|
DeviceMatch=usb:258a:1007
|
|
Driver=sinowealth
|
|
Name=SinoWealth Generic Mouse (1007)
|
|
|
|
# This does NOT work. See libratbag/libratbag#1296.
|
|
# For future: ID of A3050 sensor is 0x2, and maximum DPI is 4000.
|
|
#[Driver/sinowealth/devices/AntEsportsGM500]
|
|
#ButtonCount=7
|
|
#DeviceName=Ant Esports GM500
|
|
#FwVersion=0910
|
|
#LedType=RBG
|
|
#SensorType=A3050
|
|
|
|
[Driver/sinowealth/devices/MarvoScorpionG961]
|
|
ButtonCount=6
|
|
DeviceName=Marvo Scorpion G961
|
|
FwVersion=9677
|
|
LedType=RGB
|
|
SensorType=PMW3327
|