Add GX531 LED modes

This commit is contained in:
Luke
2020-06-17 22:11:38 +12:00
parent ef21884081
commit 7246acbb66
3 changed files with 45 additions and 0 deletions

View File

@@ -91,6 +91,16 @@ fn choose_1866_device(prod: u16) -> LaptopBase {
BuiltInModeByte::Rainbow,
];
}
"GX531" => {
info!("Found GX531 series");
laptop.supported_modes = vec![
BuiltInModeByte::Single,
BuiltInModeByte::Breathing,
BuiltInModeByte::Strobe,
BuiltInModeByte::Rainbow,
BuiltInModeByte::Pulse,
];
}
_ => panic!("Unsupported laptop: {}, please request support at\nhttps://github.com/flukejones/rog-core", board_name),
}
laptop