1
0
Fork 0

Onekey: migrate some stuff to data driven (#18502)

This commit is contained in:
Ryan 2022-09-30 04:23:11 +10:00 committed by GitHub
parent bad8c67189
commit 45b5ed5c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 259 additions and 335 deletions

View file

@ -18,14 +18,9 @@
#include "config_common.h"
#define MATRIX_COL_PINS { F4 }
#define MATRIX_ROW_PINS { F5 }
#define BACKLIGHT_PIN B6
#define RGB_DI_PIN F6
#define ADC_PIN F6
#define RGB_CI_PIN F7
#define QMK_WAITING_TEST_BUSY_PIN F6
#define QMK_WAITING_TEST_YIELD_PIN F7

View file

@ -1,3 +1,15 @@
{
"keyboard_name": "Onekey Teensy 2.0++"
"keyboard_name": "Onekey Teensy 2.0++",
"processor": "at90usb1286",
"bootloader": "halfkay",
"matrix_pins": {
"cols": ["F4"],
"rows": ["F5"]
},
"backlight": {
"pin": "B6"
},
"rgblight": {
"pin": "F6"
}
}

View file

@ -1,5 +0,0 @@
# MCU name
MCU = at90usb1286
# Bootloader selection
BOOTLOADER = halfkay