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

@ -61,7 +61,3 @@
# define ENABLE_RGB_MATRIX_MULTISPLASH
# define ENABLE_RGB_MATRIX_SOLID_SPLASH
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
#define LED_NUM_LOCK_PIN C15
#define LED_CAPS_LOCK_PIN B2
#define LED_SCROLL_LOCK_PIN B9

View file

@ -2,5 +2,10 @@
"keyboard_name": "Adelais En Ciel",
"usb": {
"pid": "0xAEC1"
},
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",
"scroll_lock": "B9"
}
}

View file

@ -96,8 +96,3 @@
#define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10
#define LED_NUM_LOCK_PIN C15
#define LED_CAPS_LOCK_PIN B2
#define LED_SCROLL_LOCK_PIN B9

View file

@ -2,5 +2,10 @@
"keyboard_name": "Adelais En Ciel Rev2",
"usb": {
"pid": "0xAEC2"
},
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",
"scroll_lock": "B9"
}
}

View file

@ -119,7 +119,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10
#endif
#define LED_NUM_LOCK_PIN A0
#define LED_CAPS_LOCK_PIN C14
#define LED_SCROLL_LOCK_PIN C15

View file

@ -2,5 +2,10 @@
"keyboard_name": "Adelais En Ciel Rev3",
"usb": {
"pid": "0xAEC3"
},
"indicators": {
"caps_lock": "C14",
"num_lock": "A0",
"scroll_lock": "C15"
}
}

View file

@ -41,7 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define LED_NUM_LOCK_PIN C15
#define LED_CAPS_LOCK_PIN B2
#define LED_SCROLL_LOCK_PIN B9

View file

@ -1,3 +1,8 @@
{
"keyboard_name": "Adelais"
"keyboard_name": "Adelais",
"indicators": {
"caps_lock": "B2",
"num_lock": "C15",
"scroll_lock": "B9"
}
}

View file

@ -31,11 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
#define LED_NUM_LOCK_PIN D7
#define LED_CAPS_LOCK_PIN E6
#define LED_SCROLL_LOCK_PIN F7
#define LED_PIN_ON_STATE 1
#define BACKLIGHT_PIN B5
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

View file

@ -2,5 +2,10 @@
"keyboard_name": "Adelais AVR",
"usb": {
"pid": "0xAD04"
},
"indicators": {
"caps_lock": "E6",
"num_lock": "D7",
"scroll_lock": "F7"
}
}