mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
81 lines
1.8 KiB
Plaintext
81 lines
1.8 KiB
Plaintext
# Example description file for a libratbag device
|
|
#
|
|
# Make sure the file has a recognizable name with a '.device' suffix
|
|
|
|
[Device]
|
|
# The kernel name of the device. This name is not used by libratbag, it is
|
|
# used by debugging tools.
|
|
Name=Logitech Example Device
|
|
|
|
# DeviceMatch is a triplet of bus:vid:pid, where bus is 'usb' or bluetooth'
|
|
# and pid/vid are lowercase 4-digit hexadecimal numbers with preceding
|
|
# zeroes.
|
|
DeviceMatch=usb:12ab:00f2
|
|
|
|
# The libratbag driver backend
|
|
Driver=hidpp10
|
|
|
|
# The types of the LEDs, in the indexed order they appear in, separated by a
|
|
# semicolon.
|
|
# Allowed values: logo, side, battery, dpi
|
|
LedTypes=logo;side
|
|
|
|
# Only one group of driver-specific properties is permitted and it must be
|
|
# [Driver/<drivername>]. It is a bug do have any other [Driver/foo] group in
|
|
# a device file, but this example file lists all.
|
|
|
|
[Driver/hidpp10]
|
|
# The number of profiles, must be greater than 0
|
|
Profiles=1
|
|
|
|
# The type of the profile
|
|
ProfileType=G9
|
|
|
|
# The range of available resolutions in the form min:max@step
|
|
# Mutually exclusive with DpiList
|
|
DpiRange=50:5700@50
|
|
|
|
# The list of available resolutions, separated by semicolons.
|
|
# Mutually exclusive with DpiRange
|
|
# Where possible, DpiRange should be preferred
|
|
DpiList=50;200;400;800
|
|
|
|
# The HID++ 1.0 device index
|
|
# Should be unset unless required
|
|
# DeviceIndex=1
|
|
|
|
# The number of LEDs
|
|
Leds=1
|
|
|
|
|
|
[Driver/hidpp20]
|
|
# The HID++ 2.0 device index
|
|
# Should be unset unless required
|
|
# DeviceIndex=1
|
|
|
|
|
|
[Driver/asus]
|
|
# Number of profiles
|
|
Profiles=3
|
|
|
|
# Number of buttons
|
|
Buttons=8
|
|
|
|
# Number of LEDs
|
|
Leds=3
|
|
|
|
# Number of DPI presets
|
|
Dpis=2
|
|
|
|
# Set if device is wireless
|
|
# Wireless=1
|
|
|
|
# DPI range in format min:max@step
|
|
DpiRange=100:16000@100
|
|
|
|
# Button index mapping
|
|
# ButtonMapping=0;1;2;6;7;5;3;4
|
|
|
|
# Device quirks
|
|
# Quirk=DOUBLE_DPI;STRIX_PROFILE
|