mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Change support level for GX531
This commit is contained in:
@@ -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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
## Changed
|
||||||
|
- GX531 now supports same LED features as GX502
|
||||||
|
|
||||||
## [0.15.0] - 2020-07-09
|
## [0.15.0] - 2020-07-09
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ fn choose_1866_device(prod: u16) -> LaptopBase {
|
|||||||
} else if board_name.starts_with("GA502") || board_name.starts_with("GU502") {
|
} else if board_name.starts_with("GA502") || board_name.starts_with("GU502") {
|
||||||
info!("No RGB control available");
|
info!("No RGB control available");
|
||||||
// GX502, G712
|
// 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![
|
laptop.supported_modes = vec![
|
||||||
SINGLE, BREATHING, STROBE, RAINBOW, STAR, RAIN, HIGHLIGHT, LASER, RIPPLE, PULSE, COMET,
|
SINGLE, BREATHING, STROBE, RAINBOW, STAR, RAIN, HIGHLIGHT, LASER, RIPPLE, PULSE, COMET,
|
||||||
FLASH, RGB,
|
FLASH, RGB,
|
||||||
@@ -87,7 +87,6 @@ fn choose_1866_device(prod: u16) -> LaptopBase {
|
|||||||
} else if board_name.starts_with("GM501")
|
} else if board_name.starts_with("GM501")
|
||||||
|| board_name.starts_with("G512")
|
|| board_name.starts_with("G512")
|
||||||
|| board_name.starts_with("G712")
|
|| board_name.starts_with("G712")
|
||||||
|| board_name.starts_with("GX531")
|
|
||||||
|| board_name.starts_with("G531")
|
|| board_name.starts_with("G531")
|
||||||
{
|
{
|
||||||
laptop.supported_modes = vec![SINGLE, BREATHING, STROBE, RAINBOW, PULSE, MULTISTATIC];
|
laptop.supported_modes = vec![SINGLE, BREATHING, STROBE, RAINBOW, PULSE, MULTISTATIC];
|
||||||
|
|||||||
Reference in New Issue
Block a user