Onekey: migrate some stuff to data driven (#18502)
This commit is contained in:
@@ -18,12 +18,6 @@
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define MATRIX_COL_PINS { F4 }
|
||||
#define MATRIX_ROW_PINS { F5 }
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
|
||||
#define RGB_DI_PIN F6
|
||||
#define RGB_CI_PIN B1
|
||||
|
||||
#define ADC_PIN F6
|
||||
|
@@ -1,3 +1,14 @@
|
||||
{
|
||||
"keyboard_name": "Onekey Elite-C"
|
||||
"keyboard_name": "Onekey Elite-C",
|
||||
"development_board": "elite_c",
|
||||
"matrix_pins": {
|
||||
"cols": ["F4"],
|
||||
"rows": ["F5"]
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
"rgblight": {
|
||||
"pin": "F6"
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +0,0 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
Reference in New Issue
Block a user