diff options
author | Jack Sangdahl <[email protected]> | 2025-03-15 00:03:14 -0600 |
---|---|---|
committer | Jack Sangdahl <[email protected]> | 2025-03-15 00:03:14 -0600 |
commit | 3541c2ece24c57d68fd3d8c4ad5e602844836e70 (patch) | |
tree | 08df709afa6a8c34ed9191f224c576e649a744b0 | |
parent | 7c8b8e30e1dc5a5cac38bae4555bd5f1cd6512f8 (diff) | |
download | qmk_me-3541c2ece24c57d68fd3d8c4ad5e602844836e70.tar.gz qmk_me-3541c2ece24c57d68fd3d8c4ad5e602844836e70.zip |
Tidy up onekey keymaps, add ls0x testing, fix xyz60
-rw-r--r-- | keyboards/xyz60/keyboard.json | 2 | ||||
-rw-r--r-- | keymaps/onekey/f411_ls0x/3270_11.qff.c | 85 | ||||
-rw-r--r-- | keymaps/onekey/f411_ls0x/3270_11.qff.h | 15 | ||||
-rw-r--r-- | keymaps/onekey/f411_ls0x/config.h | 22 | ||||
-rw-r--r-- | keymaps/onekey/f411_ls0x/halconf.h | 9 | ||||
-rw-r--r-- | keymaps/onekey/f411_ls0x/keymap.c | 23 | ||||
-rw-r--r-- | keymaps/onekey/f411_ls0x/mcuconf.h | 8 | ||||
-rw-r--r-- | keymaps/onekey/f411_ls0x/rules.mk | 6 | ||||
-rw-r--r-- | keymaps/onekey/f411_qfplib/config.h | 12 | ||||
-rw-r--r-- | keymaps/onekey/f411_qfplib/keymap.c (renamed from keymaps/onekey/stm32f411/keymap.c) | 0 | ||||
-rw-r--r-- | keymaps/onekey/f411_qfplib/qfplib/qfplib.h (renamed from keymaps/onekey/stm32f411/qfplib/qfplib.h) | 0 | ||||
-rw-r--r-- | keymaps/onekey/f411_qfplib/qfplib/qfplib.s (renamed from keymaps/onekey/stm32f411/qfplib/qfplib.s) | 0 | ||||
-rw-r--r-- | keymaps/onekey/f411_qfplib/rules.mk (renamed from keymaps/onekey/stm32f411/rules.mk) | 0 | ||||
-rw-r--r-- | keymaps/onekey/rp_smp/chconf.h (renamed from keymaps/onekey/rp2040/chconf.h) | 0 | ||||
-rw-r--r-- | keymaps/onekey/rp_smp/keymap.c (renamed from keymaps/onekey/rp2040/keymap.c) | 0 | ||||
-rw-r--r-- | keymaps/onekey/rp_smp/mcuconf.h (renamed from keymaps/onekey/rp2040/mcuconf.h) | 0 | ||||
-rw-r--r-- | keymaps/onekey/rp_smp/rules.mk (renamed from keymaps/onekey/rp2040/rules.mk) | 0 | ||||
-rw-r--r-- | keymaps/onekey/stm32f411/config.h | 12 |
18 files changed, 181 insertions, 13 deletions
diff --git a/keyboards/xyz60/keyboard.json b/keyboards/xyz60/keyboard.json index d605eb3..316e36a 100644 --- a/keyboards/xyz60/keyboard.json +++ b/keyboards/xyz60/keyboard.json @@ -74,7 +74,7 @@ {"matrix": [4, 1], "x": 0, "y": 0}, {"matrix": [4, 2], "x": 0, "y": 0}, {"matrix": [4, 6], "x": 0, "y": 0}, - {"matrix": [4, 10], "x": 0, "y": 0}, + {"matrix": [4, 11], "x": 0, "y": 0}, {"matrix": [4, 12], "x": 0, "y": 0}, {"matrix": [4, 13], "x": 0, "y": 0} ] diff --git a/keymaps/onekey/f411_ls0x/3270_11.qff.c b/keymaps/onekey/f411_ls0x/3270_11.qff.c new file mode 100644 index 0000000..43e5cbc --- /dev/null +++ b/keymaps/onekey/f411_ls0x/3270_11.qff.c @@ -0,0 +1,85 @@ +// Copyright 2025 QMK -- generated source code only, font retains original copyright +// SPDX-License-Identifier: GPL-2.0-or-later + +// This file was auto-generated by `painter-convert-font-image` with arguments: +// format | mono2 +// unicode_glyphs | +// output | qmk_firmware +// input | 3270_11.png + +// Font's metadata +// --------------- +// Glyphs: , !, ", #, $, %, &, ', (, ), *, +, ,, -, ., /, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, :, ;, <, =, >, ?, @, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, [, \, ], ^, _, `, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, {, |, }, ~ + +#include <qp.h> + +const uint32_t font_3270_11_length = 1017; + +// clang-format off +const uint8_t font_3270_11[1017] = { + 0x00, 0xFF, 0x14, 0x00, 0x00, 0x51, 0x46, 0x46, 0x01, 0xF9, 0x03, 0x00, 0x00, 0x06, 0xFC, 0xFF, + 0xFF, 0x0A, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x01, 0xFE, 0x1D, 0x01, 0x00, 0x06, 0x00, + 0x00, 0x86, 0x00, 0x00, 0x06, 0x01, 0x00, 0x46, 0x02, 0x00, 0x06, 0x04, 0x00, 0x46, 0x06, 0x00, + 0x86, 0x08, 0x00, 0xC6, 0x0A, 0x00, 0x46, 0x0B, 0x00, 0x46, 0x0D, 0x00, 0x46, 0x0F, 0x00, 0x06, + 0x11, 0x00, 0x86, 0x12, 0x00, 0x46, 0x14, 0x00, 0xC6, 0x15, 0x00, 0x46, 0x17, 0x00, 0xC6, 0x17, + 0x00, 0x06, 0x1A, 0x00, 0x46, 0x1B, 0x00, 0x46, 0x1D, 0x00, 0x86, 0x1F, 0x00, 0xC6, 0x21, 0x00, + 0x06, 0x24, 0x00, 0x86, 0x26, 0x00, 0x86, 0x28, 0x00, 0xC6, 0x2A, 0x00, 0x06, 0x2D, 0x00, 0x06, + 0x2F, 0x00, 0x06, 0x31, 0x00, 0x06, 0x33, 0x00, 0x86, 0x33, 0x00, 0x86, 0x35, 0x00, 0x06, 0x37, + 0x00, 0x06, 0x39, 0x00, 0x06, 0x3B, 0x00, 0x46, 0x3D, 0x00, 0x46, 0x3F, 0x00, 0x86, 0x41, 0x00, + 0x46, 0x43, 0x00, 0x06, 0x45, 0x00, 0x86, 0x47, 0x00, 0x06, 0x49, 0x00, 0x46, 0x4B, 0x00, 0x46, + 0x4D, 0x00, 0x86, 0x4F, 0x00, 0x06, 0x50, 0x00, 0x86, 0x51, 0x00, 0x86, 0x53, 0x00, 0xC6, 0x55, + 0x00, 0x86, 0x57, 0x00, 0xC6, 0x59, 0x00, 0x06, 0x5C, 0x00, 0x46, 0x5E, 0x00, 0x86, 0x5F, 0x00, + 0x46, 0x61, 0x00, 0x46, 0x63, 0x00, 0x06, 0x65, 0x00, 0x46, 0x67, 0x00, 0xC6, 0x68, 0x00, 0xC6, + 0x6A, 0x00, 0x06, 0x6D, 0x00, 0x06, 0x6F, 0x00, 0x46, 0x71, 0x00, 0x86, 0x72, 0x00, 0x06, 0x74, + 0x00, 0x46, 0x75, 0x00, 0x86, 0x77, 0x00, 0x86, 0x79, 0x00, 0x86, 0x7B, 0x00, 0xC6, 0x7D, 0x00, + 0xC6, 0x7F, 0x00, 0xC6, 0x81, 0x00, 0x06, 0x84, 0x00, 0x46, 0x86, 0x00, 0xC6, 0x86, 0x00, 0x06, + 0x89, 0x00, 0x06, 0x8B, 0x00, 0x86, 0x8B, 0x00, 0x06, 0x8D, 0x00, 0x46, 0x8F, 0x00, 0x86, 0x91, + 0x00, 0xC6, 0x93, 0x00, 0x06, 0x96, 0x00, 0x06, 0x98, 0x00, 0x06, 0x9A, 0x00, 0x86, 0x9B, 0x00, + 0xC6, 0x9D, 0x00, 0x86, 0x9F, 0x00, 0x46, 0xA1, 0x00, 0x86, 0xA3, 0x00, 0xC6, 0xA5, 0x00, 0xC6, + 0xA7, 0x00, 0x06, 0xAA, 0x00, 0x86, 0xAA, 0x00, 0xC6, 0xAC, 0x00, 0x04, 0xFB, 0xB9, 0x02, 0x00, + 0x08, 0x00, 0x08, 0x00, 0x81, 0x80, 0xA2, 0x06, 0x00, 0x83, 0x00, 0xE0, 0x28, 0x0E, 0x04, 0x00, + 0x85, 0x00, 0xE0, 0x01, 0x1E, 0xE0, 0x01, 0x02, 0x00, 0x81, 0x80, 0x21, 0x03, 0x00, 0x80, 0x61, + 0x02, 0x00, 0x85, 0x00, 0x40, 0x00, 0x06, 0xA5, 0x40, 0x02, 0x00, 0x08, 0x00, 0x84, 0x00, 0x40, + 0x10, 0x04, 0x81, 0x03, 0x00, 0x84, 0x00, 0x80, 0x20, 0x08, 0x02, 0x03, 0x00, 0x02, 0x00, 0x81, + 0x38, 0x12, 0x04, 0x00, 0x03, 0x00, 0x80, 0x1E, 0x04, 0x00, 0x04, 0x00, 0x83, 0x80, 0x30, 0x04, + 0x00, 0x03, 0x00, 0x80, 0x0C, 0x04, 0x00, 0x04, 0x00, 0x80, 0x40, 0x03, 0x00, 0x08, 0x00, 0x85, + 0x80, 0x03, 0x01, 0x00, 0x20, 0x01, 0x02, 0x00, 0x81, 0x00, 0x61, 0x06, 0x00, 0x84, 0x80, 0x05, + 0x40, 0x08, 0x21, 0x03, 0x00, 0x85, 0x00, 0x04, 0x21, 0x10, 0x00, 0x01, 0x02, 0x00, 0x85, 0x00, + 0x46, 0x49, 0x10, 0x04, 0x01, 0x02, 0x00, 0x85, 0x80, 0x00, 0x20, 0x10, 0x00, 0x01, 0x02, 0x00, + 0x80, 0x80, 0x02, 0x00, 0x82, 0x12, 0x20, 0x31, 0x02, 0x00, 0x84, 0x00, 0x04, 0x21, 0x04, 0x41, + 0x03, 0x00, 0x85, 0x00, 0x22, 0x31, 0x12, 0x20, 0x01, 0x02, 0x00, 0x85, 0x80, 0x05, 0x61, 0x06, + 0x00, 0x01, 0x02, 0x00, 0x02, 0x00, 0x82, 0x10, 0x04, 0x40, 0x03, 0x00, 0x03, 0x00, 0x84, 0x08, + 0x80, 0x30, 0x04, 0x00, 0x84, 0x00, 0x80, 0x10, 0x02, 0x81, 0x03, 0x00, 0x08, 0x00, 0x84, 0x00, + 0x40, 0x20, 0x10, 0x42, 0x03, 0x00, 0x82, 0x00, 0x05, 0x21, 0x05, 0x00, 0x84, 0x80, 0x04, 0x30, + 0x1C, 0x20, 0x03, 0x00, 0x84, 0x00, 0xC0, 0x48, 0x92, 0x04, 0x03, 0x00, 0x85, 0x80, 0x23, 0x49, + 0x8E, 0x24, 0x01, 0x02, 0x00, 0x84, 0x00, 0x42, 0x08, 0x80, 0x40, 0x03, 0x00, 0x85, 0x80, 0x23, + 0x09, 0x82, 0x20, 0x01, 0x02, 0x00, 0x83, 0x80, 0x07, 0x00, 0x0E, 0x04, 0x00, 0x83, 0x80, 0x07, + 0x00, 0x0E, 0x04, 0x00, 0x81, 0x00, 0x23, 0x02, 0x00, 0x81, 0x24, 0x01, 0x02, 0x00, 0x03, 0x00, + 0x80, 0x1E, 0x04, 0x00, 0x81, 0x00, 0x03, 0x02, 0x00, 0x80, 0x40, 0x03, 0x00, 0x84, 0x00, 0x82, + 0x20, 0x08, 0xA2, 0x03, 0x00, 0x02, 0x00, 0x83, 0x21, 0x86, 0x02, 0x01, 0x02, 0x00, 0x08, 0x00, + 0x82, 0x00, 0x20, 0x31, 0x05, 0x00, 0x84, 0x00, 0x20, 0x10, 0x18, 0x04, 0x03, 0x00, 0x85, 0x00, + 0x23, 0x01, 0x00, 0x20, 0x01, 0x02, 0x00, 0x83, 0x80, 0x03, 0x01, 0x90, 0x04, 0x00, 0x85, 0x00, + 0x23, 0x01, 0x00, 0xE0, 0x21, 0x02, 0x00, 0x85, 0x80, 0x03, 0x01, 0x1E, 0x02, 0x01, 0x02, 0x00, + 0x85, 0x00, 0x23, 0x08, 0x0C, 0x24, 0x01, 0x02, 0x00, 0x81, 0x80, 0x07, 0x06, 0x00, 0x04, 0x00, + 0x81, 0x20, 0x01, 0x02, 0x00, 0x02, 0x00, 0x82, 0x49, 0x02, 0xC3, 0x03, 0x00, 0x04, 0x00, 0x81, + 0xE0, 0x01, 0x02, 0x00, 0x85, 0x00, 0x20, 0x21, 0x8C, 0x02, 0x01, 0x02, 0x00, 0x82, 0x00, 0x20, + 0x31, 0x05, 0x00, 0x84, 0x80, 0x07, 0x21, 0x84, 0x20, 0x03, 0x00, 0x85, 0x00, 0x41, 0x10, 0x04, + 0x41, 0x10, 0x02, 0x00, 0x02, 0x00, 0x82, 0x10, 0x08, 0x04, 0x03, 0x00, 0x85, 0x00, 0x82, 0x20, + 0x08, 0x82, 0x30, 0x02, 0x00, 0x81, 0x00, 0x03, 0x06, 0x00, 0x05, 0x00, 0x80, 0x78, 0x02, 0x00, + 0x81, 0x00, 0x81, 0x06, 0x00, 0x02, 0x00, 0x83, 0x20, 0x90, 0x24, 0x01, 0x02, 0x00, 0x02, 0x00, + 0x82, 0x28, 0x10, 0x84, 0x03, 0x00, 0x02, 0x00, 0x82, 0x18, 0x00, 0x20, 0x03, 0x00, 0x85, 0x00, + 0x04, 0x59, 0x10, 0x24, 0x01, 0x02, 0x00, 0x02, 0x00, 0x82, 0x28, 0x90, 0x20, 0x03, 0x00, 0x84, + 0x00, 0x41, 0x10, 0x04, 0x41, 0x03, 0x00, 0x02, 0x00, 0x85, 0x48, 0x90, 0xC4, 0x41, 0x0C, 0x00, + 0x02, 0x00, 0x83, 0x38, 0x10, 0x04, 0x01, 0x02, 0x00, 0x08, 0x00, 0x02, 0x00, 0x85, 0x40, 0x10, + 0x04, 0x41, 0x0C, 0x00, 0x02, 0x00, 0x82, 0x20, 0x84, 0x81, 0x03, 0x00, 0x08, 0x00, 0x02, 0x00, + 0x80, 0x78, 0x05, 0x00, 0x02, 0x00, 0x83, 0x38, 0x92, 0x24, 0x01, 0x02, 0x00, 0x02, 0x00, 0x83, + 0x28, 0x10, 0x24, 0x01, 0x02, 0x00, 0x02, 0x00, 0x83, 0x28, 0x10, 0x84, 0x08, 0x02, 0x00, 0x02, + 0x00, 0x85, 0x58, 0x10, 0x24, 0x41, 0x10, 0x00, 0x02, 0x00, 0x82, 0x38, 0x82, 0x20, 0x03, 0x00, + 0x02, 0x00, 0x82, 0x28, 0x02, 0xA2, 0x03, 0x00, 0x82, 0x00, 0x40, 0x30, 0x05, 0x00, 0x02, 0x00, + 0x83, 0x40, 0x10, 0x24, 0x01, 0x02, 0x00, 0x03, 0x00, 0x81, 0x12, 0xC0, 0x03, 0x00, 0x04, 0x00, + 0x81, 0xE0, 0x01, 0x02, 0x00, 0x02, 0x00, 0x83, 0x48, 0x0C, 0x23, 0x01, 0x02, 0x00, 0x02, 0x00, + 0x85, 0x40, 0x90, 0xC4, 0x10, 0x02, 0x00, 0x02, 0x00, 0x82, 0x60, 0x08, 0x21, 0x03, 0x00, 0x85, + 0x00, 0x41, 0x10, 0x02, 0x41, 0x30, 0x02, 0x00, 0x08, 0x00, 0x85, 0x00, 0x01, 0x00, 0x08, 0x00, + 0x10, 0x02, 0x00, 0x82, 0x80, 0x81, 0x01, 0x05, 0x00, +}; +// clang-format on diff --git a/keymaps/onekey/f411_ls0x/3270_11.qff.h b/keymaps/onekey/f411_ls0x/3270_11.qff.h new file mode 100644 index 0000000..17eb734 --- /dev/null +++ b/keymaps/onekey/f411_ls0x/3270_11.qff.h @@ -0,0 +1,15 @@ +// Copyright 2025 QMK -- generated source code only, font retains original copyright +// SPDX-License-Identifier: GPL-2.0-or-later + +// This file was auto-generated by `painter-convert-font-image` with arguments: +// format | mono2 +// unicode_glyphs | +// output | qmk_firmware +// input | 3270_11.png + +#pragma once + +#include <qp.h> + +extern const uint32_t font_3270_11_length; +extern const uint8_t font_3270_11[1017]; diff --git a/keymaps/onekey/f411_ls0x/config.h b/keymaps/onekey/f411_ls0x/config.h new file mode 100644 index 0000000..40e4a9c --- /dev/null +++ b/keymaps/onekey/f411_ls0x/config.h @@ -0,0 +1,22 @@ +// Copyright 2025 [email protected] +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#undef ADC_PIN +#undef BACKLIGHT_PIN +#undef MATRIX_ROW_PINS +#undef MATRIX_COL_PINS + +// clang-format off +#define DIRECT_PINS {{A0}} +// clang-format on + +#define SPI_DRIVER SPID1 +#define SPI_SCK_PIN A5 +#define SPI_MOSI_PIN A7 +#define SPI_MISO_PIN NO_PIN + +#define LS0XX_CS_PIN A6 +#define LS0XX_HEIGHT 160 +#define LS0XX_WIDTH 80 +#define LS0XX_SPI_DIVISOR 16 diff --git a/keymaps/onekey/f411_ls0x/halconf.h b/keymaps/onekey/f411_ls0x/halconf.h new file mode 100644 index 0000000..ceece3c --- /dev/null +++ b/keymaps/onekey/f411_ls0x/halconf.h @@ -0,0 +1,9 @@ +// Copyright 2025 [email protected] +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define HAL_USE_SPI TRUE +#define SPI_USE_WAIT TRUE +#define SPI_SELECT_MODE SPI_SELECT_MODE_NONE + +#include_next <halconf.h> diff --git a/keymaps/onekey/f411_ls0x/keymap.c b/keymaps/onekey/f411_ls0x/keymap.c new file mode 100644 index 0000000..75d65f3 --- /dev/null +++ b/keymaps/onekey/f411_ls0x/keymap.c @@ -0,0 +1,23 @@ +// Copyright 2025 [email protected] +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H +#include "qp.h" +#include "qp_surface.h" +#include "3270_11.qff.h" + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + LAYOUT_ortho_1x1(KC_A)}; + +static painter_font_handle_t font; +static painter_device_t display; +static uint8_t framebuffer[SURFACE_REQUIRED_BUFFER_BYTE_SIZE( + LS0XX_WIDTH, LS0XX_HEIGHT, 1)] = {0}; + +void keyboard_post_init_user(void) { + display = + qp_ls0xx_device_t_make_spi_device(LS0XX_WIDTH, LS0XX_HEIGHT, LS0XX_CS_PIN, + LS0XX_SPI_DIVISOR, 0, framebuffer); + font = qp_load_font_mem(font_3270_11); + qp_init(display, QP_ROTATION_0); + qp_drawtext(display, 0, 0, font, "foo bar baz"); +} diff --git a/keymaps/onekey/f411_ls0x/mcuconf.h b/keymaps/onekey/f411_ls0x/mcuconf.h new file mode 100644 index 0000000..4f304f9 --- /dev/null +++ b/keymaps/onekey/f411_ls0x/mcuconf.h @@ -0,0 +1,8 @@ +// Copyright 2025 [email protected] +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#include_next <mcuconf.h> + +#undef STM32_SPI_USE_SPI1 +#define STM32_SPI_USE_SPI1 TRUE diff --git a/keymaps/onekey/f411_ls0x/rules.mk b/keymaps/onekey/f411_ls0x/rules.mk new file mode 100644 index 0000000..e1e5f55 --- /dev/null +++ b/keymaps/onekey/f411_ls0x/rules.mk @@ -0,0 +1,6 @@ +CONSOLE_ENABLE = yes +BOOTMAGIC_ENABLE = yes +QUANTUM_PAINTER_ENABLE = yes +QUANTUM_PAINTER_DRIVERS += ls0xx_spi +SRC += 3270_11.qff.c +EXTRAFLAGS += -Wno-maybe-uninitialized diff --git a/keymaps/onekey/f411_qfplib/config.h b/keymaps/onekey/f411_qfplib/config.h new file mode 100644 index 0000000..8fbef05 --- /dev/null +++ b/keymaps/onekey/f411_qfplib/config.h @@ -0,0 +1,12 @@ +// Copyright 2025 [email protected] +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#undef ADC_PIN +#undef BACKLIGHT_PIN +#undef MATRIX_ROW_PINS +#undef MATRIX_COL_PINS + +// clang-format off +#define DIRECT_PINS {{A0}} +// clang-format on diff --git a/keymaps/onekey/stm32f411/keymap.c b/keymaps/onekey/f411_qfplib/keymap.c index 36202c2..36202c2 100644 --- a/keymaps/onekey/stm32f411/keymap.c +++ b/keymaps/onekey/f411_qfplib/keymap.c diff --git a/keymaps/onekey/stm32f411/qfplib/qfplib.h b/keymaps/onekey/f411_qfplib/qfplib/qfplib.h index d172da8..d172da8 100644 --- a/keymaps/onekey/stm32f411/qfplib/qfplib.h +++ b/keymaps/onekey/f411_qfplib/qfplib/qfplib.h diff --git a/keymaps/onekey/stm32f411/qfplib/qfplib.s b/keymaps/onekey/f411_qfplib/qfplib/qfplib.s index e035472..e035472 100644 --- a/keymaps/onekey/stm32f411/qfplib/qfplib.s +++ b/keymaps/onekey/f411_qfplib/qfplib/qfplib.s diff --git a/keymaps/onekey/stm32f411/rules.mk b/keymaps/onekey/f411_qfplib/rules.mk index 8b12a3d..8b12a3d 100644 --- a/keymaps/onekey/stm32f411/rules.mk +++ b/keymaps/onekey/f411_qfplib/rules.mk diff --git a/keymaps/onekey/rp2040/chconf.h b/keymaps/onekey/rp_smp/chconf.h index 8937db2..8937db2 100644 --- a/keymaps/onekey/rp2040/chconf.h +++ b/keymaps/onekey/rp_smp/chconf.h diff --git a/keymaps/onekey/rp2040/keymap.c b/keymaps/onekey/rp_smp/keymap.c index 20372fd..20372fd 100644 --- a/keymaps/onekey/rp2040/keymap.c +++ b/keymaps/onekey/rp_smp/keymap.c diff --git a/keymaps/onekey/rp2040/mcuconf.h b/keymaps/onekey/rp_smp/mcuconf.h index c35ba16..c35ba16 100644 --- a/keymaps/onekey/rp2040/mcuconf.h +++ b/keymaps/onekey/rp_smp/mcuconf.h diff --git a/keymaps/onekey/rp2040/rules.mk b/keymaps/onekey/rp_smp/rules.mk index a263ca2..a263ca2 100644 --- a/keymaps/onekey/rp2040/rules.mk +++ b/keymaps/onekey/rp_smp/rules.mk diff --git a/keymaps/onekey/stm32f411/config.h b/keymaps/onekey/stm32f411/config.h deleted file mode 100644 index 668ebfb..0000000 --- a/keymaps/onekey/stm32f411/config.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2025 [email protected] -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once - -#undef ADC_PIN -#undef BACKLIGHT_PIN -#undef MATRIX_ROW_PINS -#undef MATRIX_COL_PINS -#define DIRECT_PINS \ - { \ - { A0 } \ - } |