summaryrefslogtreecommitdiff
path: root/keyboards/preonic
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-23 09:20:23 +1100
committerGitHub <noreply@github.com>2023-02-23 09:20:23 +1100
commit3bf01bb9ed202b14f78105db2aa2a75d01fc4323 (patch)
treee492f428742358d7e75a228314d92b818ee0370d /keyboards/preonic
parent7f805cc7799deb0ca75f751cebd32c6640058af9 (diff)
Move QMK LUFA bootloader config to data driven (#19879)
Diffstat (limited to 'keyboards/preonic')
-rw-r--r--keyboards/preonic/config.h5
-rw-r--r--keyboards/preonic/rev2/info.json6
2 files changed, 6 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>.
#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"]