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
69 changed files with 259 additions and 335 deletions

View File

@@ -1,8 +0,0 @@
// Copyright 2021 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "config_common.h"
#define MATRIX_COL_PINS { B12 }
#define MATRIX_ROW_PINS { B13 }

View File

@@ -1,3 +1,9 @@
{
"keyboard_name": "Onekey WB32F3G71 Eval"
"keyboard_name": "Onekey WB32F3G71 Eval",
"processor": "WB32F3G71",
"bootloader": "wb32-dfu",
"matrix_pins": {
"cols": ["B12"],
"rows": ["B13"]
}
}

View File

@@ -1,9 +1,3 @@
# MCU name
MCU = WB32F3G71
# Bootloader selection
BOOTLOADER = wb32-dfu
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = no # Audio control and System control
NKRO_ENABLE = no # Enable N-Key Rollover