summaryrefslogtreecommitdiff
path: root/keyboards/neokeys
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-08-24 07:11:39 +1000
committerGitHub <noreply@github.com>2023-08-23 22:11:39 +0100
commit023d644bb69748d97feb49091e2c24f3fcd3da11 (patch)
tree1f8039d1fdf8408487eb5db0bee542e6f7d08af3 /keyboards/neokeys
parent79491e35e1c2abd30620dec21d6073515065cc1a (diff)
Move RGBLight animations to data driven (#21635)
* Move RGBLight animations to data driven, 0-9 * Move RGBLight animations to data driven, A * Move RGBLight animations to data driven, B * Move RGBLight animations to data driven, C * Move RGBLight animations to data driven, D * Move RGBLight animations to data driven, E * Move RGBLight animations to data driven, F * Move RGBLight animations to data driven, G * Move RGBLight animations to data driven, H * Move RGBLight animations to data driven, handwired * Move RGBLight animations to data driven, I * Move RGBLight animations to data driven, J * Move RGBLight animations to data driven, K * Move RGBLight animations to data driven, L * Move RGBLight animations to data driven, M * Move RGBLight animations to data driven, N * Move RGBLight animations to data driven, O * Move RGBLight animations to data driven, P * Move RGBLight animations to data driven, Q * Move RGBLight animations to data driven, R * Move RGBLight animations to data driven, S * Move RGBLight animations to data driven, T * Move RGBLight animations to data driven, U * Move RGBLight animations to data driven, V * Move RGBLight animations to data driven, W * Move RGBLight animations to data driven, X * Move RGBLight animations to data driven, Y * Move RGBLight animations to data driven, Z * Fix incorrect placement * Fix build failures and mismatches
Diffstat (limited to 'keyboards/neokeys')
-rw-r--r--keyboards/neokeys/g67/element_hs/config.h31
-rw-r--r--keyboards/neokeys/g67/element_hs/info.json14
-rw-r--r--keyboards/neokeys/g67/hotswap/config.h30
-rw-r--r--keyboards/neokeys/g67/hotswap/info.json14
-rw-r--r--keyboards/neokeys/g67/soldered/config.h30
-rw-r--r--keyboards/neokeys/g67/soldered/info.json14
6 files changed, 39 insertions, 94 deletions
diff --git a/keyboards/neokeys/g67/element_hs/config.h b/keyboards/neokeys/g67/element_hs/config.h
deleted file mode 100644
index ca462e41c0..0000000000
--- a/keyboards/neokeys/g67/element_hs/config.h
+++ /dev/null
@@ -1,31 +0,0 @@
1/* Copyright 2021 MechMerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#if defined(RGBLIGHT_ENABLE)
20/*== all animations enable ==*/
21#define RGBLIGHT_EFFECT_BREATHING
22#define RGBLIGHT_EFFECT_RAINBOW_MOOD
23#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
24#define RGBLIGHT_EFFECT_SNAKE
25#define RGBLIGHT_EFFECT_KNIGHT
26#define RGBLIGHT_EFFECT_CHRISTMAS
27#define RGBLIGHT_EFFECT_STATIC_GRADIENT
28#define RGBLIGHT_EFFECT_RGB_TEST
29#define RGBLIGHT_EFFECT_ALTERNATING
30#define RGBLIGHT_EFFECT_TWINKLE
31#endif
diff --git a/keyboards/neokeys/g67/element_hs/info.json b/keyboards/neokeys/g67/element_hs/info.json
index 7cfe898edc..707993d4a3 100644
--- a/keyboards/neokeys/g67/element_hs/info.json
+++ b/keyboards/neokeys/g67/element_hs/info.json
@@ -21,7 +21,19 @@
21 "brightness_steps": 8, 21 "brightness_steps": 8,
22 "led_count": 77, 22 "led_count": 77,
23 "max_brightness": 150, 23 "max_brightness": 150,
24 "sleep": true 24 "sleep": true,
25 "animations": {
26 "breathing": true,
27 "rainbow_mood": true,
28 "rainbow_swirl": true,
29 "snake": true,
30 "knight": true,
31 "christmas": true,
32 "static_gradient": true,
33 "rgb_test": true,
34 "alternating": true,
35 "twinkle": true
36 }
25 }, 37 },
26 "processor": "atmega32u4", 38 "processor": "atmega32u4",
27 "bootloader": "atmel-dfu", 39 "bootloader": "atmel-dfu",
diff --git a/keyboards/neokeys/g67/hotswap/config.h b/keyboards/neokeys/g67/hotswap/config.h
deleted file mode 100644
index 8bb96c992f..0000000000
--- a/keyboards/neokeys/g67/hotswap/config.h
+++ /dev/null
@@ -1,30 +0,0 @@
1/* Copyright 2021 James Young (@noroadsleft)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#if defined(RGBLIGHT_ENABLE)
20#define RGBLIGHT_EFFECT_BREATHING
21#define RGBLIGHT_EFFECT_RAINBOW_MOOD
22#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
23#define RGBLIGHT_EFFECT_SNAKE
24#define RGBLIGHT_EFFECT_KNIGHT
25#define RGBLIGHT_EFFECT_CHRISTMAS
26#define RGBLIGHT_EFFECT_STATIC_GRADIENT
27#define RGBLIGHT_EFFECT_RGB_TEST
28#define RGBLIGHT_EFFECT_ALTERNATING
29#define RGBLIGHT_EFFECT_TWINKLE
30#endif
diff --git a/keyboards/neokeys/g67/hotswap/info.json b/keyboards/neokeys/g67/hotswap/info.json
index 1d6fc432ae..526da4ba06 100644
--- a/keyboards/neokeys/g67/hotswap/info.json
+++ b/keyboards/neokeys/g67/hotswap/info.json
@@ -21,7 +21,19 @@
21 "brightness_steps": 8, 21 "brightness_steps": 8,
22 "led_count": 77, 22 "led_count": 77,
23 "max_brightness": 150, 23 "max_brightness": 150,
24 "sleep": true 24 "sleep": true,
25 "animations": {
26 "breathing": true,
27 "rainbow_mood": true,
28 "rainbow_swirl": true,
29 "snake": true,
30 "knight": true,
31 "christmas": true,
32 "static_gradient": true,
33 "rgb_test": true,
34 "alternating": true,
35 "twinkle": true
36 }
25 }, 37 },
26 "processor": "atmega32u4", 38 "processor": "atmega32u4",
27 "bootloader": "atmel-dfu", 39 "bootloader": "atmel-dfu",
diff --git a/keyboards/neokeys/g67/soldered/config.h b/keyboards/neokeys/g67/soldered/config.h
deleted file mode 100644
index 8bb96c992f..0000000000
--- a/keyboards/neokeys/g67/soldered/config.h
+++ /dev/null
@@ -1,30 +0,0 @@
1/* Copyright 2021 James Young (@noroadsleft)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#if defined(RGBLIGHT_ENABLE)
20#define RGBLIGHT_EFFECT_BREATHING
21#define RGBLIGHT_EFFECT_RAINBOW_MOOD
22#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
23#define RGBLIGHT_EFFECT_SNAKE
24#define RGBLIGHT_EFFECT_KNIGHT
25#define RGBLIGHT_EFFECT_CHRISTMAS
26#define RGBLIGHT_EFFECT_STATIC_GRADIENT
27#define RGBLIGHT_EFFECT_RGB_TEST
28#define RGBLIGHT_EFFECT_ALTERNATING
29#define RGBLIGHT_EFFECT_TWINKLE
30#endif
diff --git a/keyboards/neokeys/g67/soldered/info.json b/keyboards/neokeys/g67/soldered/info.json
index 111d721254..567a56d926 100644
--- a/keyboards/neokeys/g67/soldered/info.json
+++ b/keyboards/neokeys/g67/soldered/info.json
@@ -26,7 +26,19 @@
26 "brightness_steps": 8, 26 "brightness_steps": 8,
27 "led_count": 18, 27 "led_count": 18,
28 "max_brightness": 150, 28 "max_brightness": 150,
29 "sleep": true 29 "sleep": true,
30 "animations": {
31 "breathing": true,
32 "rainbow_mood": true,
33 "rainbow_swirl": true,
34 "snake": true,
35 "knight": true,
36 "christmas": true,
37 "static_gradient": true,
38 "rgb_test": true,
39 "alternating": true,
40 "twinkle": true
41 }
30 }, 42 },
31 "processor": "atmega32u4", 43 "processor": "atmega32u4",
32 "bootloader": "atmel-dfu", 44 "bootloader": "atmel-dfu",