summaryrefslogtreecommitdiff
path: root/keyboards/ai03
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:37:54 +1000
committerGitHub <noreply@github.com>2023-06-24 17:37:54 +1000
commit4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch)
treecf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/ai03
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/ai03')
-rw-r--r--keyboards/ai03/polaris/config.h3
-rw-r--r--keyboards/ai03/polaris/info.json2
-rw-r--r--keyboards/ai03/voyager60_alps/config.h35
-rw-r--r--keyboards/ai03/voyager60_alps/info.json2
4 files changed, 4 insertions, 38 deletions
diff --git a/keyboards/ai03/polaris/config.h b/keyboards/ai03/polaris/config.h
index 8679584d99..c920b83bc9 100644
--- a/keyboards/ai03/polaris/config.h
+++ b/keyboards/ai03/polaris/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20 #define RGBLIGHT_HUE_STEP 8
21 #define RGBLIGHT_SAT_STEP 8
22 #define RGBLIGHT_VAL_STEP 8
23# define RGBLIGHT_EFFECT_BREATHING 20# define RGBLIGHT_EFFECT_BREATHING
24# define RGBLIGHT_EFFECT_RAINBOW_MOOD 21# define RGBLIGHT_EFFECT_RAINBOW_MOOD
25# define RGBLIGHT_EFFECT_RAINBOW_SWIRL 22# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/ai03/polaris/info.json b/keyboards/ai03/polaris/info.json
index d34a785aa7..e875c727db 100644
--- a/keyboards/ai03/polaris/info.json
+++ b/keyboards/ai03/polaris/info.json
@@ -19,6 +19,8 @@
19 "breathing": true 19 "breathing": true
20 }, 20 },
21 "rgblight": { 21 "rgblight": {
22 "saturation_steps": 8,
23 "brightness_steps": 8,
22 "led_count": 14, 24 "led_count": 14,
23 "max_brightness": 200, 25 "max_brightness": 200,
24 "sleep": true 26 "sleep": true
diff --git a/keyboards/ai03/voyager60_alps/config.h b/keyboards/ai03/voyager60_alps/config.h
deleted file mode 100644
index 5ce015408a..0000000000
--- a/keyboards/ai03/voyager60_alps/config.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/*
2Copyright 2020 <t@ylor.io>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17 #define RGBLIGHT_HUE_STEP 8
18 #define RGBLIGHT_SAT_STEP 8
19 #define RGBLIGHT_VAL_STEP 8
20
21/*
22 * Feature disable options
23 * These options are also useful to firmware size reduction.
24 */
25
26/* disable debug print */
27// #define NO_DEBUG
28
29/* disable print */
30// #define NO_PRINT
31
32/* disable action features */
33//#define NO_ACTION_LAYER
34//#define NO_ACTION_TAPPING
35//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/voyager60_alps/info.json b/keyboards/ai03/voyager60_alps/info.json
index cd790bcc69..440f061432 100644
--- a/keyboards/ai03/voyager60_alps/info.json
+++ b/keyboards/ai03/voyager60_alps/info.json
@@ -9,6 +9,8 @@
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": { 11 "rgblight": {
12 "saturation_steps": 8,
13 "brightness_steps": 8,
12 "led_count": 14, 14 "led_count": 14,
13 "sleep": true 15 "sleep": true
14 }, 16 },