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

@@ -21,11 +21,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A5, B3, A9, A10, B13, B14, B15, A8, B7, B8, B9, C13, A15, A0, A1 }
#define MATRIX_COL_PINS { A4, A3, B11, B10, B1, B0, A7, A6 }
#define LED_KANA_PIN A2
#define LED_CAPS_LOCK_PIN B5
#define LED_CTRL_XFER_PIN B6
#define LED_NUM_LOCK_PIN B4
#define LED_KB_LOCK_PIN B12
#define LED_PIN_ON_STATE 0

View File

@@ -2,6 +2,12 @@
"usb": {
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B5",
"num_lock": "B4",
"kana": "A2",
"on_state": 0
},
"processor": "STM32F103",
"bootloader": "stm32duino"
}

View File

@@ -21,11 +21,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F7, F6, F5, F4, F3, F2, F1, F0, D7, B7, D0, D1, D2, D3, D4 }
#define MATRIX_COL_PINS { C6, C5, C4, C3, C2, C1, C0, E1 }
#define LED_KANA_PIN D5
#define LED_CAPS_LOCK_PIN B3
#define LED_CTRL_XFER_PIN B4
#define LED_NUM_LOCK_PIN B2
#define LED_KB_LOCK_PIN B1
#define LED_PIN_ON_STATE 0

View File

@@ -2,6 +2,12 @@
"usb": {
"device_version": "0.0.2"
},
"indicators": {
"caps_lock": "B3",
"num_lock": "B2",
"kana": "D5",
"on_state": 0
},
"processor": "at90usb1286",
"bootloader": "halfkay"
}