diff --git a/CHANGELOG.md b/CHANGELOG.md index b71bdf87..7b16f351 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/rog-core/src/laptops.rs b/rog-core/src/laptops.rs index a07f6f4c..af05ae1e 100644 --- a/rog-core/src/laptops.rs +++ b/rog-core/src/laptops.rs @@ -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];