Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -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
|
||||
|
@@ -6,6 +6,10 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B0",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
@@ -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
|
||||
|
@@ -6,6 +6,10 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B0",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega16u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
@@ -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
|
||||
|
@@ -6,6 +6,9 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B6"
|
||||
},
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "halfkay"
|
||||
}
|
||||
|
@@ -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.
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "E6",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "halfkay",
|
||||
"layouts": {
|
||||
|
@@ -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.
|
||||
|
@@ -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":
|
||||
|
Reference in New Issue
Block a user