mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
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.
libratbag data files
This directory contains the SVG files for each theme. In general, device SVGs should approximate the device to make it immediately recognizable. Detail work not required, the graphic is an illustration only.
For theme-specific requirements, consult the README in the subdirectories.
Technique
The simplest approach is to find a photo of the device and import it into inkscape. Put it on the lowest layer, create a new layer "Device" above it and start tracing the outlines and edges of the device. Fill in the shapes and your device should resemble the underlying photo. Delete the photo layer, add leaders and button labels and you're done.