mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Add GX531 LED modes
This commit is contained in:
@@ -5,6 +5,9 @@ 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
|
||||
- Add modes for FX531 LEDs
|
||||
- Change where USB reset is called
|
||||
|
||||
## [0.11.1] - 2020-11-06
|
||||
### Changed
|
||||
|
||||
32
data/rogcore.conf
Normal file
32
data/rogcore.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
fan_mode = 0
|
||||
brightness = 1
|
||||
current_mode = [93, 179, 0, 0]
|
||||
|
||||
[builtin_modes]
|
||||
stable = [93, 179, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
breathe = [93, 179, 0, 1, 255, 0, 0, 235, 0, 0, 255, 0, 0, 0, 0, 0, 0]
|
||||
strobe = [93, 179, 0, 2, 0, 0, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
rainbow = [93, 179, 0, 3, 0, 0, 0, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
star = [93, 179, 0, 4, 255, 255, 255, 225, 0, 255, 0, 0, 0, 0, 0, 0, 0]
|
||||
rain = [93, 179, 0, 5, 0, 0, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
highlight = [93, 179, 0, 6, 255, 0, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
laser = [93, 179, 0, 7, 255, 0, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
ripple = [93, 179, 0, 8, 255, 0, 0, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
pulse = [93, 179, 0, 10, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
comet = [93, 179, 0, 11, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
flash = [93, 179, 0, 12, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
multi_static = [[93, 179, 1, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [93, 179, 2, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [93, 179, 3, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [93, 179, 4, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]
|
||||
[mode_performance.normal]
|
||||
min_percentage = 0
|
||||
max_percentage = 100
|
||||
no_turbo = false
|
||||
|
||||
[mode_performance.boost]
|
||||
min_percentage = 0
|
||||
max_percentage = 100
|
||||
no_turbo = false
|
||||
|
||||
[mode_performance.silent]
|
||||
min_percentage = 0
|
||||
max_percentage = 100
|
||||
no_turbo = true
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user