1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
979 changed files with 1935 additions and 2171 deletions

View file

@ -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

View file

@ -8,6 +8,9 @@
"pid": "0x8E66",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "F5"
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {

View file

@ -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

View file

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

View file

@ -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

View file

@ -8,6 +8,10 @@
"pid": "0x8446",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D1",
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"layouts": {

View file

@ -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 */