Skip to content

Commit 3bf01bb

Browse files
authored
Move QMK LUFA bootloader config to data driven (#19879)
1 parent 7f805cc commit 3bf01bb

File tree

109 files changed

+217
-225
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+217
-225
lines changed

keyboards/0xcb/1337/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
6262
#define OLED_DISPLAY_128X64
6363
#define OLED_FONT_END 255
6464
#define OLED_FONT_H "gfxfont.c"
65-
66-
/* QMK DFU */
67-
#define QMK_LED B0

keyboards/0xcb/1337/info.json

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"pid": "0x1337",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"led": "B0"
13+
},
1114
"processor": "atmega32u4",
1215
"bootloader": "qmk-dfu",
1316
"matrix_pins": {

keyboards/4pplet/aekiso60/rev_a/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
/* COL2ROW or ROW2COL */
99
#define DIODE_DIRECTION COL2ROW
1010

11-
#define QMK_ESC_OUTPUT C4 // usually COL
12-
#define QMK_ESC_INPUT C2 // usually ROW
13-
1411
#define RGB_DI_PIN D3
1512
#define RGBLED_NUM 12
1613

keyboards/4pplet/aekiso60/rev_a/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0001",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "C2",
13+
"esc_output": "C4"
14+
},
1115
"processor": "atmega32u2",
1216
"bootloader": "atmel-dfu",
1317
"layouts": {

keyboards/4pplet/aekiso60/rev_b/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
2727

28-
#define QMK_ESC_OUTPUT A3 // usually COL
29-
#define QMK_ESC_INPUT B14 // usually ROW
30-
3128
#define RGBLED_NUM 12
3229
#define WS2812_EXTERNAL_PULLUP
3330
#define RGB_DI_PIN A8

keyboards/4pplet/bootleg/rev_a/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2323

2424
/* COL2ROW or ROW2COL */
2525
#define DIODE_DIRECTION COL2ROW
26-
27-
#define QMK_ESC_OUTPUT C4 // usually COL
28-
#define QMK_ESC_INPUT D0 // usually ROW

keyboards/4pplet/bootleg/rev_a/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0004",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "D0",
13+
"esc_output": "C4"
14+
},
1115
"processor": "atmega32u2",
1216
"bootloader": "atmel-dfu",
1317
"layouts": {

keyboards/4pplet/steezy60/rev_a/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
/* COL2ROW or ROW2COL */
99
#define DIODE_DIRECTION COL2ROW
1010

11-
#define QMK_ESC_OUTPUT C4 // usually COL
12-
#define QMK_ESC_INPUT C2 // usually ROW
13-
1411
#define RGB_DI_PIN D3
1512
#define RGBLED_NUM 12
1613

keyboards/4pplet/steezy60/rev_a/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0002",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "C2",
13+
"esc_output": "C4"
14+
},
1115
"processor": "atmega32u2",
1216
"bootloader": "atmel-dfu",
1317
"layouts": {

keyboards/4pplet/waffling60/rev_a/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2424

2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
27-
28-
#define QMK_ESC_OUTPUT D3 // usually COL
29-
#define QMK_ESC_INPUT D4 // usually ROW

keyboards/4pplet/waffling60/rev_a/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0003",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "D4",
13+
"esc_output": "D3"
14+
},
1115
"processor": "atmega32u2",
1216
"bootloader": "atmel-dfu",
1317
"layouts": {

keyboards/4pplet/waffling60/rev_b/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
2727

28-
#define QMK_ESC_OUTPUT C2 // usually COL
29-
#define QMK_ESC_INPUT C4 // usually ROW
30-
3128
#define RGB_DI_PIN D3
3229
#define RGBLED_NUM 1
3330

keyboards/4pplet/waffling60/rev_b/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0005",
99
"device_version": "0.0.2"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "C4",
13+
"esc_output": "C2"
14+
},
1115
"processor": "atmega32u2",
1216
"bootloader": "atmel-dfu",
1317
"layouts": {

keyboards/4pplet/waffling60/rev_c/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
2727

28-
#define QMK_ESC_OUTPUT C2 // usually COL
29-
#define QMK_ESC_INPUT C4 // usually ROW
30-
3128
#define RGB_DI_PIN D3
3229
#define RGBLED_NUM 1
3330

keyboards/4pplet/waffling60/rev_c/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0008",
99
"device_version": "0.0.3"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "C4",
13+
"esc_output": "C2"
14+
},
1115
"processor": "atmega32u2",
1216
"bootloader": "atmel-dfu",
1317
"layouts": {

keyboards/4pplet/waffling60/rev_d/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
2727

28-
#define QMK_ESC_OUTPUT B2 // usually COL
29-
#define QMK_ESC_INPUT B14 // usually ROW
30-
3128
#define RGBLED_NUM 1
3229
#define WS2812_EXTERNAL_PULLUP
3330
#define RGB_DI_PIN A8

keyboards/4pplet/waffling60/rev_d_ansi/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2424

2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
27-
28-
#define QMK_ESC_OUTPUT B2 // usually COL
29-
#define QMK_ESC_INPUT B14 // usually ROW

keyboards/4pplet/waffling60/rev_d_iso/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2424

2525
/* COL2ROW or ROW2COL */
2626
#define DIODE_DIRECTION COL2ROW
27-
28-
#define QMK_ESC_OUTPUT B2 // usually COL
29-
#define QMK_ESC_INPUT B14 // usually ROW

keyboards/4pplet/waffling80/rev_a/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2424
/* COL2ROW or ROW2COL */
2525
#define DIODE_DIRECTION COL2ROW
2626

27-
#define QMK_ESC_OUTPUT C6 // usually COL
28-
#define QMK_ESC_INPUT C4 // usually ROW
29-
3027
#define RGB_DI_PIN D7
3128
#define RGBLED_NUM 2
3229

keyboards/4pplet/waffling80/rev_a/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0006",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "C4",
13+
"esc_output": "C6"
14+
},
1115
"processor": "atmega32u2",
1216
"bootloader": "atmel-dfu",
1317
"layouts": {

keyboards/4pplet/waffling80/rev_b/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2424
/* COL2ROW or ROW2COL */
2525
#define DIODE_DIRECTION COL2ROW
2626

27-
#define QMK_ESC_OUTPUT B2 // usually COL
28-
#define QMK_ESC_INPUT B13 // usually ROW
29-
3027
#define RGBLED_NUM 2
3128
#define WS2812_EXTERNAL_PULLUP
3229
#define RGB_DI_PIN A8

keyboards/adm42/rev4/config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define MATRIX_COL_PINS { C6, B6, B5, B4, D7, D6, F0, F1, F4, F5, F6, F7 }
2020
#define MATRIX_ROW_PINS { C7, D5, D3, D2 }
2121

22-
#define QMK_LED E6
22+
#define ADM42_LED E6
2323

2424
#define RGB_DI_PIN B7
2525

keyboards/adm42/rev4/keymaps/default/keymap.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
174174
case REFLASH:
175175
eeconfig_init();
176176
eeconfig_update_rgb_matrix_default();
177-
writePinLow(QMK_LED);
177+
writePinLow(ADM42_LED);
178178
reset_keyboard();
179179
return false;
180180

@@ -184,21 +184,21 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
184184
}
185185

