1
0
forked from drath/libratbag

libratbag-data: add 'Rival100' quirk to SteelSeries driver

This commit is contained in:
staticssleever668
2021-05-01 09:20:42 +03:00
committed by Filipe Laíns
parent 724d31c8fe
commit f96ba13f07
2 changed files with 3 additions and 0 deletions

View File

@@ -2,5 +2,6 @@
enum steelseries_quirk {
STEELSERIES_QURIK_NONE,
STEELSERIES_QUIRK_RIVAL100,
STEELSERIES_QUIRK_SENSEIRAW,
};

View File

@@ -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;
}