mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-08 07:33:53 +01:00
add RATBAG_LED_TYPE_SCROLL_WHEEL
This commit is contained in:
committed by
Thomas H. P. Andersen
parent
85a358e07c
commit
790c5e90bd
@@ -254,6 +254,8 @@ parse_ledtypes(char **strv, enum ratbag_led_type *types, size_t ntypes)
|
||||
types[i] = RATBAG_LED_TYPE_SIDE;
|
||||
else if (streq(s, "battery"))
|
||||
types[i] = RATBAG_LED_TYPE_SIDE;
|
||||
else if (streq(s, "wheel"))
|
||||
types[i] = RATBAG_LED_TYPE_WHEEL;
|
||||
else
|
||||
return -1;
|
||||
|
||||
|
||||
@@ -354,6 +354,7 @@ enum ratbag_led_type {
|
||||
RATBAG_LED_TYPE_SIDE,
|
||||
RATBAG_LED_TYPE_BATTERY,
|
||||
RATBAG_LED_TYPE_DPI,
|
||||
RATBAG_LED_TYPE_WHEEL,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user