mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
libratbag-data: add 'Rival100' quirk to SteelSeries driver
This commit is contained in:
committed by
Filipe Laíns
parent
724d31c8fe
commit
f96ba13f07
@@ -2,5 +2,6 @@
|
||||
|
||||
enum steelseries_quirk {
|
||||
STEELSERIES_QURIK_NONE,
|
||||
STEELSERIES_QUIRK_RIVAL100,
|
||||
STEELSERIES_QUIRK_SENSEIRAW,
|
||||
};
|
||||
|
||||
@@ -252,6 +252,8 @@ init_data_steelseries(struct ratbag *ratbag,
|
||||
|
||||
str = g_key_file_get_string(keyfile, group, "Quirk", NULL);
|
||||
if (str) {
|
||||
if (streq(str, "Rival100"))
|
||||
data->steelseries.quirk = STEELSERIES_QUIRK_RIVAL100;
|
||||
if (streq(str, "SenseiRAW"))
|
||||
data->steelseries.quirk = STEELSERIES_QUIRK_SENSEIRAW;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user