Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
@@ -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",
|
||||
|
@@ -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
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x1707",
|
||||
"device_version": "2.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B9",
|
||||
"num_lock": "B8"
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [5, 4]
|
||||
},
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user