186186
void keyboard_pre_init_kb(void) {
187-
setPinOutput(QMK_LED);
188-
writePinHigh(QMK_LED);
187+
setPinOutput(ADM42_LED);
188+
writePinHigh(ADM42_LED);
189189
}
190190

191191
void keyboard_post_init_kb(void) {
192192
debug_enable = true;
193193
debug_matrix = false;
194194
debug_keyboard = false;
195-
writePinHigh(QMK_LED);
195+
writePinHigh(ADM42_LED);
196196
}
197197

198198
void suspend_power_down_kb(void) {
199-
writePinLow(QMK_LED);
199+
writePinLow(ADM42_LED);
200200
}
201201

202202
void suspend_wakeup_init_kb(void) {
203-
writePinHigh(QMK_LED);
203+
writePinHigh(ADM42_LED);
204204
}

keyboards/aves65/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4545
#define RGBLIGHT_EFFECT_ALTERNATING
4646
#define RGBLIGHT_EFFECT_TWINKLE
4747
#define RGBLED_NUM 9
48-
49-
#define QMK_ESC_OUTPUT D0 // usually COL
50-
#define QMK_ESC_INPUT D4 // usually ROW

keyboards/aves65/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x9038",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "D4",
13+
"esc_output": "D0"
14+
},
1115
"processor": "atmega32u4",
1216
"bootloader": "qmk-dfu",
1317
"community_layouts": ["65_ansi", "65_ansi_split_bs", "65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso", "65_iso_blocker", "65_iso_blocker_split_bs"],

keyboards/compound/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2525

2626
/* COL2ROW or ROW2COL */
2727
#define DIODE_DIRECTION COL2ROW
28-
29-
#define QMK_ESC_OUTPUT B3 // usually COL
30-
#define QMK_ESC_INPUT F0 // usually ROW

keyboards/e88/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,3 @@
5454
//#define NO_ACTION_LAYER
5555
//#define NO_ACTION_TAPPING
5656
//#define NO_ACTION_ONESHOT
57-
58-
#define QMK_ESC_OUTPUT F0 // usually COL
59-
#define QMK_ESC_INPUT B7 // usually ROW

keyboards/e88/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0187",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "B7",
13+
"esc_output": "F0"
14+
},
1115
"processor": "atmega32u4",
1216
"bootloader": "qmk-dfu",
1317
"layouts": {

keyboards/evyd13/atom47/rev2/config.h

-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4040

4141
#define RGB_DI_PIN D0 // The pin the LED strip is connected to
4242
#define RGBLED_NUM 1 // Number of LEDs in your strip
43-
44-
#define QMK_ESC_OUTPUT D7 // usually COL
45-
#define QMK_ESC_INPUT B7 // usually ROW
46-
#define QMK_LED B6

keyboards/evyd13/atom47/rev2/info.json

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"pid": "0x8E66",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "B7",
13+
"esc_output": "D7",
14+
"led": "B6"
15+
},
1116
"indicators": {
1217
"caps_lock": "F5"
1318
},

keyboards/evyd13/atom47/rev3/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4545
#define RGBLIGHT_EFFECT_RGB_TEST
4646
#define RGBLIGHT_EFFECT_ALTERNATING
4747
#define RGBLIGHT_EFFECT_TWINKLE
48-
#define QMK_ESC_OUTPUT B7 // usually COL
49-
#define QMK_ESC_INPUT B0 // usually ROW
50-
#define QMK_LED E6

keyboards/evyd13/atom47/rev3/info.json

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"pid": "0x0E6D",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "B0",
13+
"esc_output": "B7",
14+
"led": "E6"
15+
},
1116
"indicators": {
1217
"caps_lock": "E6",
1318
"on_state": 0

keyboards/evyd13/atom47/rev4/config.h

-7
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2828

2929
/* COL2ROW or ROW2COL */
3030
#define DIODE_DIRECTION COL2ROW
31-
32-
/* Backlight configuration
33-
*/
34-
35-
#define QMK_ESC_OUTPUT C4 // usually COL
36-
#define QMK_ESC_INPUT C6 // usually ROW
37-
#define QMK_LED D1

keyboards/evyd13/atom47/rev4/info.json

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"pid": "0x8446",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "C6",
13+
"esc_output": "C4",
14+
"led": "D1"
15+
},
1116
"indicators": {
1217
"caps_lock": "D1",
1318
"on_state": 0

keyboards/evyd13/eon40/config.h

-3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,3 @@
5656
//#define NO_ACTION_LAYER
5757
//#define NO_ACTION_TAPPING
5858
//#define NO_ACTION_ONESHOT
59-
60-
#define QMK_ESC_OUTPUT F0 // usually COL
61-
#define QMK_ESC_INPUT B7 // usually ROW

keyboards/evyd13/eon40/info.json

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"pid": "0x0140",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "B7",
13+
"esc_output": "F0"
14+
},
1115
"processor": "atmega32u4",
1216
"bootloader": "qmk-dfu",
1317
"community_layouts": ["ortho_4x12", "planck_mit"],

keyboards/evyd13/minitomic/config.h

-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,3 @@
5353
//#define NO_ACTION_LAYER
5454
//#define NO_ACTION_TAPPING
5555
//#define NO_ACTION_ONESHOT
56-
57-
#define QMK_ESC_OUTPUT C6 // usually COL
58-
#define QMK_ESC_INPUT B1 // usually ROW
59-
#define QMK_LED C7

keyboards/evyd13/minitomic/info.json

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"pid": "0x0145",
99
"device_version": "0.0.1"
1010
},
11+
"qmk_lufa_bootloader": {
12+
"esc_input": "B1",
13+
"esc_output": "C6",
14+
"led": "C7"
15+
},
1116
"indicators": {
1217
"caps_lock": "C7",
1318
"on_state": 0

0 commit comments

Comments
 (0)