forked from drath/libratbag
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.
39 lines
879 B
SYSTEMD
39 lines
879 B
SYSTEMD
[Device]
|
|
DeviceMatch=usb:258a:0027
|
|
Driver=sinowealth
|
|
Name=SinoWealth Generic Mouse (0027)
|
|
|
|
[Driver/sinowealth/devices/DreamMachinesDM5Blink]
|
|
ButtonCount=8
|
|
DeviceName=DreamMachines DM5 Blink
|
|
FwVersion=3106
|
|
LedType=RGB
|
|
SensorType=PMW3389
|
|
|
|
[Driver/sinowealth/devices/GWolvesHatiHTM]
|
|
ButtonCount=6
|
|
# Can be both `Ace` and `Classic` version.
|
|
DeviceName=G-Wolves Hati HT-M Wired
|
|
FwVersion=V161
|
|
LedType=None
|
|
# Can also be PMW3389
|
|
SensorType=PMW3360
|
|
|
|
[Driver/sinowealth/devices/GenesysXenon770]
|
|
# There are 5 main buttons.
|
|
# Side buttons are detachable.
|
|
# There can be either 3 or 9 buttons on the side.
|
|
# Going for the maximum count: 5 + 9 = 14.
|
|
ButtonCount=14
|
|
DeviceName=Genesys Xenon 770
|
|
FwVersion=3110
|
|
LedType=RGB
|
|
SensorType=PMW3327
|
|
|
|
[Driver/sinowealth/devices/GloriousModelOOld]
|
|
ButtonCount=6
|
|
DeviceName=Glorious Model O (old firmware)
|
|
FwVersion=V102
|
|
LedType=RBG
|
|
SensorType=PMW3360
|