From 08801f8bfc2b1c55568040f1747b703135547329 Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 23 Jun 2020 13:55:36 +1200 Subject: [PATCH] Trial of adding G531GT support - similar to GX502 --- .idea/rog-core.iml | 2 ++ rog-core/src/laptops.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.idea/rog-core.iml b/.idea/rog-core.iml index 95ac6ab8..7348b99f 100644 --- a/.idea/rog-core.iml +++ b/.idea/rog-core.iml @@ -16,6 +16,8 @@ + + diff --git a/rog-core/src/laptops.rs b/rog-core/src/laptops.rs index 143f1249..1376c3c8 100644 --- a/rog-core/src/laptops.rs +++ b/rog-core/src/laptops.rs @@ -65,8 +65,8 @@ fn choose_1866_device(prod: u16) -> LaptopBase { // Has no RGB control info!("Found GA502 series"); } - "GX502" => { - info!("Found GX502 series"); + "GX502" | "G531G" => { + info!("Found {} series", board_name.as_str()); laptop.supported_modes = vec![ BuiltInModeByte::Single, BuiltInModeByte::Breathing,