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

@@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_CAPS_LOCK_PIN B0
#define LED_PIN_ON_STATE 0
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING

View File

@@ -6,6 +6,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B0",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -38,8 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_CAPS_LOCK_PIN B0
#define LED_PIN_ON_STATE 0
#define TAPPING_TOGGLE 3
#undef LOCKING_SUPPORT_ENABLE

View File

@@ -6,6 +6,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B0",
"on_state": 0
},
"processor": "atmega16u4",
"bootloader": "atmel-dfu"
}

View File

@@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_CAPS_LOCK_PIN B6
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING

View File

@@ -6,6 +6,9 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B6"
},
"processor": "at90usb1286",
"bootloader": "halfkay"
}

View File

@@ -41,10 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* The Model M has no diodes */
#define MATRIX_HAS_GHOST
/* Indicator LEDs */
#define LED_CAPS_LOCK_PIN E6
#define LED_PIN_ON_STATE 0
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -8,6 +8,10 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "E6",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "halfkay",
"layouts": {

View File

@@ -41,10 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* The Model M does not have NKRO */
#define MATRIX_HAS_GHOST
#define LED_NUM_LOCK_PIN B4
#define LED_CAPS_LOCK_PIN B6
#define LED_SCROLL_LOCK_PIN B5
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -8,6 +8,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "B6",
"num_lock": "B4",
"scroll_lock": "B5"
},
"processor": "at90usb1286",
"bootloader": "halfkay",
"layouts":