Change support level for GX531

This commit is contained in:
Luke
2020-07-21 14:05:51 +12:00
parent 2497aa488c
commit 5e69eb4bbd
2 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Changed
- GX531 now supports same LED features as GX502
## [0.15.0] - 2020-07-09
### Changed

View File

@@ -74,7 +74,7 @@ fn choose_1866_device(prod: u16) -> LaptopBase {
} else if board_name.starts_with("GA502") || board_name.starts_with("GU502") {
info!("No RGB control available");
// GX502, G712
} else if board_name.starts_with("GX502") {
} else if board_name.starts_with("GX502") || board_name.starts_with("GX531") {
laptop.supported_modes = vec![
SINGLE, BREATHING, STROBE, RAINBOW, STAR, RAIN, HIGHLIGHT, LASER, RIPPLE, PULSE, COMET,
FLASH, RGB,
@@ -87,7 +87,6 @@ fn choose_1866_device(prod: u16) -> LaptopBase {
} else if board_name.starts_with("GM501")
|| board_name.starts_with("G512")
|| board_name.starts_with("G712")
|| board_name.starts_with("GX531")
|| board_name.starts_with("G531")
{
laptop.supported_modes = vec![SINGLE, BREATHING, STROBE, RAINBOW, PULSE, MULTISTATIC];