1
0

Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan
2023-06-18 14:39:07 +10:00
committed by GitHub
parent 7178645be7
commit b1783db4ea
2160 changed files with 2194 additions and 2058 deletions

View File

@@ -17,8 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 10
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
#define RGB_MATRIX_LED_COUNT 10
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17

View File

@@ -8,6 +8,9 @@
"pid": "0x0037",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 10
},
"ws2812": {
"pin": "D2"
},

View File

@@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 12 // Number of LEDs
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17

View File

@@ -8,6 +8,9 @@
"pid": "0x040D",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "C6"
},

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 4
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "1.0.0"
},
"rgblight": {
"led_count": 4,
"sleep": true
},
"ws2812": {

View File

@@ -42,8 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Enables This makes it easier for fast typists to use dual-function keys */
#define PERMISSIVE_HOLD
#define RGBLED_NUM 28 // Number of LEDs
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 28,
"split": true,
"max_brightness": 120
},

View File

@@ -22,5 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
#define RGBLED_NUM 4

View File

@@ -17,6 +17,9 @@
"pin": "B6",
"levels": 7
},
"rgblight": {
"led_count": 4
},
"ws2812": {
"pin": "D3"
},

View File

@@ -36,8 +36,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 16
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
#define RGB_MATRIX_KEYPRESSES

View File

@@ -12,6 +12,9 @@
"pin": "B8",
"breathing": true
},
"rgblight": {
"led_count": 16
},
"ws2812": {
"pin": "A7",
"driver": "spi"

View File

@@ -16,7 +16,4 @@
#pragma once
/* LEDs are not used in the standard 64key configuration. */
#define RGBLED_NUM 0
#define PERMISSIVE_HOLD

View File

@@ -8,6 +8,9 @@
"pid": "0x3632",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 0
},
"ws2812": {
"pin": "D3"
},

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 6,
"sleep": true
},
"ws2812": {

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 6,
"sleep": true
},
"ws2812": {

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 6,
"sleep": true
},
"ws2812": {

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 6,
"sleep": true
},
"ws2812": {

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 42
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 42,
"sleep": true
},
"ws2812": {

View File

@@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_CHANNEL 3
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
#define RGBLED_NUM 12
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x432A",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "B4",
"driver": "pwm"

View File

@@ -2,7 +2,6 @@
/* RGB Underglow */
#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 14
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 14
},
"ws2812": {
"pin": "A15"
},

View File

@@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -8,6 +8,9 @@
"pid": "0x3435",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -8,6 +8,9 @@
"pid": "0x3436",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -8,6 +8,9 @@
"pid": "0x3436",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -8,6 +8,9 @@
"pid": "0x3536",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -8,6 +8,9 @@
"pid": "0x3537",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,20 +0,0 @@
/* Copyright 2019
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -7,6 +7,9 @@
"split": {
"soft_serial_pin": "D0"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -8,6 +8,9 @@
"pid": "0x3636",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,22 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 12

View File

@@ -8,6 +8,9 @@
"pid": "0x3636",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -5,4 +5,3 @@
#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
#define RGBLIGHT_EFFECT_CHRISTMAS
#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
#define RGBLED_NUM 6 // Used when chaining strips

View File

@@ -11,6 +11,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 6,
"split_count": [3, 3]
},
"ws2812": {

View File

@@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Enables This makes it easier for fast typists to use dual-function keys */
#define PERMISSIVE_HOLD
#define RGBLED_NUM 12 // Number of LEDs
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -16,6 +16,9 @@
"split": {
"soft_serial_pin": "D0"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D3"
},

View File

@@ -18,10 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EE_HANDS
/* ws2812 RGB LED */
#if !defined(RGBLED_NUM)
# define RGBLED_NUM 30
# define RGBLIGHT_LAYERS
#endif
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -17,6 +17,7 @@
"soft_serial_pin": "D0"
},
"rgblight": {
"led_count": 30,
"sleep": true,
"led_map": [15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
"split_count": [16, 14]

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 6
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 6
},
"ws2812": {
"pin": "D4"
},

View File

@@ -9,7 +9,6 @@
#define NO_ACTION_ONESHOT
#define TAPPING_TOGGLE 3
#define RGBLED_NUM 1
#define RGBLIGHT_HUE_STEP 1
#define RGBLIGHT_SAT_STEP 1
#define RGBLIGHT_VAL_STEP 1

View File

@@ -8,6 +8,9 @@
"pid": "0x1000",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 1
},
"ws2812": {
"pin": "F4"
},

View File

@@ -2,8 +2,6 @@
#pragma once
#define RGBLED_NUM 9 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -17,6 +17,9 @@
"backlight": {
"breathing_period": 2
},
"rgblight": {
"led_count": 9
},
"ws2812": {
"pin": "D3"
},

View File

