Move LED indicator config to data driven (#19800)

This commit is contained in:
Ryan
2023-02-17 13:14:29 +11:00
committed by GitHub
parent d784f78bd0
commit f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions

View File

@@ -11,10 +11,6 @@
/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */
#define DIP_SWITCH_PINS { A0 }
/* status light pins using the on board LED for the blackpill */
#define LED_CAPS_LOCK_PIN C13
#define LED_PIN_ON_STATE 0
/*
* Keyboard Matrix Assignments
*

View File

@@ -8,6 +8,10 @@
"pid": "0x170E",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "C13",
"on_state": 0
},
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F401",

View File

@@ -46,10 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* status light pins */
#define LED_NUM_LOCK_PIN B8
#define LED_CAPS_LOCK_PIN B9
/* RGB settings, uncomment this define to enable RGB */
#define RGB_DI_PIN A0
#ifdef RGB_DI_PIN

View File

@@ -8,6 +8,10 @@
"pid": "0x1707",
"device_version": "2.0.1"
},
"indicators": {
"caps_lock": "B9",
"num_lock": "B8"
},
"bootmagic": {
"matrix": [5, 4]
},

View File

@@ -14,10 +14,6 @@
/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */
#define DIP_SWITCH_PINS { A0 }
/* status light pins using the on board LED for the blackpill */
#define LED_CAPS_LOCK_PIN C13
#define LED_PIN_ON_STATE 0
/* set the tapping term for glidepoint pad to register a tap click */
//#define CIRQUE_PINNACLE_TAPPING_TERM 0 // This is set to 0 to disable it

View File

@@ -8,6 +8,10 @@
"pid": "0x170F",
"device_version": "1.0.0"
},
"indicators": {
"caps_lock": "C13",
"on_state": 0
},
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"board": "BLACKPILL_STM32_F401",