1
0
forked from drath/libratbag
Files
libratbag-plus/data
Peter Hutterer 1c85d77d56 data: add LedTypes keyword argument to the device files
At least on HID++ 2.0, the LED types appear to be random and don't match the
protocol specs. Other protocols don't even have those bits, so let's make this
a generic entry.

This is pre-filled for all LEDs but drivers can override it where required.

Fixes #377

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-10-10 09:30:50 +10:00
..

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.