Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -42,9 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 4
|
||||
|
||||
#define LED_CAPS_LOCK_PIN F5
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
||||
#define RGB_DI_PIN D0 // The pin the LED strip is connected to
|
||||
#define RGBLED_NUM 1 // Number of LEDs in your strip
|
||||
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x8E66",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "F5"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "qmk-dfu",
|
||||
"layouts": {
|
||||
|
@@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
|
||||
#define LED_CAPS_LOCK_PIN E6
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN F5 // The pin the LED strip is connected to
|
||||
#define RGBLED_NUM 6 // Number of LEDs in your strip
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x0E6D",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "E6",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "qmk-dfu",
|
||||
"layouts": {
|
||||
|
@@ -39,6 +39,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define QMK_ESC_OUTPUT C4 // usually COL
|
||||
#define QMK_ESC_INPUT C6 // usually ROW
|
||||
#define QMK_LED D1
|
||||
|
||||
#define LED_CAPS_LOCK_PIN D1
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x8446",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "D1",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "qmk-dfu",
|
||||
"layouts": {
|
||||
|
@@ -38,12 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
//#define LED_NUM_LOCK_PIN B0
|
||||
//#define LED_CAPS_LOCK_PIN B1
|
||||
//#define LED_SCROLL_LOCK_PIN B2
|
||||
//#define LED_COMPOSE_PIN B3
|
||||
//#define LED_KANA_PIN B4
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
Reference in New Issue
Block a user