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

@ -45,8 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3
#endif
#define LED_NUM_LOCK_PIN F1
#define LED_CAPS_LOCK_PIN F0
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View file

@ -8,6 +8,10 @@
"pid": "0x0009",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "F0",
"num_lock": "F1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View file

@ -38,10 +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 D2
#define LED_CAPS_LOCK_PIN D3
#define LED_SCROLL_LOCK_PIN D4
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING

View file

@ -8,6 +8,11 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "D3",
"num_lock": "D2",
"scroll_lock": "D4"
},
"processor": "at90usb1286",
"bootloader": "qmk-dfu",
"layouts": {

View file

@ -33,10 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define LED_NUM_LOCK_PIN D2
#define LED_CAPS_LOCK_PIN D3
#define LED_SCROLL_LOCK_PIN D4
#define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3

View file

@ -8,6 +8,11 @@
"pid": "0x0001",
"device_version": "0.0.3"
},
"indicators": {
"caps_lock": "D3",
"num_lock": "D2",
"scroll_lock": "D4"
},
"processor": "at90usb1286",
"bootloader": "qmk-dfu",
"layouts": {

View file

@ -65,9 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#endif
#define LED_SCROLL_LOCK_PIN F0
#define LED_CAPS_LOCK_PIN F1
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View file

@ -8,6 +8,10 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
"indicators": {
"caps_lock": "F1",
"scroll_lock": "F0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {