Move QMK LUFA bootloader config to data driven (#19879)

This commit is contained in:
Ryan
2023-02-23 09:20:23 +11:00
committed by GitHub
parent 7f805cc779
commit 3bf01bb9ed
109 changed files with 217 additions and 225 deletions

View File

@@ -40,7 +40,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D0 // The pin the LED strip is connected to
#define RGBLED_NUM 1 // Number of LEDs in your strip
#define QMK_ESC_OUTPUT D7 // usually COL
#define QMK_ESC_INPUT B7 // usually ROW
#define QMK_LED B6

View File

@@ -8,6 +8,11 @@
"pid": "0x8E66",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "B7",
"esc_output": "D7",
"led": "B6"
},
"indicators": {
"caps_lock": "F5"
},

View File

@@ -45,6 +45,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 QMK_ESC_OUTPUT B7 // usually COL
#define QMK_ESC_INPUT B0 // usually ROW
#define QMK_LED E6

View File

@@ -8,6 +8,11 @@
"pid": "0x0E6D",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "B0",
"esc_output": "B7",
"led": "E6"
},
"indicators": {
"caps_lock": "E6",
"on_state": 0

View File

@@ -28,10 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Backlight configuration
*/
#define QMK_ESC_OUTPUT C4 // usually COL
#define QMK_ESC_INPUT C6 // usually ROW
#define QMK_LED D1

View File

@@ -8,6 +8,11 @@
"pid": "0x8446",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "C6",
"esc_output": "C4",
"led": "D1"
},
"indicators": {
"caps_lock": "D1",
"on_state": 0

View File

@@ -56,6 +56,3 @@
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define QMK_ESC_OUTPUT F0 // usually COL
#define QMK_ESC_INPUT B7 // usually ROW

View File

@@ -8,6 +8,10 @@
"pid": "0x0140",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "B7",
"esc_output": "F0"
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"community_layouts": ["ortho_4x12", "planck_mit"],

View File

@@ -53,7 +53,3 @@
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define QMK_ESC_OUTPUT C6 // usually COL
#define QMK_ESC_INPUT B1 // usually ROW
#define QMK_LED C7

View File

@@ -8,6 +8,11 @@
"pid": "0x0145",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "B1",
"esc_output": "C6",
"led": "C7"
},
"indicators": {
"caps_lock": "C7",
"on_state": 0

View File

@@ -33,11 +33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
// For QMK DFU
#define QMK_ESC_OUTPUT C6
#define QMK_ESC_INPUT D1
#define QMK_LED B1
/* 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,11 @@
"pid": "0x5160",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "D1",
"esc_output": "C6",
"led": "B1"
},
"indicators": {
"caps_lock": "B1",
"num_lock": "B2",

View File

@@ -54,7 +54,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define QMK_ESC_OUTPUT D6 // usually COL
#define QMK_ESC_INPUT B7 // usually ROW
#define QMK_LED D0

View File

@@ -8,6 +8,11 @@
"pid": "0x1F02",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "B7",
"esc_output": "D6",
"led": "D0"
},
"indicators": {
"caps_lock": "D0"
},

View File

@@ -25,6 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define QMK_ESC_OUTPUT D2 // usually COL
#define QMK_ESC_INPUT B4 // usually ROW

View File

@@ -8,6 +8,10 @@
"pid": "0x0160",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "B4",
"esc_output": "D2"
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_hhkb", "60_iso", "60_tsangan_hhkb"],

View File

@@ -51,7 +51,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 8
#define QMK_ESC_OUTPUT D2 // usually COL
#define QMK_ESC_INPUT B4 // usually ROW
#define QMK_LED E6

View File

@@ -8,6 +8,11 @@
"pid": "0x7465",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "B4",
"esc_output": "D2",
"led": "E6"
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"community_layouts": ["65_ansi", "65_iso"],

View File

@@ -38,11 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SN74X138_ADDRESS_PINS { D2, D1, D0 }
#define SN74X138_E3_PIN D4
// For QMK DFU
#define QMK_ESC_OUTPUT E6
#define QMK_ESC_INPUT F0
#define QMK_LED B1
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5

View File

@@ -8,6 +8,11 @@
"pid": "0xB00E",
"device_version": "0.0.1"
},
"qmk_lufa_bootloader": {
"esc_input": "F0",
"esc_output": "E6",
"led": "B1"
},
"indicators": {
"caps_lock": "B1",
"num_lock": "B3",

View File

@@ -41,7 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 12
#define QMK_ESC_OUTPUT F0 // usually COL
#define QMK_ESC_INPUT B0 // usually ROW
#define QMK_LED B1

View File

@@ -8,6 +8,11 @@
"pid": "0xA71C",
"device_version": "0.0.3"
},
"qmk_lufa_bootloader": {
"esc_input": "B0",
"esc_output": "F0",
"led": "B1"
},
"indicators": {
"caps_lock": "B2",
"num_lock": "B1",