From 3bf01bb9ed202b14f78105db2aa2a75d01fc4323 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 23 Feb 2023 09:20:23 +1100 Subject: Move QMK LUFA bootloader config to data driven (#19879) --- keyboards/preonic/config.h | 5 ----- keyboards/preonic/rev2/info.json | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'keyboards/preonic') diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h index 9580100dfe..494c15c516 100644 --- a/keyboards/preonic/config.h +++ b/keyboards/preonic/config.h @@ -22,11 +22,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D2, D5, B5, B6, D3 } #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } -#define QMK_ESC_OUTPUT F1 -#define QMK_ESC_INPUT B5 -#define QMK_LED E6 -#define QMK_SPEAKER C6 - #define AUDIO_VOICES #define AUDIO_PIN C6 diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json index b1e66a09e0..4392f2e964 100644 --- a/keyboards/preonic/rev2/info.json +++ b/keyboards/preonic/rev2/info.json @@ -6,6 +6,12 @@ "pid": "0x67F3", "device_version": "0.0.2" }, + "qmk_lufa_bootloader": { + "esc_input": "B5", + "esc_output": "F1", + "led": "E6", + "speaker": "C6" + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "community_layouts": ["ortho_5x12"] -- cgit v1.2.3