mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-08 07:33:53 +01:00
steelseries: move hardcoded values to .device
The steelseries driver used some hardcoded values for as the only supported device was the rival 310. This moves that data to the .device file. The default resolutions used are changed from hardcoded 1000 and 2000, to the two first entries in the dpi list. Picking actual values from the specified dpi list or range is safer.
This commit is contained in:
committed by
Peter Hutterer
parent
868d71a08b
commit
554ee88c86
@@ -1,5 +1,11 @@
|
||||
[Device]
|
||||
Name=SteelSeriesRival 310
|
||||
Name=SteelSeries Rival 310
|
||||
DeviceMatch=usb:1038:1720
|
||||
Driver=steelseries
|
||||
Svg=steelseries-rival310.svg
|
||||
|
||||
[Driver/steelseries]
|
||||
DeviceVersion=2
|
||||
Buttons=6
|
||||
Leds=2
|
||||
DpiRange=100:12000@100
|
||||
|
||||
Reference in New Issue
Block a user