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:
Thomas Hindoe Paaboel Andersen
2017-11-20 23:21:37 +01:00
committed by Peter Hutterer
parent 868d71a08b
commit 554ee88c86
2 changed files with 31 additions and 14 deletions

View File

@@ -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