aboutsummaryrefslogtreecommitdiff
path: root/keymaps/onekey
diff options
context:
space:
mode:
Diffstat (limited to 'keymaps/onekey')
-rw-r--r--keymaps/onekey/f411_ls0x/3270_11.qff.c88
-rw-r--r--keymaps/onekey/f411_ls0x/3270_11.qff.h15
-rw-r--r--keymaps/onekey/f411_ls0x/config.h22
-rw-r--r--keymaps/onekey/f411_ls0x/halconf.h9
-rw-r--r--keymaps/onekey/f411_ls0x/keymap.c30
-rw-r--r--keymaps/onekey/f411_ls0x/keymap.json3
-rw-r--r--keymaps/onekey/f411_ls0x/mcuconf.h8
-rw-r--r--keymaps/onekey/f411_ls0x/rules.mk3
8 files changed, 0 insertions, 178 deletions
diff --git a/keymaps/onekey/f411_ls0x/3270_11.qff.c b/keymaps/onekey/f411_ls0x/3270_11.qff.c
deleted file mode 100644
index c241e51..0000000
--- a/keymaps/onekey/f411_ls0x/3270_11.qff.c
+++ /dev/null
@@ -1,88 +0,0 @@
-// 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
deleted file mode 100644
index 17eb734..0000000
--- a/keymaps/onekey/f411_ls0x/3270_11.qff.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// 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
deleted file mode 100644
index 024f260..0000000
--- a/keymaps/onekey/f411_ls0x/config.h
+++ /dev/null
@@ -1,22 +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
-
-// 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 68
-#define LS0XX_SPI_DIVISOR 16
diff --git a/keymaps/onekey/f411_ls0x/halconf.h b/keymaps/onekey/f411_ls0x/halconf.h
deleted file mode 100644
index ceece3c..0000000
--- a/keymaps/onekey/f411_ls0x/halconf.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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
deleted file mode 100644
index 584bce6..0000000
--- a/keymaps/onekey/f411_ls0x/keymap.c
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2025 [email protected]
-// SPDX-License-Identifier: GPL-2.0-or-later
-#include QMK_KEYBOARD_H
-#include "qp.h"
-#include "qp_surface.h"
-#include "ls0xx.h"
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- LAYOUT_ortho_1x1(KC_A)};
-
-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);
- qp_init(display, QP_ROTATION_0);
-}
-
-void housekeeping_task_user(void) {
- static uint32_t last_draw = 0;
- if (timer_elapsed32(last_draw) > 33) {
- last_draw = timer_read32();
- for (int i = 0; i < LS0XX_HEIGHT - 1; i += 8)
- qp_rect(display, 0, i, 7, i + 7, 255, 255, 255, true);
- qp_flush(display);
- }
-}
diff --git a/keymaps/onekey/f411_ls0x/keymap.json b/keymaps/onekey/f411_ls0x/keymap.json
deleted file mode 100644
index 9eba3d8..0000000
--- a/keymaps/onekey/f411_ls0x/keymap.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "modules": ["ls0xx"]
-}
diff --git a/keymaps/onekey/f411_ls0x/mcuconf.h b/keymaps/onekey/f411_ls0x/mcuconf.h
deleted file mode 100644
index 4f304f9..0000000
--- a/keymaps/onekey/f411_ls0x/mcuconf.h
+++ /dev/null
@@ -1,8 +0,0 @@
-// 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
deleted file mode 100644
index 7166553..0000000
--- a/keymaps/onekey/f411_ls0x/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
-BOOTMAGIC_ENABLE = yes
-QUANTUM_PAINTER_ENABLE = yes
-SRC += 3270_11.qff.c