@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_PWM_TARGET_PERIOD 800000
# define RGBLED_NUM 24
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 24,
"sleep": true,
"led_map": [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1]
},

View File

@@ -18,7 +18,6 @@
#define LAYER_STATE_8BIT
#define RGBLED_NUM 7
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 7,
"sleep": true
},
"ws2812": {

View File

@@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -12,6 +12,7 @@
"pin": "D0"
},
"rgblight": {
"led_count": 8,
"max_brightness": 128,
"sleep": true
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 10
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0x6579",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 10
},
"ws2812": {
"pin": "D4"
},

View File

@@ -26,7 +26,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 13
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -1,4 +1,7 @@
{
"rgblight": {
"led_count": 13
},
"ws2812": {
"pin": "D1"
},

View File

@@ -26,7 +26,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 13
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -3,6 +3,9 @@
"cols": ["B4", "B5", "F6", "F5", "F4", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6"]
},
"rgblight": {
"led_count": 13
},
"ws2812": {
"pin": "D1"
},

View File

@@ -8,6 +8,9 @@
"pid": "0x0C60",
"device_version": "1.0.0"
},
"rgblight": {
"led_count": 1
},
"ws2812": {
"pin": "D3"
},

View File

@@ -1,4 +0,0 @@
#pragma once
/* ws2812 RGB LED */
#define RGBLED_NUM 1 // Number of LEDs

View File

@@ -16,7 +16,5 @@
#pragma once
#define RGBLED_NUM 50
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE

View File

@@ -8,6 +8,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 50
},
"ws2812": {
"pin": "A3"
},

View File

@@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 12
/*
* Feature disable options

View File

@@ -9,6 +9,7 @@
"device_version": "1.0.0"
},
"rgblight": {
"led_count": 12,
"split_count": [6, 6]
},
"layouts": {

View File

@@ -36,7 +36,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 16
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
#define RGB_MATRIX_KEYPRESSES

View File

@@ -17,6 +17,9 @@
"pin": "B8",
"breathing": true
},
"rgblight": {
"led_count": 16
},
"ws2812": {
"pin": "A7",
"driver": "spi"

View File

@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* RGB Indicators */
#define RGBLED_NUM 3
/* Solenid Pin */
#define SOLENOID_PIN D2

View File

@@ -8,6 +8,9 @@
"pid": "0xE881",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 3
},
"ws2812": {
"pin": "E6"
},

View File

@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
/* RGB */
#define RGBLED_NUM 12
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0xE890",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "B0"
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 24
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0xE964",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 24
},
"ws2812": {
"pin": "E6"
},

View File

@@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 14
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 14
},
"ws2812": {
"pin": "B1"
},

View File

@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBW
#define RGBLED_NUM 1
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x1313",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 1
},
"ws2812": {
"pin": "D1"
},

View File

@@ -18,9 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20
#define AUDIO_PIN C6
#define EE_HANDS

View File

@@ -17,6 +17,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 20,
"max_brightness": 80,
"split_count": [10, 10]
},

View File

@@ -29,8 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define RGBLED_NUM 20
#define DEBUG_LED_PIN C13
/* Audio config */

View File

@@ -6,6 +6,7 @@
},
"diode_direction": "COL2ROW",
"rgblight": {
"led_count": 20,
"split_count": [10, 10]
},
"ws2812": {

View File

@@ -31,9 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_PWM_TARGET_PERIOD 800000
#define RGBLED_NUM 57
#define DEBUG_LED_PIN C13
/* Audio config */

View File

@@ -6,6 +6,7 @@
},
"diode_direction": "COL2ROW",
"rgblight": {
"led_count": 57,
"split_count": [26, 31]
},
"ws2812": {

View File

@@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20
#define RGBLIGHT_LIMIT_VAL 80
#define DEBUG_LED_PIN D6

View File

@@ -17,6 +17,7 @@
"pin": "E7"
},
"rgblight": {
"led_count": 20,
"max_brightness": 80,
"split_count": [10, 10]
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
# define RGBLED_NUM 1
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17

View File

@@ -8,6 +8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"rgblight": {
"led_count": 1
},
"ws2812": {
"pin": "B2"
},

View File

@@ -22,10 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* Underlight configuration
*/
#define RGBLED_NUM 4 // Number of LEDs
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -21,6 +21,9 @@
"num_lock": "D5",
"on_state": 0
},
"rgblight": {
"led_count": 4
},
"ws2812": {
"pin": "D2"
},

View File

@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MASTER_RIGHT
# define RGBLED_NUM 12
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 1
# define RGBLIGHT_VAL_STEP 1

View File

@@ -9,6 +9,7 @@
"device_version": "1.0.0"
},
"rgblight": {
"led_count": 12,
"split_count": [6, 6]
},
"ws2812": {

Some files were not shown because too many files have changed in this diff Show More