Move LED indicator config to data driven (#19800)
This commit is contained in:
parent
d784f78bd0
commit
f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions
|
@ -29,10 +29,6 @@
|
|||
#define ENCODER_RESOLUTION 4
|
||||
#endif
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN C13
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGB_DI_PIN B15
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6261",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C13",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "tinyuf2",
|
||||
"board": "BLACKPILL_STM32_F401"
|
||||
|
|
|
@ -15,11 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN C13
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ A6, A7, B0, B1, B10 }
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6161",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C13",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "tinyuf2",
|
||||
"board": "BLACKPILL_STM32_F401"
|
||||
|
|
|
@ -36,10 +36,6 @@
|
|||
{ 4 }
|
||||
#endif
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN C13
|
||||
|
||||
#define SPLIT_LAYER_STATE_ENABLE
|
||||
#define SPLIT_LED_STATE_ENABLE
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6361",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C13",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"split": {
|
||||
"bootmagic": {
|
||||
"matrix": [5, 0]
|
||||
|
|
|
@ -38,9 +38,6 @@
|
|||
|
||||
#endif
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN C13
|
||||
#define SPLIT_LAYER_STATE_ENABLE
|
||||
#define SPLIT_LED_STATE_ENABLE
|
||||
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6362",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C13",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"split": {
|
||||
"bootmagic": {
|
||||
"matrix": [5, 0]
|
||||
|
|
|
@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN C13
|
||||
|
||||
// 0 1 2 3 4
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B11, B0, B1, A2, A3 }
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6061",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C13",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino"
|
||||
}
|
||||
|
|
|
@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN B2
|
||||
|
||||
// 0 1 2 3 4
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B11, B0, B1, A2, A3 }
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6061",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B2",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"processor": "STM32F103", // GD32F303CCT6
|
||||
"bootloader": "stm32duino"
|
||||
}
|
||||
|
|
|
@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN C13
|
||||
|
||||
// 0 1 2 3 4
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B10, A5, A6, A7, B0 }
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6062",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C13",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "tinyuf2",
|
||||
"board": "BLACKPILL_STM32_F401"
|
||||
|
|
|
@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define LED_NUM_LOCK_PIN B12
|
||||
#define LED_SCROLL_LOCK_PIN B13
|
||||
#define LED_CAPS_LOCK_PIN C13
|
||||
|
||||
// 0 1 2 3 4
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B10, A5, A6, A7, B0 }
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
"pid": "0x6062",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C13",
|
||||
"num_lock": "B12",
|
||||
"scroll_lock": "B13"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "tinyuf2",
|
||||
"board": "BLACKPILL_STM32_F401"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue