From e9f5f8b578974cb73a07a7ea6014bff1c2d9cb38 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Sat, 19 Aug 2023 18:23:59 +0800 Subject: [PATCH 01/13] add owlab & qwertykeys files --- keyboards/neo/neo65/ansi/ansi.c | 140 ++++++++++ keyboards/neo/neo65/ansi/ansi.h | 19 ++ keyboards/neo/neo65/ansi/chconf.h | 24 ++ keyboards/neo/neo65/ansi/config.h | 39 +++ keyboards/neo/neo65/ansi/halconf.h | 26 ++ keyboards/neo/neo65/ansi/info.json | 149 +++++++++++ .../neo/neo65/ansi/keymaps/default/keymap.c | 37 +++ keyboards/neo/neo65/ansi/keymaps/via/keymap.c | 37 +++ keyboards/neo/neo65/ansi/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/neo/neo65/ansi/mcuconf.h | 30 +++ keyboards/neo/neo65/ansi/readme.md | 21 ++ keyboards/neo/neo65/ansi/rules.mk | 5 + keyboards/neo/neo65/solder/info.json | 103 ++++++++ .../neo/neo65/solder/keymaps/default/keymap.c | 37 +++ .../neo/neo65/solder/keymaps/via/keymap.c | 37 +++ .../neo/neo65/solder/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/neo/neo65/solder/readme.md | 21 ++ keyboards/neo/neo65/solder/rules.mk | 5 + keyboards/neo/neo70/info.json | 108 ++++++++ keyboards/neo/neo70/keymaps/default/keymap.c | 37 +++ keyboards/neo/neo70/keymaps/via/keymap.c | 37 +++ keyboards/neo/neo70/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/neo/neo70/readme.md | 21 ++ keyboards/neo/neo70/rules.mk | 5 + keyboards/owlab/chalice/hotswap/info.json | 77 ++++++ .../chalice/hotswap/keymaps/default/keymap.c | 35 +++ .../chalice/hotswap/keymaps/via/keymap.c | 35 +++ .../chalice/hotswap/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/owlab/chalice/hotswap/readme.md | 21 ++ keyboards/owlab/chalice/hotswap/rules.mk | 5 + keyboards/owlab/chalice/solder/info.json | 88 +++++++ .../chalice/solder/keymaps/default/keymap.c | 56 ++++ .../owlab/chalice/solder/keymaps/via/keymap.c | 56 ++++ .../owlab/chalice/solder/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/owlab/chalice/solder/readme.md | 21 ++ keyboards/owlab/chalice/solder/rules.mk | 5 + keyboards/owlab/link/hotswap/info.json | 101 +++++++ .../link/hotswap/keymaps/default/keymap.c | 37 +++ .../owlab/link/hotswap/keymaps/via/keymap.c | 37 +++ .../owlab/link/hotswap/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/owlab/link/hotswap/readme.md | 21 ++ keyboards/owlab/link/hotswap/rules.mk | 5 + keyboards/owlab/link/solder/info.json | 102 +++++++ .../link/solder/keymaps/default/keymap.c | 37 +++ .../owlab/link/solder/keymaps/via/keymap.c | 37 +++ .../owlab/link/solder/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/owlab/link/solder/readme.md | 21 ++ keyboards/owlab/link/solder/rules.mk | 5 + keyboards/qwertykeys/qk100/ansi/ansi.c | 248 ++++++++++++++++++ keyboards/qwertykeys/qk100/ansi/ansi.h | 20 ++ keyboards/qwertykeys/qk100/ansi/chconf.h | 24 ++ keyboards/qwertykeys/qk100/ansi/config.h | 53 ++++ keyboards/qwertykeys/qk100/ansi/halconf.h | 25 ++ keyboards/qwertykeys/qk100/ansi/info.json | 199 ++++++++++++++ .../qk100/ansi/keymaps/default/keymap.c | 39 +++ .../qk100/ansi/keymaps/via/keymap.c | 39 +++ .../qk100/ansi/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk100/ansi/mcuconf.h | 30 +++ keyboards/qwertykeys/qk100/ansi/readme.md | 21 ++ keyboards/qwertykeys/qk100/ansi/rules.mk | 5 + keyboards/qwertykeys/qk100/solder/chconf.h | 23 ++ keyboards/qwertykeys/qk100/solder/config.h | 31 +++ keyboards/qwertykeys/qk100/solder/halconf.h | 25 ++ keyboards/qwertykeys/qk100/solder/info.json | 150 +++++++++++ .../qk100/solder/keymaps/default/keymap.c | 39 +++ .../qk100/solder/keymaps/via/keymap.c | 39 +++ .../qk100/solder/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk100/solder/mcuconf.h | 29 ++ keyboards/qwertykeys/qk100/solder/readme.md | 21 ++ keyboards/qwertykeys/qk100/solder/rules.mk | 5 + keyboards/qwertykeys/qk100/solder/solder.c | 45 ++++ keyboards/qwertykeys/qk100/solder/solder.h | 20 ++ keyboards/qwertykeys/qk60/info.json | 100 +++++++ .../qwertykeys/qk60/keymaps/default/keymap.c | 36 +++ .../qwertykeys/qk60/keymaps/via/keymap.c | 36 +++ .../qwertykeys/qk60/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk60/readme.md | 21 ++ keyboards/qwertykeys/qk60/rules.mk | 5 + keyboards/qwertykeys/qk65/iso/info.json | 102 +++++++ .../qk65/iso/keymaps/default/keymap.c | 37 +++ .../qwertykeys/qk65/iso/keymaps/via/keymap.c | 37 +++ .../qwertykeys/qk65/iso/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk65/iso/readme.md | 21 ++ keyboards/qwertykeys/qk65/iso/rules.mk | 5 + keyboards/qwertykeys/qk65/r2/info.json | 101 +++++++ .../qk65/r2/keymaps/default/keymap.c | 37 +++ .../qwertykeys/qk65/r2/keymaps/via/keymap.c | 37 +++ .../qwertykeys/qk65/r2/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk65/r2/readme.md | 21 ++ keyboards/qwertykeys/qk65/r2/rules.mk | 5 + .../qwertykeys/qk75/hotswap_ansi/info.json | 127 +++++++++ .../hotswap_ansi/keymaps/default/keymap.c | 55 ++++ .../qk75/hotswap_ansi/keymaps/via/keymap.c | 55 ++++ .../qk75/hotswap_ansi/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ .../qwertykeys/qk75/hotswap_ansi/readme.md | 21 ++ .../qwertykeys/qk75/hotswap_ansi/rules.mk | 5 + keyboards/qwertykeys/qk75/solder/info.json | 128 +++++++++ .../qk75/solder/keymaps/default/keymap.c | 55 ++++ .../qk75/solder/keymaps/via/keymap.c | 55 ++++ .../qk75/solder/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk75/solder/readme.md | 21 ++ keyboards/qwertykeys/qk75/solder/rules.mk | 5 + keyboards/qwertykeys/qk80/ansi/ansi.c | 218 +++++++++++++++ keyboards/qwertykeys/qk80/ansi/ansi.h | 20 ++ keyboards/qwertykeys/qk80/ansi/chconf.h | 24 ++ keyboards/qwertykeys/qk80/ansi/config.h | 48 ++++ keyboards/qwertykeys/qk80/ansi/halconf.h | 26 ++ keyboards/qwertykeys/qk80/ansi/info.json | 188 +++++++++++++ .../qk80/ansi/keymaps/default/keymap.c | 39 +++ .../qwertykeys/qk80/ansi/keymaps/via/keymap.c | 39 +++ .../qwertykeys/qk80/ansi/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk80/ansi/mcuconf.h | 29 ++ keyboards/qwertykeys/qk80/ansi/readme.md | 21 ++ keyboards/qwertykeys/qk80/ansi/rules.mk | 5 + .../qwertykeys/qk80/ansi_625u/ansi_625u.c | 220 ++++++++++++++++ .../qwertykeys/qk80/ansi_625u/ansi_625u.h | 20 ++ keyboards/qwertykeys/qk80/ansi_625u/chconf.h | 23 ++ keyboards/qwertykeys/qk80/ansi_625u/config.h | 47 ++++ keyboards/qwertykeys/qk80/ansi_625u/halconf.h | 25 ++ keyboards/qwertykeys/qk80/ansi_625u/info.json | 188 +++++++++++++ .../qk80/ansi_625u/keymaps/default/keymap.c | 39 +++ .../qk80/ansi_625u/keymaps/via/keymap.c | 39 +++ .../qk80/ansi_625u/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h | 30 +++ keyboards/qwertykeys/qk80/ansi_625u/readme.md | 21 ++ keyboards/qwertykeys/qk80/ansi_625u/rules.mk | 5 + keyboards/qwertykeys/qk80/solder/config.h | 22 ++ keyboards/qwertykeys/qk80/solder/info.json | 143 ++++++++++ .../qk80/solder/keymaps/default/keymap.c | 39 +++ .../qk80/solder/keymaps/via/keymap.c | 39 +++ .../qk80/solder/keymaps/via/rules.mk | 2 + .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 +++++++ keyboards/qwertykeys/qk80/solder/readme.md | 21 ++ keyboards/qwertykeys/qk80/solder/rules.mk | 5 + 150 files changed, 7128 insertions(+) create mode 100644 keyboards/neo/neo65/ansi/ansi.c create mode 100644 keyboards/neo/neo65/ansi/ansi.h create mode 100644 keyboards/neo/neo65/ansi/chconf.h create mode 100644 keyboards/neo/neo65/ansi/config.h create mode 100644 keyboards/neo/neo65/ansi/halconf.h create mode 100644 keyboards/neo/neo65/ansi/info.json create mode 100644 keyboards/neo/neo65/ansi/keymaps/default/keymap.c create mode 100644 keyboards/neo/neo65/ansi/keymaps/via/keymap.c create mode 100644 keyboards/neo/neo65/ansi/keymaps/via/rules.mk create mode 100644 keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/neo/neo65/ansi/mcuconf.h create mode 100644 keyboards/neo/neo65/ansi/readme.md create mode 100644 keyboards/neo/neo65/ansi/rules.mk create mode 100644 keyboards/neo/neo65/solder/info.json create mode 100644 keyboards/neo/neo65/solder/keymaps/default/keymap.c create mode 100644 keyboards/neo/neo65/solder/keymaps/via/keymap.c create mode 100644 keyboards/neo/neo65/solder/keymaps/via/rules.mk create mode 100644 keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/neo/neo65/solder/readme.md create mode 100644 keyboards/neo/neo65/solder/rules.mk create mode 100644 keyboards/neo/neo70/info.json create mode 100644 keyboards/neo/neo70/keymaps/default/keymap.c create mode 100644 keyboards/neo/neo70/keymaps/via/keymap.c create mode 100644 keyboards/neo/neo70/keymaps/via/rules.mk create mode 100644 keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/neo/neo70/readme.md create mode 100644 keyboards/neo/neo70/rules.mk create mode 100644 keyboards/owlab/chalice/hotswap/info.json create mode 100644 keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c create mode 100644 keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c create mode 100644 keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk create mode 100644 keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/owlab/chalice/hotswap/readme.md create mode 100644 keyboards/owlab/chalice/hotswap/rules.mk create mode 100644 keyboards/owlab/chalice/solder/info.json create mode 100644 keyboards/owlab/chalice/solder/keymaps/default/keymap.c create mode 100644 keyboards/owlab/chalice/solder/keymaps/via/keymap.c create mode 100644 keyboards/owlab/chalice/solder/keymaps/via/rules.mk create mode 100644 keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/owlab/chalice/solder/readme.md create mode 100644 keyboards/owlab/chalice/solder/rules.mk create mode 100644 keyboards/owlab/link/hotswap/info.json create mode 100644 keyboards/owlab/link/hotswap/keymaps/default/keymap.c create mode 100644 keyboards/owlab/link/hotswap/keymaps/via/keymap.c create mode 100644 keyboards/owlab/link/hotswap/keymaps/via/rules.mk create mode 100644 keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/owlab/link/hotswap/readme.md create mode 100644 keyboards/owlab/link/hotswap/rules.mk create mode 100644 keyboards/owlab/link/solder/info.json create mode 100644 keyboards/owlab/link/solder/keymaps/default/keymap.c create mode 100644 keyboards/owlab/link/solder/keymaps/via/keymap.c create mode 100644 keyboards/owlab/link/solder/keymaps/via/rules.mk create mode 100644 keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/owlab/link/solder/readme.md create mode 100644 keyboards/owlab/link/solder/rules.mk create mode 100644 keyboards/qwertykeys/qk100/ansi/ansi.c create mode 100644 keyboards/qwertykeys/qk100/ansi/ansi.h create mode 100644 keyboards/qwertykeys/qk100/ansi/chconf.h create mode 100644 keyboards/qwertykeys/qk100/ansi/config.h create mode 100644 keyboards/qwertykeys/qk100/ansi/halconf.h create mode 100644 keyboards/qwertykeys/qk100/ansi/info.json create mode 100644 keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk100/ansi/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk100/ansi/mcuconf.h create mode 100644 keyboards/qwertykeys/qk100/ansi/readme.md create mode 100644 keyboards/qwertykeys/qk100/ansi/rules.mk create mode 100644 keyboards/qwertykeys/qk100/solder/chconf.h create mode 100644 keyboards/qwertykeys/qk100/solder/config.h create mode 100644 keyboards/qwertykeys/qk100/solder/halconf.h create mode 100644 keyboards/qwertykeys/qk100/solder/info.json create mode 100644 keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk100/solder/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk100/solder/mcuconf.h create mode 100644 keyboards/qwertykeys/qk100/solder/readme.md create mode 100644 keyboards/qwertykeys/qk100/solder/rules.mk create mode 100644 keyboards/qwertykeys/qk100/solder/solder.c create mode 100644 keyboards/qwertykeys/qk100/solder/solder.h create mode 100644 keyboards/qwertykeys/qk60/info.json create mode 100644 keyboards/qwertykeys/qk60/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk60/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk60/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk60/readme.md create mode 100644 keyboards/qwertykeys/qk60/rules.mk create mode 100644 keyboards/qwertykeys/qk65/iso/info.json create mode 100644 keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk65/iso/readme.md create mode 100644 keyboards/qwertykeys/qk65/iso/rules.mk create mode 100644 keyboards/qwertykeys/qk65/r2/info.json create mode 100644 keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk65/r2/readme.md create mode 100644 keyboards/qwertykeys/qk65/r2/rules.mk create mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/info.json create mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/readme.md create mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk create mode 100644 keyboards/qwertykeys/qk75/solder/info.json create mode 100644 keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk75/solder/readme.md create mode 100644 keyboards/qwertykeys/qk75/solder/rules.mk create mode 100644 keyboards/qwertykeys/qk80/ansi/ansi.c create mode 100644 keyboards/qwertykeys/qk80/ansi/ansi.h create mode 100644 keyboards/qwertykeys/qk80/ansi/chconf.h create mode 100644 keyboards/qwertykeys/qk80/ansi/config.h create mode 100644 keyboards/qwertykeys/qk80/ansi/halconf.h create mode 100644 keyboards/qwertykeys/qk80/ansi/info.json create mode 100644 keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk80/ansi/mcuconf.h create mode 100644 keyboards/qwertykeys/qk80/ansi/readme.md create mode 100644 keyboards/qwertykeys/qk80/ansi/rules.mk create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/chconf.h create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/config.h create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/halconf.h create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/info.json create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/readme.md create mode 100644 keyboards/qwertykeys/qk80/ansi_625u/rules.mk create mode 100644 keyboards/qwertykeys/qk80/solder/config.h create mode 100644 keyboards/qwertykeys/qk80/solder/info.json create mode 100644 keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c create mode 100644 keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c create mode 100644 keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk create mode 100644 keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld create mode 100644 keyboards/qwertykeys/qk80/solder/readme.md create mode 100644 keyboards/qwertykeys/qk80/solder/rules.mk diff --git a/keyboards/neo/neo65/ansi/ansi.c b/keyboards/neo/neo65/ansi/ansi.c new file mode 100644 index 000000000000..53dbf6d9184d --- /dev/null +++ b/keyboards/neo/neo65/ansi/ansi.c @@ -0,0 +1,140 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +#include "ansi.h" + +#ifdef RGB_MATRIX_ENABLE +const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { + {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW1*/ + {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-1 */ + {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-2 */ + {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-3 */ + {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-4 */ + {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-5 */ + {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-6 */ + {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-7 */ + {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-8 */ + {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-9 */ + {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-0 */ + {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11--- */ + {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-+= */ + {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB13-|\ */ + {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB14-BS */ + {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB15-Delete */ + + {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB16-TAB ----ROW2*/ + {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB17-Q */ + {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB18-W */ + {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB19-E */ + {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB20-R */ + {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB21-T */ + {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB22-Y */ + {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB23-U */ + {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB24-I */ + {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB25-O */ + {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB26-P */ + {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB27-[ */ + {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB28-] */ + {0, CS38_SW7, CS39_SW7, CS37_SW7}, /* RGB29-\ */ + {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB30-PgUp */ + + {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB31-CAPS---ROW3*/ + {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB32-A-- */ + {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB33-S-- */ + {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB34-D */ + {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB35-F */ + {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB36-G */ + {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB37-H */ + {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB38-J */ + {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB39-K */ + {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB40-L */ + {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB41-;: */ + {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB42-'" */ + {0, CS38_SW8, CS39_SW8, CS37_SW8}, /* RGB43-ENTER */ + {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB44-Page Down */ + + + {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB45-LSF --ROW4*/ + {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB46-Z */ + {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB47-X */ + {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB48-C */ + {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB49-V */ + {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB50-B */ + {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB51-N */ + {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB52-M */ + {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB53-,< */ + {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB54->. */ + {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB55-?/ */ + {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB56-RSF */ + {0, CS38_SW9, CS39_SW9, CS37_SW9}, /* RGB57-UP */ + {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB58-End */ + + {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB59-lct-- ROW5*/ + {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB60-lwin */ + {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB61-lalt */ + {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB62-sp */ + {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB63-ralt */ + {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB64- fn */ + {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB65-left */ + {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB66-down */ + {0, CS35_SW5, CS36_SW5, CS34_SW5} /* RGB67-right */ +}; + +led_config_t g_led_config = { { + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15 }, + { 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 }, + { 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 13, 44 }, + { 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, NO_LED, 56, 57, 58 }, + { 59, 60, 61, NO_LED, NO_LED, 62, NO_LED, NO_LED, NO_LED, 63, 64, NO_LED, 65, 66, 67 } +}, { + // LED Index to Physical Position + { 0, 0 }, { 15, 0 }, { 30, 0 }, { 45, 0 }, { 60, 0 }, { 75, 0 }, { 90, 0 }, { 105, 0 }, { 120, 0 }, { 135, 0 }, { 150, 0 }, { 165, 0 }, { 180, 0 }, { 195, 0 }, { 210, 0 }, { 224, 0 }, + { 4, 16}, { 22, 16}, { 37, 16}, { 52, 16}, { 67, 16}, { 82, 16}, { 97, 16}, { 112, 16 }, { 127, 16}, {142, 16}, {157, 16 }, { 172, 16}, { 187, 16}, { 206, 16}, { 224, 16}, + { 6, 32}, { 26, 32}, { 41, 32}, { 56, 32}, { 71, 32}, { 86, 32}, {101, 32}, { 116, 32}, { 131, 32}, {146, 32}, { 161, 32}, { 176, 32}, { 201, 32}, { 224, 32}, + { 8, 48}, { 31, 48}, { 46, 48}, { 61, 48}, { 76, 48}, { 91, 48}, { 106, 48}, { 121, 48}, { 136, 48}, { 151, 48}, { 166, 48}, { 183, 48}, { 210, 48}, { 224, 48}, + { 2, 64}, { 21, 64}, { 39, 64}, { 91, 64}, { 145, 64}, {163, 64}, { 195, 64}, { 210, 64 }, { 224, 64} +}, { + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, + 1, 1, 1, 4, 1, 1, 1, 1, 1 + } +}; + +void suspend_power_down_kb(void) { + rgb_matrix_set_suspend_state(true); + suspend_power_down_user(); +} + +void suspend_wakeup_init_kb(void) { + rgb_matrix_set_suspend_state(false); + suspend_wakeup_init_user(); +} + + +bool rgb_matrix_indicators_kb(void) { + if (!rgb_matrix_indicators_user()) { + return false; + } + if (host_keyboard_led_state().caps_lock) { + rgb_matrix_set_color(31, 0xFF, 0xFF, 0xFF); + } + + return true; +} + +#endif \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/ansi.h b/keyboards/neo/neo65/ansi/ansi.h new file mode 100644 index 000000000000..a0f01c2e4e00 --- /dev/null +++ b/keyboards/neo/neo65/ansi/ansi.h @@ -0,0 +1,19 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +#pragma once + +#include "quantum.h" \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/chconf.h b/keyboards/neo/neo65/ansi/chconf.h new file mode 100644 index 000000000000..f06e36696799 --- /dev/null +++ b/keyboards/neo/neo65/ansi/chconf.h @@ -0,0 +1,24 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#define CH_CFG_ST_TIMEDELTA 0 + +#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE + +#include_next \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/config.h b/keyboards/neo/neo65/ansi/config.h new file mode 100644 index 000000000000..2ebe7db2b88d --- /dev/null +++ b/keyboards/neo/neo65/ansi/config.h @@ -0,0 +1,39 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +/* RGB matrix */ +#ifdef RGB_MATRIX_ENABLE +// i2c setting +#define USE_I2CV1 +#define I2C1_SCL 8 +#define I2C1_SDA 9 +#define I2C1_CLOCK_SPEED 400000 +#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 +# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects +# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended +# define RGB_MATRIX_KEYPRESSES // reacts to keypresses +# define RGB_MATRIX_FRAMEBUFFER_EFFECTS +# define RGB_MATRIX_LED_PROCESS_LIMIT 4 +# define RGB_MATRIX_LED_FLUSH_LIMIT 26 +# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 +# define RGB_MATRIX_STARTUP_VAL 128 +# define DRIVER_ADDR_1 0b0110000 +# define DRIVER_COUNT 1 +# define RGB_MATRIX_LED_COUNT 68 +#endif \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/halconf.h b/keyboards/neo/neo65/ansi/halconf.h new file mode 100644 index 000000000000..8387693aa490 --- /dev/null +++ b/keyboards/neo/neo65/ansi/halconf.h @@ -0,0 +1,26 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#define HAL_USE_I2C TRUE + +#define HAL_USE_SPI TRUE + +#define HAL_USE_PWM TRUE + +#include_next \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/info.json b/keyboards/neo/neo65/ansi/info.json new file mode 100644 index 000000000000..956a94954068 --- /dev/null +++ b/keyboards/neo/neo65/ansi/info.json @@ -0,0 +1,149 @@ +{ + "keyboard_name": "NEO65 ANSI", + "manufacturer":"NEO Studio", + "url": "", + "maintainer": "NEO Studio", + "usb": { + "vid": "0x4E45", + "pid": "0x3635", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4" ], + "rows": [ "A2", "A3", "A5", "A4", "A6" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "rgb_matrix": { + "driver": "IS31FL3741", + "max_brightness": 200, + "animations": { + "solid_color": true, + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_sat": true, + "band_val": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "rainbow_moving_chevron": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_fractal": true, + "pixel_flow": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive": true, + "solid_reactive_wide": true, + "solid_reactive_multiwide": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_nexus": true, + "solid_reactive_multinexus": true, + "splash": true, + "multisplash": true, + "solid_splash": true, + "solid_multisplash": true + } + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_hot": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8],"x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [2, 12], "x":13, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, + {"matrix": [1, 14], "x":15, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, + {"matrix": [2, 14], "x":15, "y":2}, + {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 13], "x":14, "y":3}, + {"matrix": [3, 14], "x":15, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, + {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, + {"matrix": [4, 5], "x":3.75, "y":4, "w":6.25}, + {"matrix": [4, 9], "x":10, "y":4, "w":1.25}, + {"matrix": [4, 10], "x":11.25, "y":4, "w":1.25}, + {"matrix": [4, 12], "x":13, "y":4, "w":1}, + {"matrix": [4, 13], "x":14, "y":4, "w":1}, + {"matrix": [4, 14], "x":15, "y":4, "w":1} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/keymaps/default/keymap.c b/keyboards/neo/neo65/ansi/keymaps/default/keymap.c new file mode 100644 index 000000000000..a4e467161fed --- /dev/null +++ b/keyboards/neo/neo65/ansi/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + + [1] = LAYOUT_hot( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/keymaps/via/keymap.c b/keyboards/neo/neo65/ansi/keymaps/via/keymap.c new file mode 100644 index 000000000000..a4e467161fed --- /dev/null +++ b/keyboards/neo/neo65/ansi/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + + [1] = LAYOUT_hot( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/keymaps/via/rules.mk b/keyboards/neo/neo65/ansi/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/neo/neo65/ansi/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/mcuconf.h b/keyboards/neo/neo65/ansi/mcuconf.h new file mode 100644 index 000000000000..1b695eb5f1ef --- /dev/null +++ b/keyboards/neo/neo65/ansi/mcuconf.h @@ -0,0 +1,30 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include_next + +/* + * I2C driver system settings. + */ +#undef STM32_I2C_USE_I2C1 +#define STM32_I2C_USE_I2C1 TRUE + + +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/readme.md b/keyboards/neo/neo65/ansi/readme.md new file mode 100644 index 000000000000..fc2fef34a6fb --- /dev/null +++ b/keyboards/neo/neo65/ansi/readme.md @@ -0,0 +1,21 @@ +# neo65 - ANSI PCB + +![neo65 ansi](https://i.imgur.com/vOyu6SFh.jpg) + +A 65% made by NEO Studio. + +* Keyboard Maintainer: [NEO Studio](https://github.com/owlab-git) +* Hardware Supported: neo ansi PCB +* Hardware Availability: IC: https://qwertykeys.notion.site/Neo-65-6c8ae7895ec442dea809057c3dc5e113 + +Make example for this keyboard (after setting up your build environment): + + make neo/neo65/ansi:default + +Flashing example for this keyboard: + + make neo/neo65/ansi:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/rules.mk b/keyboards/neo/neo65/ansi/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/neo/neo65/ansi/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/info.json b/keyboards/neo/neo65/solder/info.json new file mode 100644 index 000000000000..b6bc2a65144c --- /dev/null +++ b/keyboards/neo/neo65/solder/info.json @@ -0,0 +1,103 @@ +{ + "keyboard_name": "NEO65 Solder", + "manufacturer":"NEO Studio", + "url": "", + "maintainer": "NEO Studio", + "usb": { + "vid": "0x4E45", + "pid": "0x3653", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4" ], + "rows": [ "A2", "A3", "A5", "A4", "A6" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "indicators": { + "caps_lock": "C14", + "on_state": 0 + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8],"x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [2, 12], "x":13, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, + {"matrix": [1, 14], "x":15, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, + {"matrix": [2, 14], "x":15, "y":2}, + {"matrix": [3, 0], "x":0, "y":3, "w":1.25}, + {"matrix": [4, 3], "x":1.25, "y":3}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 12], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 13], "x":14, "y":3}, + {"matrix": [3, 14], "x":15, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, + {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, + {"matrix": [4, 5], "x":3.75, "y":4, "w":6.25}, + {"matrix": [4, 9], "x":10, "y":4, "w":1.25}, + {"matrix": [4, 10], "x":11.25, "y":4, "w":1.25}, + {"matrix": [4, 12], "x":13, "y":4, "w":1}, + {"matrix": [4, 13], "x":14, "y":4, "w":1}, + {"matrix": [4, 14], "x":15, "y":4, "w":1} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/keymaps/default/keymap.c b/keyboards/neo/neo65/solder/keymaps/default/keymap.c new file mode 100644 index 000000000000..fbac3af4b347 --- /dev/null +++ b/keyboards/neo/neo65/solder/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + + [1] = LAYOUT( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/keymaps/via/keymap.c b/keyboards/neo/neo65/solder/keymaps/via/keymap.c new file mode 100644 index 000000000000..fbac3af4b347 --- /dev/null +++ b/keyboards/neo/neo65/solder/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + + [1] = LAYOUT( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/keymaps/via/rules.mk b/keyboards/neo/neo65/solder/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/neo/neo65/solder/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/readme.md b/keyboards/neo/neo65/solder/readme.md new file mode 100644 index 000000000000..4d69ebe7676c --- /dev/null +++ b/keyboards/neo/neo65/solder/readme.md @@ -0,0 +1,21 @@ +# neo65 solder- PCB + +![neo65 Soder](https://i.imgur.com/vOyu6SFh.jpg) + +A 65% made by NEO Studio. + +* Keyboard Maintainer: [NEO Studio](https://github.com/owlab-git) +* Hardware Supported: neo solder PCB +* Hardware Availability: IC: https://qwertykeys.notion.site/Neo-65-6c8ae7895ec442dea809057c3dc5e113 + +Make example for this keyboard (after setting up your build environment): + + make neo/neo65/solder:default + +Flashing example for this keyboard: + + make neo/neo65/solder:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/rules.mk b/keyboards/neo/neo65/solder/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/neo/neo65/solder/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/neo/neo70/info.json b/keyboards/neo/neo70/info.json new file mode 100644 index 000000000000..589c054c799e --- /dev/null +++ b/keyboards/neo/neo70/info.json @@ -0,0 +1,108 @@ +{ + "keyboard_name": "NEO70 Solder", + "manufacturer":"NEO Studio", + "url": "", + "maintainer": "NEO Studio", + "usb": { + "vid": "0x4E45", + "pid": "0x3730", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5" ], + "rows": [ "A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "indicators": { + "caps_lock": "C14", + "on_state": 0 + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_solder": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8],"x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [1, 13], "x":13, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15.25, "y":0}, + {"matrix": [0, 15], "x":16.25, "y":0}, + {"matrix": [0, 16], "x":17.25, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [2, 12], "x":13.5, "y":1, "w":1.5}, + {"matrix": [1, 14], "x":15.25, "y":1}, + {"matrix": [1, 15], "x":16.25, "y":1}, + {"matrix": [1, 16], "x":17.25, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, + {"matrix": [3, 0], "x":0, "y":3, "w":1.25}, + {"matrix": [4, 3], "x":1.25, "y":3}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 13], "x":14, "y":3}, + {"matrix": [3, 15], "x":16.25, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, + {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, + {"matrix": [4, 5], "x":3.75, "y":4, "w":6.25}, + {"matrix": [4, 10], "x":10, "y":4, "w":1.25}, + {"matrix": [4, 11], "x":11.25, "y":4, "w":1.25}, + {"matrix": [4, 12], "x":12.5, "y":4, "w":1.25}, + {"matrix": [4, 13], "x":13.75, "y":4, "w":1.25}, + {"matrix": [4, 14], "x":15.25, "y":4, "w":1}, + {"matrix": [4, 15], "x":16.25, "y":4, "w":1}, + {"matrix": [4, 16], "x":17.25, "y":4, "w":1} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/neo/neo70/keymaps/default/keymap.c b/keyboards/neo/neo70/keymaps/default/keymap.c new file mode 100644 index 000000000000..0ee622503278 --- /dev/null +++ b/keyboards/neo/neo70/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_solder( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT + ), + + [1] = LAYOUT_solder( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/neo/neo70/keymaps/via/keymap.c b/keyboards/neo/neo70/keymaps/via/keymap.c new file mode 100644 index 000000000000..0ee622503278 --- /dev/null +++ b/keyboards/neo/neo70/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2023 NEO + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_solder( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT + ), + + [1] = LAYOUT_solder( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/neo/neo70/keymaps/via/rules.mk b/keyboards/neo/neo70/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/neo/neo70/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/neo/neo70/readme.md b/keyboards/neo/neo70/readme.md new file mode 100644 index 000000000000..eaa4255117ed --- /dev/null +++ b/keyboards/neo/neo70/readme.md @@ -0,0 +1,21 @@ +# neo70 solder- PCB + +![neo70 Solder]() + +A 70% made by NEO Studio. + +* Keyboard Maintainer: [NEO Studio](https://github.com/owlab-git) +* Hardware Supported: neo solder PCB +* Hardware Availability: IC: https://qwertykeys.notion.site/Neo-70-FRLTKL-dcb294b202a04b63b7659cea488b4717 + +Make example for this keyboard (after setting up your build environment): + + make neo/neo70:default + +Flashing example for this keyboard: + + make neo/neo70:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/neo/neo70/rules.mk b/keyboards/neo/neo70/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/neo/neo70/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/info.json b/keyboards/owlab/chalice/hotswap/info.json new file mode 100644 index 000000000000..9ff5bdaa1636 --- /dev/null +++ b/keyboards/owlab/chalice/hotswap/info.json @@ -0,0 +1,77 @@ +{ + "keyboard_name": "Chalice Hotswap", + "manufacturer": "Owlab", + "url": "", + "maintainer": "Owlab", + "usb": { + "vid": "0x4F53", + "pid": "0x4348", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6" ], + "rows": ["A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_hot": { + "layout": [ + {"matrix": [0, 0], "x":0.85, "y":0}, + {"matrix": [0, 1], "x":1.85, "y":0}, + {"matrix": [0, 2], "x":2.85, "y":0}, + {"matrix": [0, 3], "x":3.85, "y":0}, + {"matrix": [0, 4], "x":4.85, "y":0}, + {"matrix": [0, 5], "x":5.85, "y":0}, + {"matrix": [0, 6], "x":6.85, "y":0}, + {"matrix": [0, 7], "x":7.85, "y":0}, + {"matrix": [0, 8], "x":8.85, "y":0}, + {"matrix": [0, 9], "x":9.85, "y":0}, + {"matrix": [0, 10], "x":10.85, "y":0}, + {"matrix": [0, 11], "x":11.85, "y":0, "w":1.5}, + {"matrix": [1, 0], "x":0.25, "y":1, "w":1.75}, + {"matrix": [1, 1], "x":2, "y":1}, + {"matrix": [1, 2], "x":3, "y":1}, + {"matrix": [1, 3], "x":4, "y":1}, + {"matrix": [1, 4], "x":5, "y":1}, + {"matrix": [1, 5], "x":6, "y":1}, + {"matrix": [1, 6], "x":7, "y":1}, + {"matrix": [1, 7], "x":8, "y":1}, + {"matrix": [1, 8], "x":9, "y":1}, + {"matrix": [1, 9], "x":10, "y":1}, + {"matrix": [1, 10], "x":11, "y":1}, + {"matrix": [1, 11], "x":12, "y":1, "w":1.75}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.25}, + {"matrix": [3, 1], "x":1.25, "y":2}, + {"matrix": [2, 1], "x":2.25, "y":2}, + {"matrix": [2, 2], "x":3.25, "y":2}, + {"matrix": [2, 3], "x":4.25, "y":2}, + {"matrix": [2, 4], "x":5.25, "y":2}, + {"matrix": [3, 4], "x":6.25, "y":2}, + {"matrix": [2, 5], "x":7.25, "y":2}, + {"matrix": [2, 6], "x":8.25, "y":2}, + {"matrix": [2, 7], "x":9.25, "y":2}, + {"matrix": [2, 8], "x":10.25, "y":2}, + {"matrix": [2, 9], "x":11.25, "y":2}, + {"matrix": [2, 10], "x":12.25, "y":2}, + {"matrix": [2, 11], "x":13.25, "y":2, "w":1.25}, + {"matrix": [3, 0], "x":0, "y":3, "w":1.5}, + {"matrix": [3, 2], "x":1.5, "y":3, "w":1.5}, + {"matrix": [3, 3], "x":3, "y":3, "w":2}, + {"matrix": [3, 5], "x":5, "y":3}, + {"matrix": [3, 6], "x":6, "y":3}, + {"matrix": [3, 7], "x":7, "y":3, "w":2}, + {"matrix": [3, 9], "x":9, "y":3}, + {"matrix": [3, 10], "x":10, "y":3}, + {"matrix": [3, 11], "x":11, "y":3} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c b/keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c new file mode 100644 index 000000000000..6aabe4377baf --- /dev/null +++ b/keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c @@ -0,0 +1,35 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, + KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hot( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, + KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, + KC_LCTL, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c b/keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c new file mode 100644 index 000000000000..6aabe4377baf --- /dev/null +++ b/keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c @@ -0,0 +1,35 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, + KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hot( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, + KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, + KC_LCTL, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk b/keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/readme.md b/keyboards/owlab/chalice/hotswap/readme.md new file mode 100644 index 000000000000..e1c6e6631592 --- /dev/null +++ b/keyboards/owlab/chalice/hotswap/readme.md @@ -0,0 +1,21 @@ +# Chalice - Hotswap PCB + +![Chalice](https://i.imgur.com/2KwXyvB.jpg) + +A 40% made by Owlab. + +* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) +* Hardware Supported: Chalice Hotswap PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/eNQXblgrn7oL + +Make example for this keyboard (after setting up your build environment): + + make owlab/chalice/hotswap:default + +Flashing example for this keyboard: + + make owlab/chalice/hotswap:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/rules.mk b/keyboards/owlab/chalice/hotswap/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/owlab/chalice/hotswap/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/info.json b/keyboards/owlab/chalice/solder/info.json new file mode 100644 index 000000000000..1b7bf0e5b5ee --- /dev/null +++ b/keyboards/owlab/chalice/solder/info.json @@ -0,0 +1,88 @@ +{ + "keyboard_name": "Chalice Solder", + "manufacturer": "Owlab", + "url": "", + "maintainer": "Owlab", + "usb": { + "vid": "0x4F53", + "pid": "0x4353", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6" ], + "rows": ["A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B4", "pin_b": "B5", "resolution": 4}, + {"pin_a": "B9", "pin_b": "B8", "resolution": 4} + ] + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "encoder": true, + "nkro": true + }, + "qmk": { + "tap_keycode_delay": 10 + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_sol": { + "layout": [ + {"matrix": [0, 0], "x":0.85, "y":0}, + {"matrix": [0, 1], "x":1.85, "y":0}, + {"matrix": [0, 2], "x":2.85, "y":0}, + {"matrix": [0, 3], "x":3.85, "y":0}, + {"matrix": [0, 4], "x":4.85, "y":0}, + {"matrix": [0, 5], "x":5.85, "y":0}, + {"matrix": [0, 6], "x":6.85, "y":0}, + {"matrix": [0, 7], "x":7.85, "y":0}, + {"matrix": [0, 8], "x":8.85, "y":0}, + {"matrix": [0, 9], "x":9.85, "y":0}, + {"matrix": [0, 10], "x":10.85, "y":0}, + {"matrix": [0, 11], "x":11.85, "y":0, "w":1.5}, + {"matrix": [1, 0], "x":0.25, "y":1, "w":1.75}, + {"matrix": [1, 1], "x":2, "y":1}, + {"matrix": [1, 2], "x":3, "y":1}, + {"matrix": [1, 3], "x":4, "y":1}, + {"matrix": [1, 4], "x":5, "y":1}, + {"matrix": [1, 5], "x":6, "y":1}, + {"matrix": [1, 6], "x":7, "y":1}, + {"matrix": [1, 7], "x":8, "y":1}, + {"matrix": [1, 8], "x":9, "y":1}, + {"matrix": [1, 9], "x":10, "y":1}, + {"matrix": [1, 10], "x":11, "y":1}, + {"matrix": [1, 11], "x":12, "y":1, "w":1.75}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.25}, + {"matrix": [3, 1], "x":1.25, "y":2}, + {"matrix": [2, 1], "x":2.25, "y":2}, + {"matrix": [2, 2], "x":3.25, "y":2}, + {"matrix": [2, 3], "x":4.25, "y":2}, + {"matrix": [2, 4], "x":5.25, "y":2}, + {"matrix": [3, 4], "x":6.25, "y":2}, + {"matrix": [2, 5], "x":7.25, "y":2}, + {"matrix": [2, 6], "x":8.25, "y":2}, + {"matrix": [2, 7], "x":9.25, "y":2}, + {"matrix": [2, 8], "x":10.25, "y":2}, + {"matrix": [2, 9], "x":11.25, "y":2}, + {"matrix": [2, 10], "x":12.25, "y":2}, + {"matrix": [2, 11], "x":13.25, "y":2, "w":1.25}, + {"matrix": [3, 0], "x":0, "y":3}, + {"matrix": [3, 8], "x":1, "y":3}, + {"matrix": [3, 2], "x":2, "y":3}, + {"matrix": [3, 3], "x":3, "y":3, "w":2}, + {"matrix": [3, 5], "x":5, "y":3}, + {"matrix": [3, 6], "x":6, "y":3}, + {"matrix": [3, 7], "x":7, "y":3, "w":2}, + {"matrix": [3, 9], "x":9, "y":3}, + {"matrix": [3, 10], "x":10, "y":3}, + {"matrix": [3, 11], "x":11, "y":3} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/keymaps/default/keymap.c b/keyboards/owlab/chalice/solder/keymaps/default/keymap.c new file mode 100644 index 000000000000..f914e9c6e467 --- /dev/null +++ b/keyboards/owlab/chalice/solder/keymaps/default/keymap.c @@ -0,0 +1,56 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_sol( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_sol( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, + KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_RALT, KC_TRNS, KC_RCTL + ) +}; + + +#ifdef ENCODER_ENABLE + bool encoder_update_user(uint8_t index, bool clockwise) { + + if (index == 0) { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(2, 1, 4)); + } else { + tap_code(dynamic_keymap_get_keycode(2, 1, 5)); + } + } else { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(2, 1, 7)); + } else { + tap_code(dynamic_keymap_get_keycode(2, 1, 6)); + } + } + return false; + } +#endif \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/keymaps/via/keymap.c b/keyboards/owlab/chalice/solder/keymaps/via/keymap.c new file mode 100644 index 000000000000..f914e9c6e467 --- /dev/null +++ b/keyboards/owlab/chalice/solder/keymaps/via/keymap.c @@ -0,0 +1,56 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_sol( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_sol( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, + KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_RALT, KC_TRNS, KC_RCTL + ) +}; + + +#ifdef ENCODER_ENABLE + bool encoder_update_user(uint8_t index, bool clockwise) { + + if (index == 0) { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(2, 1, 4)); + } else { + tap_code(dynamic_keymap_get_keycode(2, 1, 5)); + } + } else { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(2, 1, 7)); + } else { + tap_code(dynamic_keymap_get_keycode(2, 1, 6)); + } + } + return false; + } +#endif \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/keymaps/via/rules.mk b/keyboards/owlab/chalice/solder/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/owlab/chalice/solder/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/readme.md b/keyboards/owlab/chalice/solder/readme.md new file mode 100644 index 000000000000..ec2007a595e6 --- /dev/null +++ b/keyboards/owlab/chalice/solder/readme.md @@ -0,0 +1,21 @@ +# Chalice - Solder PCB + +![Chalice](https://i.imgur.com/2KwXyvBh.jpg) + +A 40% made by Owlab. + +* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) +* Hardware Supported: Chalice solder PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/eNQXblgrn7oL + +Make example for this keyboard (after setting up your build environment): + + make owlab/chalice/solder:default + +Flashing example for this keyboard: + + make owlab/chalice/solder:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/rules.mk b/keyboards/owlab/chalice/solder/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/owlab/chalice/solder/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/info.json b/keyboards/owlab/link/hotswap/info.json new file mode 100644 index 000000000000..d191e5cc8b34 --- /dev/null +++ b/keyboards/owlab/link/hotswap/info.json @@ -0,0 +1,101 @@ +{ + "keyboard_name": "LINK Hotswap", + "manufacturer": "Owlab", + "url": "", + "maintainer": "Owlab", + "usb": { + "vid": "0x4F53", + "pid": "0x4C49", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], + "rows": ["A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_hot": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8], "x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [0, 13], "x":13, "y":0, "w":2}, + {"matrix": [0, 14], "x":15, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, + {"matrix": [1, 14], "x":15, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, + {"matrix": [2, 14], "x":15, "y":2}, + {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 13], "x":14, "y":3}, + {"matrix": [3, 14], "x":15, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, + {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, + {"matrix": [4, 4], "x":3.75, "y":4, "w":6.25}, + {"matrix": [4, 7], "x":10, "y":4, "w":1.25}, + {"matrix": [4, 8], "x":11.25, "y":4, "w":1.25}, + {"matrix": [4, 12], "x":13, "y":4}, + {"matrix": [4, 13], "x":14, "y":4}, + {"matrix": [4, 14], "x":15, "y":4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/keymaps/default/keymap.c b/keyboards/owlab/link/hotswap/keymaps/default/keymap.c new file mode 100644 index 000000000000..eb177eb429b6 --- /dev/null +++ b/keyboards/owlab/link/hotswap/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hot( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/keymaps/via/keymap.c b/keyboards/owlab/link/hotswap/keymaps/via/keymap.c new file mode 100644 index 000000000000..eb177eb429b6 --- /dev/null +++ b/keyboards/owlab/link/hotswap/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hot( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/keymaps/via/rules.mk b/keyboards/owlab/link/hotswap/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/owlab/link/hotswap/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/readme.md b/keyboards/owlab/link/hotswap/readme.md new file mode 100644 index 000000000000..1e4adc803679 --- /dev/null +++ b/keyboards/owlab/link/hotswap/readme.md @@ -0,0 +1,21 @@ +# LINK - hotswap PCB + +![LINK](https://i.imgur.com/tbeeWsph.jpg) + +A 65% made by Owlab. + +* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) +* Hardware Supported: LINK Hotswap PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2Q1oO6EjVBqR + +Make example for this keyboard (after setting up your build environment): + + make owlab/link/hotswap:default + +Flashing example for this keyboard: + + make owlab/link/hotswap:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/rules.mk b/keyboards/owlab/link/hotswap/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/owlab/link/hotswap/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/link/solder/info.json b/keyboards/owlab/link/solder/info.json new file mode 100644 index 000000000000..b9ad3c213ad8 --- /dev/null +++ b/keyboards/owlab/link/solder/info.json @@ -0,0 +1,102 @@ +{ + "keyboard_name": "LINK Solder", + "manufacturer": "Owlab", + "url": "", + "maintainer": "Owlab", + "usb": { + "vid": "0x4F53", + "pid": "0x4C53", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], + "rows": ["A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_sol": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8], "x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [2, 12], "x":13, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, + {"matrix": [1, 14], "x":15, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, + {"matrix": [2, 14], "x":15, "y":2}, + {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 13], "x":14, "y":3}, + {"matrix": [3, 14], "x":15, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, + {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, + {"matrix": [4, 4], "x":3.75, "y":4, "w":6.25}, + {"matrix": [4, 7], "x":10, "y":4, "w":1.25}, + {"matrix": [4, 8], "x":11.25, "y":4, "w":1.25}, + {"matrix": [4, 12], "x":13, "y":4}, + {"matrix": [4, 13], "x":14, "y":4}, + {"matrix": [4, 14], "x":15, "y":4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/owlab/link/solder/keymaps/default/keymap.c b/keyboards/owlab/link/solder/keymaps/default/keymap.c new file mode 100644 index 000000000000..9c4599b66bb7 --- /dev/null +++ b/keyboards/owlab/link/solder/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_sol( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_sol( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/owlab/link/solder/keymaps/via/keymap.c b/keyboards/owlab/link/solder/keymaps/via/keymap.c new file mode 100644 index 000000000000..9c4599b66bb7 --- /dev/null +++ b/keyboards/owlab/link/solder/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Owlab + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_sol( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_sol( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/owlab/link/solder/keymaps/via/rules.mk b/keyboards/owlab/link/solder/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/owlab/link/solder/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/link/solder/readme.md b/keyboards/owlab/link/solder/readme.md new file mode 100644 index 000000000000..0ceb69b0e60b --- /dev/null +++ b/keyboards/owlab/link/solder/readme.md @@ -0,0 +1,21 @@ +# LINK - solder PCB + +![LINK](https://i.imgur.com/tbeeWsph.jpg) + +A 65% made by Owlab. + +* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) +* Hardware Supported: LINK solder PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2Q1oO6EjVBqR + +Make example for this keyboard (after setting up your build environment): + + make owlab/link/solder:default + +Flashing example for this keyboard: + + make owlab/link/solder:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/link/solder/rules.mk b/keyboards/owlab/link/solder/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/owlab/link/solder/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.c b/keyboards/qwertykeys/qk100/ansi/ansi.c new file mode 100644 index 000000000000..f395442110dc --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/ansi.c @@ -0,0 +1,248 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +#include "ansi.h" + +#ifdef RGB_MATRIX_ENABLE +const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { + {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ + {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ + {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ + {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ + {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ + {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ + {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ + {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ + {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ + {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ + {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ + {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ + {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ + {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB13-Delete */ + {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-End */ + {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB15-Insert */ + {0, CS38_SW7, CS39_SW7, CS37_SW7}, /* RGB16-Home */ + + {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ + {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ + {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ + {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ + {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ + {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ + {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ + {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ + {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ + {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ + {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ + {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ + {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ + {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB30-BS */ + {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB31-Num Lock */ + {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB32- / */ + {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB33- * */ + {0, CS38_SW8, CS39_SW8, CS37_SW8}, /* RGB34- - */ + + {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB35-TAB ----ROW2*/ + {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB36-Q */ + {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB37-W */ + {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB38-E */ + {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB39-R */ + {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB40-T */ + {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB41-Y */ + {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB42-U */ + {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB43-I */ + {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB44-O */ + {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB45-P */ + {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB46-[ */ + {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB47-] */ + {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB48-\ */ + {0, CS29_SW9, CS30_SW9, CS28_SW9}, /* RGB49-page up */ + {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB50-7 */ + {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB51-8 */ + {0, CS38_SW9, CS39_SW9, CS37_SW9}, /* RGB52-9 */ + + {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB53-CAPS---ROW3*/ + {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB54-A-- */ + {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB55-S-- */ + {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB56-D */ + {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB57-F */ + {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB58-G */ + {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB59-H */ + {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB60-J */ + {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB61-K */ + {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB62-L */ + {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB63-;: */ + {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB64-'" */ + {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB65-ENTER */ + {0, CS11_SW7, CS12_SW7, CS10_SW7}, /* RGB66-Page Down */ + {0, CS14_SW7, CS15_SW7, CS13_SW7}, /* RGB67-4 */ + {0, CS17_SW7, CS18_SW7, CS16_SW7}, /* RGB68-5 */ + {0, CS20_SW7, CS21_SW7, CS19_SW7}, /* RGB69-6 */ + {0, CS23_SW7, CS24_SW7, CS22_SW7}, /* RGB70-+ */ + + {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB71-LSF --ROW4*/ + {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB72-Z */ + {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB73-X */ + {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB74-C */ + {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB75-V */ + {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB76-B */ + {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB77-N */ + {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB78-M */ + {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB79-,< */ + {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB80->. */ + {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB81-?/ */ + {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB82-RSF */ + {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB83-UP */ + {0, CS14_SW8, CS15_SW8, CS13_SW8}, /* RGB84-1*/ + {0, CS17_SW8, CS18_SW8, CS16_SW8}, /* RGB85-2 */ + {0, CS20_SW8, CS21_SW8, CS19_SW8}, /* RGB86-3 */ + {0, CS23_SW8, CS24_SW8, CS22_SW8}, /* RGB87-Enter */ + + {0, CS2_SW6, CS3_SW6, CS1_SW6}, /* RGB88-lct-- ROW5*/ + {0, CS5_SW6, CS6_SW6, CS4_SW6}, /* RGB89-lwin */ + {0, CS8_SW6, CS9_SW6, CS7_SW6}, /* RGB90-lalt */ + {0, CS11_SW6, CS12_SW6, CS10_SW6}, /* RGB91-sp0 */ + {0, CS17_SW6, CS18_SW6, CS16_SW6}, /* RGB92-sp */ + {0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB93-sp2 */ + {0, CS29_SW6, CS30_SW6, CS28_SW6}, /* RGB94-ralt */ + {0, CS32_SW6, CS33_SW6, CS31_SW6}, /* RGB95- fn */ + {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB96-left */ + {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB97-down */ + {0, CS11_SW9, CS12_SW9, CS10_SW9}, /* RGB98-right */ + {0, CS14_SW9, CS15_SW9, CS13_SW9}, /* RGB99- 0 */ + {0, CS20_SW9, CS21_SW9, CS19_SW9} /* RGB100- . */ +}; + +led_config_t g_led_config = { { + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, NO_LED, NO_LED, 13, 14, 15, 16 }, + { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, NO_LED, 31, 32, 33, 34 }, + { 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, NO_LED}, + { 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, NO_LED, 65, 66, 67, 68, 69, 70 }, + { 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, NO_LED, 83, NO_LED, 84, 85, 86, 87 }, + { 88, 89, 90, 91, NO_LED, 92, NO_LED, NO_LED, 93, 94, 95, NO_LED, 96, 97, 98, 99, NO_LED, 100,NO_LED} +}, { + { 0, 0 }, { 18, 0 }, { 30, 0 }, { 42, 0 }, { 54, 0 }, { 72, 0 }, { 84, 0 }, { 96, 0 }, { 108, 0 }, { 126, 0 }, { 138, 0 }, { 150, 0 }, { 162, 0 }, { 188, 0 }, { 200, 0 }, { 212, 0 }, { 224, 0 }, + { 0, 13 }, { 12, 13 }, { 24, 13 }, { 36, 13 }, { 48, 13 }, { 60, 13 }, { 72, 13}, { 84, 13 }, { 96, 13 }, { 108, 13 }, { 120, 13 }, { 132, 13 }, { 144, 13 }, { 156, 13 }, { 188, 13 }, { 200, 13 }, { 212, 13 },{ 224, 13 }, + { 0, 26 }, { 18, 26 }, { 30, 26 }, { 42, 26 }, { 54, 26 }, { 66, 26 }, { 78, 26 }, { 90, 26 }, { 102, 26}, { 114, 26 }, { 126, 26 }, { 138, 26 }, { 150, 26 }, { 162, 26 }, { 176, 26 }, { 188, 26 }, { 200, 26 }, { 212, 26 }, + { 0, 39 }, { 20, 39 }, { 32, 39 }, { 44, 39 }, { 56, 39 }, { 68, 39 }, { 80, 39 }, { 92, 39 }, { 104, 39 }, { 120, 39 }, { 132, 39 }, { 132, 39 }, { 144, 39 }, { 176, 39 }, { 188, 39 }, { 200, 39 }, { 212, 39 },{ 224, 39 }, + { 0, 52 }, { 26, 52 }, { 38, 52 }, { 50, 52 }, { 62, 52 }, { 74, 52 }, { 86, 52 }, { 98, 52 }, { 110, 52 }, { 122, 52 }, { 134, 52 }, { 150, 52 }, { 170, 52 }, { 188, 52 }, { 200, 52 }, { 212, 52 },{ 224, 52 }, + { 0, 64 }, { 14, 64 }, { 28, 64 }, { 42, 64 }, { 74, 64 }, { 108, 64 }, { 122, 64 }, { 140, 64 }, { 158, 64 }, { 170, 64 }, { 182, 64 }, { 196, 64 }, { 212, 64 } +}, { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 1, + 1, 1, 1, 4, 4, 4, 1, 1, 1, 1, 1, 4, 4 + } +}; + + + +bool process_record_kb(uint16_t keycode, keyrecord_t *record) { + if (record->event.pressed) { + switch(keycode) { + + case KC_F14: + rgb_matrix_toggle(); + break; + + case KC_F15: + rgb_matrix_step(); + break; + + case KC_F16: + rgb_matrix_step_reverse(); + break; + + case KC_F17: + rgb_matrix_increase_hue(); //Increase the hue for effect range LEDs + break; + + case KC_F18: + rgb_matrix_decrease_hue(); //Decrease the hue for effect range LEDs + break; + + case KC_F19: + rgb_matrix_increase_sat(); //Increase the saturation for effect range LEDs + break; + + case KC_F20: + rgb_matrix_decrease_sat(); //Decrease the saturation for effect range LEDs + break; + + case KC_F21: + rgb_matrix_increase_val(); //Increase the value for effect range LEDs + break; + + case KC_F22: + rgb_matrix_decrease_val();//Decrease the value for effect range LEDs + break; + + case KC_F23: + rgb_matrix_increase_speed();//Increase the speed of the animations + break; + + case KC_F24: + rgb_matrix_decrease_speed();//Decrease the speed of the animations + break; + + default: + break; + } + } + return process_record_user(keycode, record); +} + +void suspend_power_down_kb(void) { + rgb_matrix_set_suspend_state(true); + suspend_power_down_user(); +} + +void suspend_wakeup_init_kb(void) { + rgb_matrix_set_suspend_state(false); + suspend_wakeup_init_user(); +} + +#endif + + +const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {0, 3, HSV_WHITE} +); + + +const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {3, 3, HSV_WHITE} +); + + +const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( + my_capslock_layer, + my_numlock_layer +); + + +void keyboard_post_init_kb(void) { + rgblight_layers = my_rgb_layers; + keyboard_post_init_user(); +} + +bool led_update_kb(led_t led_state) { + rgblight_set_layer_state(0, led_state.caps_lock); + rgblight_set_layer_state(1, !led_state.num_lock); + return false; +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.h b/keyboards/qwertykeys/qk100/ansi/ansi.h new file mode 100644 index 000000000000..6c52248e530a --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/ansi.h @@ -0,0 +1,20 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "quantum.h" \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/chconf.h b/keyboards/qwertykeys/qk100/ansi/chconf.h new file mode 100644 index 000000000000..691723b77194 --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/chconf.h @@ -0,0 +1,24 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + +#pragma once + +#define CH_CFG_ST_TIMEDELTA 0 + +#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/config.h b/keyboards/qwertykeys/qk100/ansi/config.h new file mode 100644 index 000000000000..a5d52f56b29b --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/config.h @@ -0,0 +1,53 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#define DYNAMIC_KEYMAP_LAYER_COUNT 2 + +# define RGBLIGHT_LAYERS +# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF +# define RGBLIGHT_LAYERS_RETAIN_VAL +# define RGBLIGHT_DEFAULT_VAL 10 +# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 +# define RGBLIGHT_SLEEP +/*== customize breathing effect ==*/ +# define RGBLIGHT_BREATHE_TABLE_SIZE 128 +# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0 +# define RGBLIGHT_EFFECT_BREATHE_MAX 60 + + +/* RGB matrix */ +#ifdef RGB_MATRIX_ENABLE +// i2c setting +#define USE_I2CV1 +#define I2C1_SCL 8 +#define I2C1_SDA 9 +#define I2C1_CLOCK_SPEED 400000 +#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 +# define RGB_MATRIX_DISABLE_KEYCODES +# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects +# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended +# define RGB_MATRIX_KEYPRESSES // reacts to keypresses +# define RGB_MATRIX_FRAMEBUFFER_EFFECTS +# define RGB_MATRIX_LED_PROCESS_LIMIT 4 +# define RGB_MATRIX_LED_FLUSH_LIMIT 26 +# define RGB_MATRIX_STARTUP_VAL 128 +# define DRIVER_ADDR_1 0b0110000 +# define DRIVER_COUNT 1 +# define RGB_MATRIX_LED_COUNT 101 +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/halconf.h b/keyboards/qwertykeys/qk100/ansi/halconf.h new file mode 100644 index 000000000000..23cdfa6574c7 --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/halconf.h @@ -0,0 +1,25 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#define HAL_USE_I2C TRUE + +#define HAL_USE_SPI TRUE + +#define HAL_USE_PWM TRUE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/info.json b/keyboards/qwertykeys/qk100/ansi/info.json new file mode 100644 index 000000000000..e790f2760a5b --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/info.json @@ -0,0 +1,199 @@ +{ + "keyboard_name": "QK100 ANSI", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3030", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5", "B8", "B9", "C13" ], + "rows": ["A1", "A2", "A3", "A5", "A4", "A6" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgblight": true, + "nkro": true, + "rgb_matrix": true + }, + "rgb_matrix": { + "driver": "IS31FL3741", + "max_brightness": 200, + "animations": { + "solid_color": true, + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_sat": true, + "band_val": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "rainbow_moving_chevron": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_fractal": true, + "pixel_flow": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive": true, + "solid_reactive_wide": true, + "solid_reactive_multiwide": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_nexus": true, + "solid_reactive_multinexus": true, + "splash": true, + "multisplash": true, + "solid_splash": true, + "solid_multisplash": true + } + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "ws2812": { + "pin": "B3" + }, + "rgblight": { + "animations": { + "breathing": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "static_gradient": true + }, + "brightness_steps": 10, + "saturation_steps": 8, + "led_count": 6, + "max_brightness": 120 + + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":2, "y":0}, + {"matrix": [0, 2], "x":3, "y":0}, + {"matrix": [0, 3], "x":4, "y":0}, + {"matrix": [0, 4], "x":5, "y":0}, + {"matrix": [0, 5], "x":6.5, "y":0}, + {"matrix": [0, 6], "x":7.5, "y":0}, + {"matrix": [0, 7], "x":8.5, "y":0}, + {"matrix": [0, 8], "x":9.5, "y":0}, + {"matrix": [0, 9], "x":11, "y":0}, + {"matrix": [0, 10], "x":12, "y":0}, + {"matrix": [0, 11], "x":13, "y":0}, + {"matrix": [0, 12], "x":14, "y":0}, + {"matrix": [0, 15], "x":16.5, "y":0}, + {"matrix": [0, 16], "x":17.5, "y":0}, + {"matrix": [0, 17], "x":18.5, "y":0}, + {"matrix": [0, 18], "x":19.5, "y":0}, + {"matrix": [1, 0], "x":0, "y":1.25}, + {"matrix": [1, 1], "x":1, "y":1.25}, + {"matrix": [1, 2], "x":2, "y":1.25}, + {"matrix": [1, 3], "x":3, "y":1.25}, + {"matrix": [1, 4], "x":4, "y":1.25}, + {"matrix": [1, 5], "x":5, "y":1.25}, + {"matrix": [1, 6], "x":6, "y":1.25}, + {"matrix": [1, 7], "x":7, "y":1.25}, + {"matrix": [1, 8], "x":8, "y":1.25}, + {"matrix": [1, 9], "x":9, "y":1.25}, + {"matrix": [1, 10], "x":10, "y":1.25}, + {"matrix": [1, 11], "x":11, "y":1.25}, + {"matrix": [1, 12], "x":12, "y":1.25}, + {"matrix": [1, 13], "x":13, "y":1.25, "w":2}, + {"matrix": [1, 15], "x":16.5, "y":1.25}, + {"matrix": [1, 16], "x":17.5, "y":1.25}, + {"matrix": [1, 17], "x":18.5, "y":1.25}, + {"matrix": [1, 18], "x":19.5, "y":1.25}, + {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2.25}, + {"matrix": [2, 2], "x":2.5, "y":2.25}, + {"matrix": [2, 3], "x":3.5, "y":2.25}, + {"matrix": [2, 4], "x":4.5, "y":2.25}, + {"matrix": [2, 5], "x":5.5, "y":2.25}, + {"matrix": [2, 6], "x":6.5, "y":2.25}, + {"matrix": [2, 7], "x":7.5, "y":2.25}, + {"matrix": [2, 8], "x":8.5, "y":2.25}, + {"matrix": [2, 9], "x":9.5, "y":2.25}, + {"matrix": [2, 10], "x":10.5, "y":2.25}, + {"matrix": [2, 11], "x":11.5, "y":2.25}, + {"matrix": [2, 12], "x":12.5, "y":2.25}, + {"matrix": [2, 13], "x":13.5, "y":2.25, "w":1.5}, + {"matrix": [2, 14], "x":15.25, "y":2.25}, + {"matrix": [2, 15], "x":16.5, "y":2.25}, + {"matrix": [2, 16], "x":17.5, "y":2.25}, + {"matrix": [2, 17], "x":18.5, "y":2.25}, + {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3.25}, + {"matrix": [3, 2], "x":2.75, "y":3.25}, + {"matrix": [3, 3], "x":3.75, "y":3.25}, + {"matrix": [3, 4], "x":4.75, "y":3.25}, + {"matrix": [3, 5], "x":5.75, "y":3.25}, + {"matrix": [3, 6], "x":6.75, "y":3.25}, + {"matrix": [3, 7], "x":7.75, "y":3.25}, + {"matrix": [3, 8], "x":8.75, "y":3.25}, + {"matrix": [3, 9], "x":9.75, "y":3.25}, + {"matrix": [3, 10], "x":10.75, "y":3.25}, + {"matrix": [3, 11], "x":11.75, "y":3.25}, + {"matrix": [3, 13], "x":12.75, "y":3.25, "w":2.25}, + {"matrix": [3, 14], "x":15.25, "y":3.25}, + {"matrix": [3, 15], "x":16.5, "y":3.25}, + {"matrix": [3, 16], "x":17.5, "y":3.25}, + {"matrix": [3, 17], "x":18.5, "y":3.25}, + {"matrix": [3, 18], "x":19.5, "y":2.25, "h":2}, + {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, + {"matrix": [4, 1], "x":2.25, "y":4.25}, + {"matrix": [4, 2], "x":3.25, "y":4.25}, + {"matrix": [4, 3], "x":4.25, "y":4.25}, + {"matrix": [4, 4], "x":5.25, "y":4.25}, + {"matrix": [4, 5], "x":6.25, "y":4.25}, + {"matrix": [4, 6], "x":7.25, "y":4.25}, + {"matrix": [4, 7], "x":8.25, "y":4.25}, + {"matrix": [4, 8], "x":9.25, "y":4.25}, + {"matrix": [4, 9], "x":10.25, "y":4.25}, + {"matrix": [4, 10], "x":11.25, "y":4.25}, + {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, + {"matrix": [4, 13], "x":14.25, "y":4.5}, + {"matrix": [4, 15], "x":16.5, "y":4.25}, + {"matrix": [4, 16], "x":17.5, "y":4.25}, + {"matrix": [4, 17], "x":18.5, "y":4.25}, + {"matrix": [4, 18], "x":19.5, "y":4.25, "h":2}, + {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, + {"matrix": [5, 1], "x":1.25, "y":5.25, "w":1.25}, + {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.25}, + {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, + {"matrix": [5, 9], "x":10, "y":5.25, "w":1.5}, + {"matrix": [5, 10], "x":11.5, "y":5.25, "w":1.5}, + {"matrix": [5, 12], "x":13.25, "y":5.5}, + {"matrix": [5, 13], "x":14.25, "y":5.5}, + {"matrix": [5, 14], "x":15.25, "y":5.5}, + {"matrix": [5, 15], "x":16.5, "y":5.25, "w":2}, + {"matrix": [5, 17], "x":18.5, "y":5.25} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c new file mode 100644 index 000000000000..085cacbb008c --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c new file mode 100644 index 000000000000..085cacbb008c --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk b/keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk100/ansi/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/mcuconf.h b/keyboards/qwertykeys/qk100/ansi/mcuconf.h new file mode 100644 index 000000000000..3e2522755b6a --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/mcuconf.h @@ -0,0 +1,30 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include_next + +/* + * I2C driver system settings. + */ +#undef STM32_I2C_USE_I2C1 +#define STM32_I2C_USE_I2C1 TRUE + + + +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/readme.md b/keyboards/qwertykeys/qk100/ansi/readme.md new file mode 100644 index 000000000000..d3360b0420b3 --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/readme.md @@ -0,0 +1,21 @@ +# qk100 - ANSI PCB + +![qk100](https://i.imgur.com/im0iArYh.jpg) + +A 100% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk100 ANSI PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/qRwKr7mW1oWy + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk100/ansi:default + +Flashing example for this keyboard: + + make qwertykeys/qk100/ansi:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/rules.mk b/keyboards/qwertykeys/qk100/ansi/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk100/ansi/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/chconf.h b/keyboards/qwertykeys/qk100/solder/chconf.h new file mode 100644 index 000000000000..3f5db067ef93 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/chconf.h @@ -0,0 +1,23 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#define CH_CFG_ST_TIMEDELTA 0 + +#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/config.h b/keyboards/qwertykeys/qk100/solder/config.h new file mode 100644 index 000000000000..5539eacdf8a9 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/config.h @@ -0,0 +1,31 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#define DYNAMIC_KEYMAP_LAYER_COUNT 2 + +# define RGBLIGHT_LAYERS +# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF +# define RGBLIGHT_LAYERS_RETAIN_VAL +# define RGBLIGHT_DEFAULT_VAL 10 +# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 +# define RGBLIGHT_SLEEP +/*== customize breathing effect ==*/ +# define RGBLIGHT_BREATHE_TABLE_SIZE 128 +# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0 +# define RGBLIGHT_EFFECT_BREATHE_MAX 60 \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/halconf.h b/keyboards/qwertykeys/qk100/solder/halconf.h new file mode 100644 index 000000000000..23cdfa6574c7 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/halconf.h @@ -0,0 +1,25 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#define HAL_USE_I2C TRUE + +#define HAL_USE_SPI TRUE + +#define HAL_USE_PWM TRUE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/info.json b/keyboards/qwertykeys/qk100/solder/info.json new file mode 100644 index 000000000000..fff2aace3621 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/info.json @@ -0,0 +1,150 @@ +{ + "keyboard_name": "qk100 Solder", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3053", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5", "B8", "B9", "C13" ], + "rows": ["A1", "A2", "A3", "A5", "A4", "A6" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgblight": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "ws2812": { + "pin": "B3" + }, + "rgblight": { + "animations": { + "breathing": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "static_gradient": true + }, + "brightness_steps": 10, + "saturation_steps": 8, + "led_count": 6, + "max_brightness": 120 + + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":2, "y":0}, + {"matrix": [0, 2], "x":3, "y":0}, + {"matrix": [0, 3], "x":4, "y":0}, + {"matrix": [0, 4], "x":5, "y":0}, + {"matrix": [0, 5], "x":6.5, "y":0}, + {"matrix": [0, 6], "x":7.5, "y":0}, + {"matrix": [0, 7], "x":8.5, "y":0}, + {"matrix": [0, 8], "x":9.5, "y":0}, + {"matrix": [0, 9], "x":11, "y":0}, + {"matrix": [0, 10], "x":12, "y":0}, + {"matrix": [0, 11], "x":13, "y":0}, + {"matrix": [0, 12], "x":14, "y":0}, + {"matrix": [0, 15], "x":16.5, "y":0}, + {"matrix": [0, 16], "x":17.5, "y":0}, + {"matrix": [0, 17], "x":18.5, "y":0}, + {"matrix": [0, 18], "x":19.5, "y":0}, + {"matrix": [1, 0], "x":0, "y":1.25}, + {"matrix": [1, 1], "x":1, "y":1.25}, + {"matrix": [1, 2], "x":2, "y":1.25}, + {"matrix": [1, 3], "x":3, "y":1.25}, + {"matrix": [1, 4], "x":4, "y":1.25}, + {"matrix": [1, 5], "x":5, "y":1.25}, + {"matrix": [1, 6], "x":6, "y":1.25}, + {"matrix": [1, 7], "x":7, "y":1.25}, + {"matrix": [1, 8], "x":8, "y":1.25}, + {"matrix": [1, 9], "x":9, "y":1.25}, + {"matrix": [1, 10], "x":10, "y":1.25}, + {"matrix": [1, 11], "x":11, "y":1.25}, + {"matrix": [1, 12], "x":12, "y":1.25}, + {"matrix": [2, 13], "x":13, "y":1.25}, + {"matrix": [1, 13], "x":14, "y":1.25}, + {"matrix": [1, 15], "x":16.5, "y":1.25}, + {"matrix": [1, 16], "x":17.5, "y":1.25}, + {"matrix": [1, 17], "x":18.5, "y":1.25}, + {"matrix": [1, 18], "x":19.5, "y":1.25}, + {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2.25}, + {"matrix": [2, 2], "x":2.5, "y":2.25}, + {"matrix": [2, 3], "x":3.5, "y":2.25}, + {"matrix": [2, 4], "x":4.5, "y":2.25}, + {"matrix": [2, 5], "x":5.5, "y":2.25}, + {"matrix": [2, 6], "x":6.5, "y":2.25}, + {"matrix": [2, 7], "x":7.5, "y":2.25}, + {"matrix": [2, 8], "x":8.5, "y":2.25}, + {"matrix": [2, 9], "x":9.5, "y":2.25}, + {"matrix": [2, 10], "x":10.5, "y":2.25}, + {"matrix": [2, 11], "x":11.5, "y":2.25}, + {"matrix": [2, 12], "x":12.5, "y":2.25}, + {"matrix": [3, 12], "x":13.5, "y":2.25, "w":1.5}, + {"matrix": [2, 14], "x":15.25, "y":2.25}, + {"matrix": [2, 15], "x":16.5, "y":2.25}, + {"matrix": [2, 16], "x":17.5, "y":2.25}, + {"matrix": [2, 17], "x":18.5, "y":2.25}, + {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3.25}, + {"matrix": [3, 2], "x":2.75, "y":3.25}, + {"matrix": [3, 3], "x":3.75, "y":3.25}, + {"matrix": [3, 4], "x":4.75, "y":3.25}, + {"matrix": [3, 5], "x":5.75, "y":3.25}, + {"matrix": [3, 6], "x":6.75, "y":3.25}, + {"matrix": [3, 7], "x":7.75, "y":3.25}, + {"matrix": [3, 8], "x":8.75, "y":3.25}, + {"matrix": [3, 9], "x":9.75, "y":3.25}, + {"matrix": [3, 10], "x":10.75, "y":3.25}, + {"matrix": [3, 11], "x":11.75, "y":3.25}, + {"matrix": [3, 13], "x":12.75, "y":3.25, "w":2.25}, + {"matrix": [3, 14], "x":15.25, "y":3.25}, + {"matrix": [3, 15], "x":16.5, "y":3.25}, + {"matrix": [3, 16], "x":17.5, "y":3.25}, + {"matrix": [3, 17], "x":18.5, "y":3.25}, + {"matrix": [3, 18], "x":19.5, "y":2.25, "h":2}, + {"matrix": [4, 0], "x":0, "y":4.25, "w":1.25}, + {"matrix": [5, 3], "x":1.25, "y":4.25}, + {"matrix": [4, 1], "x":2.25, "y":4.25}, + {"matrix": [4, 2], "x":3.25, "y":4.25}, + {"matrix": [4, 3], "x":4.25, "y":4.25}, + {"matrix": [4, 4], "x":5.25, "y":4.25}, + {"matrix": [4, 5], "x":6.25, "y":4.25}, + {"matrix": [4, 6], "x":7.25, "y":4.25}, + {"matrix": [4, 7], "x":8.25, "y":4.25}, + {"matrix": [4, 8], "x":9.25, "y":4.25}, + {"matrix": [4, 9], "x":10.25, "y":4.25}, + {"matrix": [4, 10], "x":11.25, "y":4.25}, + {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, + {"matrix": [4, 13], "x":14.25, "y":4.5}, + {"matrix": [4, 15], "x":16.5, "y":4.25}, + {"matrix": [4, 16], "x":17.5, "y":4.25}, + {"matrix": [4, 17], "x":18.5, "y":4.25}, + {"matrix": [4, 18], "x":19.5, "y":4.25, "h":2}, + {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, + {"matrix": [5, 1], "x":1.25, "y":5.25, "w":1.25}, + {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.25}, + {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, + {"matrix": [5, 9], "x":10, "y":5.25, "w":1.5}, + {"matrix": [5, 10], "x":11.5, "y":5.25, "w":1.5}, + {"matrix": [5, 12], "x":13.25, "y":5.5}, + {"matrix": [5, 13], "x":14.25, "y":5.5}, + {"matrix": [5, 14], "x":15.25, "y":5.5}, + {"matrix": [5, 15], "x":16.5, "y":5.25, "w":2}, + {"matrix": [5, 17], "x":18.5, "y":5.25} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c b/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c new file mode 100644 index 000000000000..ffc6b162383e --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c b/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c new file mode 100644 index 000000000000..ffc6b162383e --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/keymaps/via/rules.mk b/keyboards/qwertykeys/qk100/solder/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/mcuconf.h b/keyboards/qwertykeys/qk100/solder/mcuconf.h new file mode 100644 index 000000000000..4df4dc28b748 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/mcuconf.h @@ -0,0 +1,29 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include_next + +/* + * I2C driver system settings. + */ +#undef STM32_I2C_USE_I2C1 +#define STM32_I2C_USE_I2C1 TRUE + + +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/readme.md b/keyboards/qwertykeys/qk100/solder/readme.md new file mode 100644 index 000000000000..f660fe0d42c8 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/readme.md @@ -0,0 +1,21 @@ +# qk100 - Solder PCB + +![qk100](https://i.imgur.com/im0iArYh.jpg) + +A 100% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk100 Solder PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/qRwKr7mW1oWy + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk100/solder:default + +Flashing example for this keyboard: + + make qwertykeys/qk100/solder:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/rules.mk b/keyboards/qwertykeys/qk100/solder/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/solder.c b/keyboards/qwertykeys/qk100/solder/solder.c new file mode 100644 index 000000000000..d331802a472f --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/solder.c @@ -0,0 +1,45 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +#include "solder.h" + + +const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {0, 3, HSV_WHITE} +); + + +const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS( + {3, 3, HSV_WHITE} +); + + +const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( + my_capslock_layer, + my_numlock_layer +); + + +void keyboard_post_init_kb(void) { + rgblight_layers = my_rgb_layers; + keyboard_post_init_user(); +} + +bool led_update_kb(led_t led_state) { + rgblight_set_layer_state(0, led_state.caps_lock); + rgblight_set_layer_state(1, !led_state.num_lock); + return false; +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/solder.h b/keyboards/qwertykeys/qk100/solder/solder.h new file mode 100644 index 000000000000..6c52248e530a --- /dev/null +++ b/keyboards/qwertykeys/qk100/solder/solder.h @@ -0,0 +1,20 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "quantum.h" \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/info.json b/keyboards/qwertykeys/qk60/info.json new file mode 100644 index 000000000000..2a01f5f2bdfa --- /dev/null +++ b/keyboards/qwertykeys/qk60/info.json @@ -0,0 +1,100 @@ +{ + "keyboard_name": "QK60", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3630", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6" ], + "rows": ["A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8], "x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [0, 13], "x":13, "y":0}, + {"matrix": [1, 13], "x":14, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [2, 13], "x":13.5, "y":1, "w":1.5}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 12], "x":12.75, "y":2, "w":2.25}, + {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 12], "x":14, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.5}, + {"matrix": [4, 1], "x":1.5, "y":4, "w":1}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.5}, + {"matrix": [4, 3], "x":4, "y":4, "w":1}, + {"matrix": [4, 5], "x":5, "y":4, "w":2.25}, + {"matrix": [4, 6], "x":4, "y":4, "w":7}, + {"matrix": [4, 7], "x":7.25, "y":4, "w":2.75}, + {"matrix": [4, 10], "x":10, "y":4, "w":1}, + {"matrix": [4, 11], "x":11, "y":4, "w":1.5}, + {"matrix": [4, 12], "x":12.5, "y":4, "w":1}, + {"matrix": [4, 13], "x":13.5, "y":4, "w":1.5} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/keymaps/default/keymap.c b/keyboards/qwertykeys/qk60/keymaps/default/keymap.c new file mode 100644 index 000000000000..efb5a6f0dbb7 --- /dev/null +++ b/keyboards/qwertykeys/qk60/keymaps/default/keymap.c @@ -0,0 +1,36 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, KC_RGUI,KC_RCTL + ), + [1] = LAYOUT( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/keymaps/via/keymap.c b/keyboards/qwertykeys/qk60/keymaps/via/keymap.c new file mode 100644 index 000000000000..efb5a6f0dbb7 --- /dev/null +++ b/keyboards/qwertykeys/qk60/keymaps/via/keymap.c @@ -0,0 +1,36 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, KC_RGUI,KC_RCTL + ), + [1] = LAYOUT( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/keymaps/via/rules.mk b/keyboards/qwertykeys/qk60/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk60/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/readme.md b/keyboards/qwertykeys/qk60/readme.md new file mode 100644 index 000000000000..d0b1247e8828 --- /dev/null +++ b/keyboards/qwertykeys/qk60/readme.md @@ -0,0 +1,21 @@ +# qk60 - PCB + +![qk60](https://i.imgur.com/qX4GAePh.jpg) + +A 60% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk60 PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/4oK8b0gKLPYW + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk60:default + +Flashing example for this keyboard: + + make qwertykeys/qk60:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/rules.mk b/keyboards/qwertykeys/qk60/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk60/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/info.json b/keyboards/qwertykeys/qk65/iso/info.json new file mode 100644 index 000000000000..edcf36e77bc0 --- /dev/null +++ b/keyboards/qwertykeys/qk65/iso/info.json @@ -0,0 +1,102 @@ +{ + "keyboard_name": "QK65 ISO", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x5149", + "device_version": "0.0.2" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], + "rows": ["A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_iso": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8], "x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [1, 13], "x":13, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [1, 14], "x":15, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 12], "x":12.75, "y":2}, + {"matrix": [2, 13], "x":13.75, "y":1, "w":1.25, "h":2}, + {"matrix": [2, 14], "x":15, "y":2}, + {"matrix": [3, 0], "x":0, "y":3, "w":1.25}, + {"matrix": [4, 3], "x":1.25, "y":3}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 13], "x":14, "y":3}, + {"matrix": [3, 14], "x":15, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.5}, + {"matrix": [4, 1], "x":1.5, "y":4, "w":1}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.5}, + {"matrix": [4, 4], "x":4, "y":4, "w":7}, + {"matrix": [4, 8], "x":11, "y":4, "w":1.5}, + {"matrix": [4, 12], "x":13, "y":4}, + {"matrix": [4, 13], "x":14, "y":4}, + {"matrix": [4, 14], "x":15, "y":4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c b/keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c new file mode 100644 index 000000000000..a99231c49ec2 --- /dev/null +++ b/keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_iso( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_iso( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c b/keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c new file mode 100644 index 000000000000..a99231c49ec2 --- /dev/null +++ b/keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_iso( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_iso( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk b/keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/readme.md b/keyboards/qwertykeys/qk65/iso/readme.md new file mode 100644 index 000000000000..145c704869f6 --- /dev/null +++ b/keyboards/qwertykeys/qk65/iso/readme.md @@ -0,0 +1,21 @@ +# qk65 - iso PCB + +![qk65](https://i.imgur.com/BnZl8Xzh.jpg) + +A 65% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk65 iso PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2dAB7MbpgBPp + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk65/iso:default + +Flashing example for this keyboard: + + make qwertykeys/qk65/iso:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/rules.mk b/keyboards/qwertykeys/qk65/iso/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk65/iso/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/info.json b/keyboards/qwertykeys/qk65/r2/info.json new file mode 100644 index 000000000000..e10c5b68878c --- /dev/null +++ b/keyboards/qwertykeys/qk65/r2/info.json @@ -0,0 +1,101 @@ +{ + "keyboard_name": "QK65 Hotswap R2", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x514B", + "device_version": "0.0.2" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], + "rows": ["A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_hotswap": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8], "x":8, "y":0}, + {"matrix": [0, 9], "x":9, "y":0}, + {"matrix": [0, 10], "x":10, "y":0}, + {"matrix": [0, 11], "x":11, "y":0}, + {"matrix": [0, 12], "x":12, "y":0}, + {"matrix": [0, 13], "x":13, "y":0, "w":2}, + {"matrix": [0, 14], "x":15, "y":0}, + {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, + {"matrix": [1, 1], "x":1.5, "y":1}, + {"matrix": [1, 2], "x":2.5, "y":1}, + {"matrix": [1, 3], "x":3.5, "y":1}, + {"matrix": [1, 4], "x":4.5, "y":1}, + {"matrix": [1, 5], "x":5.5, "y":1}, + {"matrix": [1, 6], "x":6.5, "y":1}, + {"matrix": [1, 7], "x":7.5, "y":1}, + {"matrix": [1, 8], "x":8.5, "y":1}, + {"matrix": [1, 9], "x":9.5, "y":1}, + {"matrix": [1, 10], "x":10.5, "y":1}, + {"matrix": [1, 11], "x":11.5, "y":1}, + {"matrix": [1, 12], "x":12.5, "y":1}, + {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, + {"matrix": [1, 14], "x":15, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, + {"matrix": [2, 1], "x":1.75, "y":2}, + {"matrix": [2, 2], "x":2.75, "y":2}, + {"matrix": [2, 3], "x":3.75, "y":2}, + {"matrix": [2, 4], "x":4.75, "y":2}, + {"matrix": [2, 5], "x":5.75, "y":2}, + {"matrix": [2, 6], "x":6.75, "y":2}, + {"matrix": [2, 7], "x":7.75, "y":2}, + {"matrix": [2, 8], "x":8.75, "y":2}, + {"matrix": [2, 9], "x":9.75, "y":2}, + {"matrix": [2, 10], "x":10.75, "y":2}, + {"matrix": [2, 11], "x":11.75, "y":2}, + {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, + {"matrix": [2, 14], "x":15, "y":2}, + {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, + {"matrix": [3, 1], "x":2.25, "y":3}, + {"matrix": [3, 2], "x":3.25, "y":3}, + {"matrix": [3, 3], "x":4.25, "y":3}, + {"matrix": [3, 4], "x":5.25, "y":3}, + {"matrix": [3, 5], "x":6.25, "y":3}, + {"matrix": [3, 6], "x":7.25, "y":3}, + {"matrix": [3, 7], "x":8.25, "y":3}, + {"matrix": [3, 8], "x":9.25, "y":3}, + {"matrix": [3, 9], "x":10.25, "y":3}, + {"matrix": [3, 10], "x":11.25, "y":3}, + {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, + {"matrix": [3, 13], "x":14, "y":3}, + {"matrix": [3, 14], "x":15, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, + {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, + {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, + {"matrix": [4, 4], "x":3.75, "y":4, "w":6.25}, + {"matrix": [4, 7], "x":10, "y":4, "w":1.25}, + {"matrix": [4, 8], "x":11.25, "y":4, "w":1.25}, + {"matrix": [4, 12], "x":13, "y":4}, + {"matrix": [4, 13], "x":14, "y":4}, + {"matrix": [4, 14], "x":15, "y":4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c b/keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c new file mode 100644 index 000000000000..f15374d60a10 --- /dev/null +++ b/keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hotswap( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hotswap( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c b/keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c new file mode 100644 index 000000000000..f15374d60a10 --- /dev/null +++ b/keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hotswap( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hotswap( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, + KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk b/keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/readme.md b/keyboards/qwertykeys/qk65/r2/readme.md new file mode 100644 index 000000000000..b4f88e932c96 --- /dev/null +++ b/keyboards/qwertykeys/qk65/r2/readme.md @@ -0,0 +1,21 @@ +# qk65 - Hotswap R2 PCB + +![qk65](https://i.imgur.com/kFhx5qSh.jpg) + +A 65% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk65 hotswap r2 PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2dAB7MbpgBPp + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk65/r2:default + +Flashing example for this keyboard: + + make qwertykeys/qk65/r2:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/rules.mk b/keyboards/qwertykeys/qk65/r2/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk65/r2/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/info.json b/keyboards/qwertykeys/qk75/hotswap_ansi/info.json new file mode 100644 index 000000000000..3aaf73fb08a2 --- /dev/null +++ b/keyboards/qwertykeys/qk75/hotswap_ansi/info.json @@ -0,0 +1,127 @@ +{ + "keyboard_name": "QK75 ANSI", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3741", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], + "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B4", "pin_b": "B5", "resolution": 4} + ] + }, + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "encoder": true, + "nkro": true + }, + "qmk": { + "tap_keycode_delay": 10 + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_hot": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1.25, "y":0}, + {"matrix": [0, 2], "x":2.25, "y":0}, + {"matrix": [0, 3], "x":3.25, "y":0}, + {"matrix": [0, 4], "x":4.25, "y":0}, + {"matrix": [0, 5], "x":5.5, "y":0}, + {"matrix": [0, 6], "x":6.5, "y":0}, + {"matrix": [0, 7], "x":7.5, "y":0}, + {"matrix": [0, 8], "x":8.5, "y":0}, + {"matrix": [0, 9], "x":9.75, "y":0}, + {"matrix": [0, 10], "x":10.75, "y":0}, + {"matrix": [0, 11], "x":11.75, "y":0}, + {"matrix": [0, 12], "x":12.75, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15.25, "y":0}, + {"matrix": [4, 12], "x":16.25, "y":0}, + {"matrix": [4, 14], "x":17.25, "y":0}, + {"matrix": [1, 0], "x":0, "y":1.25}, + {"matrix": [1, 1], "x":1, "y":1.25}, + {"matrix": [1, 2], "x":2, "y":1.25}, + {"matrix": [1, 3], "x":3, "y":1.25}, + {"matrix": [1, 4], "x":4, "y":1.25}, + {"matrix": [1, 5], "x":5, "y":1.25}, + {"matrix": [1, 6], "x":6, "y":1.25}, + {"matrix": [1, 7], "x":7, "y":1.25}, + {"matrix": [1, 8], "x":8, "y":1.25}, + {"matrix": [1, 9], "x":9, "y":1.25}, + {"matrix": [1, 10], "x":10, "y":1.25}, + {"matrix": [1, 11], "x":11, "y":1.25}, + {"matrix": [1, 12], "x":12, "y":1.25}, + {"matrix": [2, 13], "x":13, "y":1.25}, + {"matrix": [1, 13], "x":14, "y":1.25}, + {"matrix": [1, 14], "x":15.25, "y":1.25}, + {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2.25}, + {"matrix": [2, 2], "x":2.5, "y":2.25}, + {"matrix": [2, 3], "x":3.5, "y":2.25}, + {"matrix": [2, 4], "x":4.5, "y":2.25}, + {"matrix": [2, 5], "x":5.5, "y":2.25}, + {"matrix": [2, 6], "x":6.5, "y":2.25}, + {"matrix": [2, 7], "x":7.5, "y":2.25}, + {"matrix": [2, 8], "x":8.5, "y":2.25}, + {"matrix": [2, 9], "x":9.5, "y":2.25}, + {"matrix": [2, 10], "x":10.5, "y":2.25}, + {"matrix": [2, 11], "x":11.5, "y":2.25}, + {"matrix": [2, 12], "x":12.5, "y":2.25}, + {"matrix": [3, 12], "x":13.5, "y":2.25, "w":1.5}, + {"matrix": [2, 14], "x":15.25, "y":2.25}, + {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3.25}, + {"matrix": [3, 2], "x":2.75, "y":3.25}, + {"matrix": [3, 3], "x":3.75, "y":3.25}, + {"matrix": [3, 4], "x":4.75, "y":3.25}, + {"matrix": [3, 5], "x":5.75, "y":3.25}, + {"matrix": [3, 6], "x":6.75, "y":3.25}, + {"matrix": [3, 7], "x":7.75, "y":3.25}, + {"matrix": [3, 8], "x":8.75, "y":3.25}, + {"matrix": [3, 9], "x":9.75, "y":3.25}, + {"matrix": [3, 10], "x":10.75, "y":3.25}, + {"matrix": [3, 11], "x":11.75, "y":3.25}, + {"matrix": [3, 13], "x":12.75, "y":2.25, "w":2.25}, + {"matrix": [3, 14], "x":15.25, "y":3.25}, + {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, + {"matrix": [4, 1], "x":2.25, "y":4.25}, + {"matrix": [4, 2], "x":3.25, "y":4.25}, + {"matrix": [4, 3], "x":4.25, "y":4.25}, + {"matrix": [4, 4], "x":5.25, "y":4.25}, + {"matrix": [4, 5], "x":6.25, "y":4.25}, + {"matrix": [4, 6], "x":7.25, "y":4.25}, + {"matrix": [4, 7], "x":8.25, "y":4.25}, + {"matrix": [4, 8], "x":9.25, "y":4.25}, + {"matrix": [4, 9], "x":10.25, "y":4.25}, + {"matrix": [4, 10], "x":11.25, "y":4.25}, + {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, + {"matrix": [4, 13], "x":14.25, "y":4.5}, + {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, + {"matrix": [5, 2], "x":1.25, "y":5.25, "w":1.25}, + {"matrix": [5, 3], "x":2.5, "y":5.25, "w":1.25}, + {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, + {"matrix": [5, 9], "x":10, "y":5.25, "w":1.25}, + {"matrix": [5, 10], "x":11.25, "y":5.25, "w":1.25}, + {"matrix": [5, 12], "x":12.75, "y":5.5}, + {"matrix": [5, 13], "x":13.75, "y":5.5}, + {"matrix": [5, 14], "x":14.75, "y":5.5} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c new file mode 100644 index 000000000000..e164e41ed3c8 --- /dev/null +++ b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c @@ -0,0 +1,55 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hot( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) + +}; + + +#ifdef ENCODER_ENABLE + bool encoder_update_user(uint8_t index, bool clockwise) { + + if (index == 0) { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); + } else { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); + } + } + return false; + } +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c new file mode 100644 index 000000000000..7adeb0cdd423 --- /dev/null +++ b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c @@ -0,0 +1,55 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_hot( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_hot( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) + +}; + + +#ifdef ENCODER_ENABLE + bool encoder_update_user(uint8_t index, bool clockwise) { + + if (index == 0) { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); + } else { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); + } + } + return false; + } +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/readme.md b/keyboards/qwertykeys/qk75/hotswap_ansi/readme.md new file mode 100644 index 000000000000..21ac520b30d0 --- /dev/null +++ b/keyboards/qwertykeys/qk75/hotswap_ansi/readme.md @@ -0,0 +1,21 @@ +# qk75 - ANSI PCB + +![qk75](https://i.imgur.com/h4YVgj2h.jpg) + +A 75% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk75 ANSI PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/9XL095J5zOzb + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk75/hotswap_ansi:default + +Flashing example for this keyboard: + + make qwertykeys/qk75/hotswap_ansi:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk b/keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/info.json b/keyboards/qwertykeys/qk75/solder/info.json new file mode 100644 index 000000000000..3fd76aa8bba7 --- /dev/null +++ b/keyboards/qwertykeys/qk75/solder/info.json @@ -0,0 +1,128 @@ +{ + "keyboard_name": "QK75 Solder", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3735", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], + "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B4", "pin_b": "B5", "resolution": 4} + ] + }, + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "encoder": true, + "nkro": true + }, + "qmk": { + "tap_keycode_delay": 10 + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "layouts": { + "LAYOUT_sol": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1.25, "y":0}, + {"matrix": [0, 2], "x":2.25, "y":0}, + {"matrix": [0, 3], "x":3.25, "y":0}, + {"matrix": [0, 4], "x":4.25, "y":0}, + {"matrix": [0, 5], "x":5.5, "y":0}, + {"matrix": [0, 6], "x":6.5, "y":0}, + {"matrix": [0, 7], "x":7.5, "y":0}, + {"matrix": [0, 8], "x":8.5, "y":0}, + {"matrix": [0, 9], "x":9.75, "y":0}, + {"matrix": [0, 10], "x":10.75, "y":0}, + {"matrix": [0, 11], "x":11.75, "y":0}, + {"matrix": [0, 12], "x":12.75, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15.25, "y":0}, + {"matrix": [4, 12], "x":16.25, "y":0}, + {"matrix": [4, 14], "x":17.25, "y":0}, + {"matrix": [1, 0], "x":0, "y":1.25}, + {"matrix": [1, 1], "x":1, "y":1.25}, + {"matrix": [1, 2], "x":2, "y":1.25}, + {"matrix": [1, 3], "x":3, "y":1.25}, + {"matrix": [1, 4], "x":4, "y":1.25}, + {"matrix": [1, 5], "x":5, "y":1.25}, + {"matrix": [1, 6], "x":6, "y":1.25}, + {"matrix": [1, 7], "x":7, "y":1.25}, + {"matrix": [1, 8], "x":8, "y":1.25}, + {"matrix": [1, 9], "x":9, "y":1.25}, + {"matrix": [1, 10], "x":10, "y":1.25}, + {"matrix": [1, 11], "x":11, "y":1.25}, + {"matrix": [1, 12], "x":12, "y":1.25}, + {"matrix": [2, 13], "x":13, "y":1.25}, + {"matrix": [1, 13], "x":14, "y":1.25}, + {"matrix": [1, 14], "x":15.25, "y":1.25}, + {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2.25}, + {"matrix": [2, 2], "x":2.5, "y":2.25}, + {"matrix": [2, 3], "x":3.5, "y":2.25}, + {"matrix": [2, 4], "x":4.5, "y":2.25}, + {"matrix": [2, 5], "x":5.5, "y":2.25}, + {"matrix": [2, 6], "x":6.5, "y":2.25}, + {"matrix": [2, 7], "x":7.5, "y":2.25}, + {"matrix": [2, 8], "x":8.5, "y":2.25}, + {"matrix": [2, 9], "x":9.5, "y":2.25}, + {"matrix": [2, 10], "x":10.5, "y":2.25}, + {"matrix": [2, 11], "x":11.5, "y":2.25}, + {"matrix": [2, 12], "x":12.5, "y":2.25}, + {"matrix": [2, 14], "x":15.25, "y":2.25}, + {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3.25}, + {"matrix": [3, 2], "x":2.75, "y":3.25}, + {"matrix": [3, 3], "x":3.75, "y":3.25}, + {"matrix": [3, 4], "x":4.75, "y":3.25}, + {"matrix": [3, 5], "x":5.75, "y":3.25}, + {"matrix": [3, 6], "x":6.75, "y":3.25}, + {"matrix": [3, 7], "x":7.75, "y":3.25}, + {"matrix": [3, 8], "x":8.75, "y":3.25}, + {"matrix": [3, 9], "x":9.75, "y":3.25}, + {"matrix": [3, 10], "x":10.75, "y":3.25}, + {"matrix": [3, 11], "x":11.75, "y":3.25}, + {"matrix": [3, 12], "x":12.75, "y":3.25}, + {"matrix": [3, 13], "x":13.75, "y":2.25, "w":1.25, "h":2}, + {"matrix": [3, 14], "x":15.25, "y":3.25}, + {"matrix": [4, 0], "x":0, "y":4.25, "w":1.25}, + {"matrix": [5, 1], "x":1.25, "y":4.25}, + {"matrix": [4, 1], "x":2.25, "y":4.25}, + {"matrix": [4, 2], "x":3.25, "y":4.25}, + {"matrix": [4, 3], "x":4.25, "y":4.25}, + {"matrix": [4, 4], "x":5.25, "y":4.25}, + {"matrix": [4, 5], "x":6.25, "y":4.25}, + {"matrix": [4, 6], "x":7.25, "y":4.25}, + {"matrix": [4, 7], "x":8.25, "y":4.25}, + {"matrix": [4, 8], "x":9.25, "y":4.25}, + {"matrix": [4, 9], "x":10.25, "y":4.25}, + {"matrix": [4, 10], "x":11.25, "y":4.25}, + {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, + {"matrix": [4, 13], "x":14.25, "y":4.5}, + {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, + {"matrix": [5, 2], "x":1.25, "y":5.25, "w":1.25}, + {"matrix": [5, 3], "x":2.5, "y":5.25, "w":1.25}, + {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, + {"matrix": [5, 9], "x":10, "y":5.25, "w":1.25}, + {"matrix": [5, 10], "x":11.25, "y":5.25, "w":1.25}, + {"matrix": [5, 12], "x":12.75, "y":5.5}, + {"matrix": [5, 13], "x":13.75, "y":5.5}, + {"matrix": [5, 14], "x":14.75, "y":5.5} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c b/keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c new file mode 100644 index 000000000000..b9c93d04474c --- /dev/null +++ b/keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c @@ -0,0 +1,55 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_sol( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_sol( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) + +}; + + +#ifdef ENCODER_ENABLE + bool encoder_update_user(uint8_t index, bool clockwise) { + + if (index == 0) { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); + } else { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); + } + } + return false; + } +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c b/keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c new file mode 100644 index 000000000000..b9c93d04474c --- /dev/null +++ b/keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c @@ -0,0 +1,55 @@ +/* +Copyright 2022 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_sol( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_sol( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) + +}; + + +#ifdef ENCODER_ENABLE + bool encoder_update_user(uint8_t index, bool clockwise) { + + if (index == 0) { + if (clockwise) { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); + } else { + tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); + } + } + return false; + } +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk b/keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/readme.md b/keyboards/qwertykeys/qk75/solder/readme.md new file mode 100644 index 000000000000..9e20b9c2f1bc --- /dev/null +++ b/keyboards/qwertykeys/qk75/solder/readme.md @@ -0,0 +1,21 @@ +# qk75 - Solder PCB + +![qk75](https://i.imgur.com/h4YVgj2h.jpg) + +A 75% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk75 solder PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/9XL095J5zOzb + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk75/solder:default + +Flashing example for this keyboard: + + make qwertykeys/qk75/solder:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/rules.mk b/keyboards/qwertykeys/qk75/solder/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk75/solder/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/ansi.c b/keyboards/qwertykeys/qk80/ansi/ansi.c new file mode 100644 index 000000000000..c7abd4db0807 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/ansi.c @@ -0,0 +1,218 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +#include "ansi.h" + +#ifdef RGB_MATRIX_ENABLE +const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { + {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ + {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ + {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ + {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ + {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ + {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ + {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ + {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ + {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ + {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ + {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ + {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ + {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ + {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB13-F13 */ + {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-PSc */ + {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB15-ScrLk */ + {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB16-Pause */ + + {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ + {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ + {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ + {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ + {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ + {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ + {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ + {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ + {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ + {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ + {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ + {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ + {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ + {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB30-BS */ + {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB31-Insert */ + {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB32-Home */ + {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB33-PageUp */ + + {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB34-TAB ----ROW2*/ + {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB35-Q */ + {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB36-W */ + {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB37-E */ + {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB38-R */ + {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB39-T */ + {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB40-Y */ + {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB41-U */ + {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB42-I */ + {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB43-O */ + {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB44-P */ + {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB45-[ */ + {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB46-] */ + {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB47-\ */ + {0, CS26_SW8, CS27_SW8, CS25_SW8}, /* RGB48-Delete */ + {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB49-End */ + {0, CS32_SW6, CS33_SW6, CS31_SW6}, /* RGB50-PageDown */ + + {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB51-CAPS---ROW3*/ + {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB52-A-- */ + {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB53-S-- */ + {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB54-D */ + {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB55-F */ + {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB56-G */ + {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB57-H */ + {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB58-J */ + {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB59-K */ + {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB60-L */ + {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB61-;: */ + {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB62-'" */ + {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB63-ENTER */ + + {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB64-LSF --ROW4*/ + {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB65-Z */ + {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB66-X */ + {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB67-C */ + {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB68-V */ + {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB69-B */ + {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB70-N */ + {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB71-M */ + {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB72-,< */ + {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB73->. */ + {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB74-?/ */ + {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB75-RSF */ + {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB76-UP */ + + {0, CS2_SW6, CS3_SW6, CS1_SW6}, /* RGB77-lct-- ROW5*/ + {0, CS5_SW6, CS6_SW6, CS4_SW6}, /* RGB78-lwin */ + {0, CS8_SW6, CS9_SW6, CS7_SW6}, /* RGB79-lalt */ + {0, CS14_SW6, CS15_SW6, CS13_SW6}, /* RGB80-sp */ + {0, CS23_SW6, CS24_SW6, CS22_SW6}, /* RGB81-rwin */ + {0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB82-FN */ + {0, CS29_SW6, CS30_SW6, CS28_SW6}, /* RGB83-rctL */ + {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB84-left */ + {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB85-down */ + {0, CS29_SW9, CS30_SW9, CS28_SW9} /* RGB86-right */ +}; + +led_config_t g_led_config = { { + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }, + { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 15 }, + { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 16 }, + { 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 31, 32 }, + { 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 33, 48, 49 }, + { 77, 78, 79, NO_LED,80, NO_LED,NO_LED, 81, 82, 83, 50, 76, 84, 85, 86 } +}, { + // LED Index to Physical Position + { 0, 0 }, { 14, 0 }, { 28, 0 }, { 42, 0 }, { 56, 0 }, { 70, 0 }, { 84, 0 }, { 98, 0 }, { 112, 0 }, { 126, 0 }, { 140, 0 }, { 154, 0 }, { 168, 0 }, { 182, 0 }, { 196, 0 }, { 210, 0 }, { 224, 0 }, + { 0, 13 }, { 14, 13 }, { 28, 13 }, { 42, 13 }, { 56, 13 }, { 70, 13 }, { 84, 13}, { 98, 13 }, { 112, 13 }, { 126, 13 }, { 140, 13 }, { 154, 13 }, { 168, 13 }, { 182, 13 }, { 196, 13 }, { 210, 13 },{ 224, 13 }, + { 0, 26 }, { 14, 26 }, { 28, 26 }, { 42, 26 }, { 56, 26 }, { 70, 26 }, { 84, 26 }, { 98, 26 }, { 112, 26 }, { 126, 26 }, { 140, 26 }, { 154, 26 }, { 168, 26 }, { 182, 26 }, { 196, 26 }, { 210, 26 },{ 224, 26 }, + { 0, 39 }, { 14, 39 }, { 28, 39 }, { 42, 39 }, { 56, 39 }, { 70, 39 }, { 84, 39 }, { 98, 39 }, { 112, 39 }, { 126, 39 }, { 140, 39 }, { 154, 39 }, { 182, 39 }, + { 0, 52 }, { 14, 52 }, { 28, 52 }, { 42, 52 }, { 56, 52 }, { 70, 52 }, { 84, 52 }, { 98, 52 }, { 112, 52 }, { 126, 52 }, { 140, 52 }, { 182, 52 }, { 210, 52 }, + { 0, 64 }, { 14, 64 }, { 28, 64 }, { 70, 64 }, { 126, 64 }, { 140, 64 }, { 182, 64 }, { 196, 64 }, { 210, 64 },{ 224, 64 } +}, { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, + 1, 1, 1, 4, 1, 1, 1, 1, 1, 1 + } +}; + + + + +bool process_record_kb(uint16_t keycode, keyrecord_t *record) { + if (record->event.pressed) { + switch(keycode) { + + case KC_F14: + rgb_matrix_toggle(); + break; + + case KC_F15: + rgb_matrix_step(); + break; + + case KC_F16: + rgb_matrix_step_reverse(); + break; + + case KC_F17: + rgb_matrix_increase_hue(); //Increase the hue for effect range LEDs + break; + + case KC_F18: + rgb_matrix_decrease_hue(); //Decrease the hue for effect range LEDs + break; + + case KC_F19: + rgb_matrix_increase_sat(); //Increase the saturation for effect range LEDs + break; + + case KC_F20: + rgb_matrix_decrease_sat(); //Decrease the saturation for effect range LEDs + break; + + case KC_F21: + rgb_matrix_increase_val(); //Increase the value for effect range LEDs + break; + + case KC_F22: + rgb_matrix_decrease_val();//Decrease the value for effect range LEDs + break; + + case KC_F23: + rgb_matrix_increase_speed();//Increase the speed of the animations + break; + + case KC_F24: + rgb_matrix_decrease_speed();//Decrease the speed of the animations + break; + + default: + break; + } + } + return process_record_user(keycode, record); +} + +void suspend_power_down_kb(void) { + rgb_matrix_set_suspend_state(true); + suspend_power_down_user(); +} + +void suspend_wakeup_init_kb(void) { + rgb_matrix_set_suspend_state(false); + suspend_wakeup_init_user(); +} + + +bool rgb_matrix_indicators_kb(void) { + if (!rgb_matrix_indicators_user()) { + return false; + } + if (host_keyboard_led_state().caps_lock) { + rgb_matrix_set_color(51, 0xFF, 0xFF, 0xFF); + } + return true; +} +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/ansi.h b/keyboards/qwertykeys/qk80/ansi/ansi.h new file mode 100644 index 000000000000..6c52248e530a --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/ansi.h @@ -0,0 +1,20 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "quantum.h" \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/chconf.h b/keyboards/qwertykeys/qk80/ansi/chconf.h new file mode 100644 index 000000000000..de4ca4e30467 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/chconf.h @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#define CH_CFG_ST_TIMEDELTA 0 + +#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/config.h b/keyboards/qwertykeys/qk80/ansi/config.h new file mode 100644 index 000000000000..0f1c038cb2c4 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/config.h @@ -0,0 +1,48 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +# define RGBLIGHT_DEFAULT_VAL 50 +# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 +# define RGBLIGHT_SLEEP +/*== customize breathing effect ==*/ +# define RGBLIGHT_BREATHE_TABLE_SIZE 256 +# define RGBLIGHT_EFFECT_BREATHE_MAX 100 + + +/* RGB matrix */ +#ifdef RGB_MATRIX_ENABLE +// i2c setting +#define USE_I2CV1 +#define I2C1_SCL 8 +#define I2C1_SDA 9 +#define I2C1_CLOCK_SPEED 400000 +#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 +# define RGB_MATRIX_DISABLE_KEYCODES +# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects +# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended +# define RGB_MATRIX_KEYPRESSES // reacts to keypresses +# define RGB_MATRIX_LED_PROCESS_LIMIT 4 +# define RGB_MATRIX_LED_FLUSH_LIMIT 26 +# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 +# define RGB_MATRIX_STARTUP_VAL 128 +# define DRIVER_ADDR_1 0b0110000 +# define DRIVER_COUNT 1 +# define RGB_MATRIX_LED_COUNT 87 + +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/halconf.h b/keyboards/qwertykeys/qk80/ansi/halconf.h new file mode 100644 index 000000000000..f3361ffdc259 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/halconf.h @@ -0,0 +1,26 @@ +/* +* Copyright 2023 Qwertykeys +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +*/ + +#pragma once + +#define HAL_USE_I2C TRUE + +#define HAL_USE_SPI TRUE + +#define HAL_USE_PWM TRUE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/info.json b/keyboards/qwertykeys/qk80/ansi/info.json new file mode 100644 index 000000000000..889f874e2f35 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/info.json @@ -0,0 +1,188 @@ +{ + "keyboard_name": "QK80 ANSI", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3830", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], + "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgblight": true, + "nkro": true, + "rgb_matrix": true + }, + "rgb_matrix": { + "driver": "IS31FL3741", + "max_brightness": 200, + "animations": { + "solid_color": true, + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_sat": true, + "band_val": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "rainbow_moving_chevron": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_fractal": true, + "pixel_flow": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive": true, + "solid_reactive_wide": true, + "solid_reactive_multiwide": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_nexus": true, + "solid_reactive_multinexus": true, + "splash": true, + "multisplash": true, + "solid_splash": true, + "solid_multisplash": true + } + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "ws2812": { + "pin": "B5" + }, + "rgblight": { + "animations": { + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "static_gradient": true + }, + "brightness_steps": 10, + "saturation_steps": 8, + "led_count": 7, + "max_brightness": 100 + + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1.25, "y":0}, + {"matrix": [0, 2], "x":2.25, "y":0}, + {"matrix": [0, 3], "x":3.25, "y":0}, + {"matrix": [0, 4], "x":4.25, "y":0}, + {"matrix": [0, 5], "x":5.5, "y":0}, + {"matrix": [0, 6], "x":6.5, "y":0}, + {"matrix": [0, 7], "x":7.5, "y":0}, + {"matrix": [0, 8], "x":8.5, "y":0}, + {"matrix": [0, 9], "x":9.75, "y":0}, + {"matrix": [0, 10], "x":10.75, "y":0}, + {"matrix": [0, 11], "x":11.75, "y":0}, + {"matrix": [0, 12], "x":12.75, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15.25, "y":0}, + {"matrix": [1, 14], "x":16.25, "y":0}, + {"matrix": [2, 14], "x":17.25, "y":0}, + {"matrix": [1, 0], "x":0, "y":1.25}, + {"matrix": [1, 1], "x":1, "y":1.25}, + {"matrix": [1, 2], "x":2, "y":1.25}, + {"matrix": [1, 3], "x":3, "y":1.25}, + {"matrix": [1, 4], "x":4, "y":1.25}, + {"matrix": [1, 5], "x":5, "y":1.25}, + {"matrix": [1, 6], "x":6, "y":1.25}, + {"matrix": [1, 7], "x":7, "y":1.25}, + {"matrix": [1, 8], "x":8, "y":1.25}, + {"matrix": [1, 9], "x":9, "y":1.25}, + {"matrix": [1, 10], "x":10, "y":1.25}, + {"matrix": [1, 11], "x":11, "y":1.25}, + {"matrix": [1, 12], "x":12, "y":1.25}, + {"matrix": [1, 13], "x":13, "y":1.25, "w":2}, + {"matrix": [3, 13], "x":15.25, "y":1.25}, + {"matrix": [3, 14], "x":16.25, "y":1.25}, + {"matrix": [4, 12], "x":17.25, "y":1.25}, + {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2.25}, + {"matrix": [2, 2], "x":2.5, "y":2.25}, + {"matrix": [2, 3], "x":3.5, "y":2.25}, + {"matrix": [2, 4], "x":4.5, "y":2.25}, + {"matrix": [2, 5], "x":5.5, "y":2.25}, + {"matrix": [2, 6], "x":6.5, "y":2.25}, + {"matrix": [2, 7], "x":7.5, "y":2.25}, + {"matrix": [2, 8], "x":8.5, "y":2.25}, + {"matrix": [2, 9], "x":9.5, "y":2.25}, + {"matrix": [2, 10], "x":10.5, "y":2.25}, + {"matrix": [2, 11], "x":11.5, "y":2.25}, + {"matrix": [2, 12], "x":12.5, "y":2.25}, + {"matrix": [2, 13], "x":13.5, "y":2.25, "w":1.5}, + {"matrix": [4, 13], "x":15.25, "y":2.25}, + {"matrix": [4, 14], "x":16.25, "y":2.25}, + {"matrix": [5, 10], "x":17.25, "y":2.25}, + {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3.25}, + {"matrix": [3, 2], "x":2.75, "y":3.25}, + {"matrix": [3, 3], "x":3.75, "y":3.25}, + {"matrix": [3, 4], "x":4.75, "y":3.25}, + {"matrix": [3, 5], "x":5.75, "y":3.25}, + {"matrix": [3, 6], "x":6.75, "y":3.25}, + {"matrix": [3, 7], "x":7.75, "y":3.25}, + {"matrix": [3, 8], "x":8.75, "y":3.25}, + {"matrix": [3, 9], "x":9.75, "y":3.25}, + {"matrix": [3, 10], "x":10.75, "y":3.25}, + {"matrix": [3, 11], "x":11.75, "y":3.25}, + {"matrix": [3, 12], "x":12.75, "y":3.25, "w":2.25}, + {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, + {"matrix": [4, 1], "x":2.25, "y":4.25}, + {"matrix": [4, 2], "x":3.25, "y":4.25}, + {"matrix": [4, 3], "x":4.25, "y":4.25}, + {"matrix": [4, 4], "x":5.25, "y":4.25}, + {"matrix": [4, 5], "x":6.25, "y":4.25}, + {"matrix": [4, 6], "x":7.25, "y":4.25}, + {"matrix": [4, 7], "x":8.25, "y":4.25}, + {"matrix": [4, 8], "x":9.25, "y":4.25}, + {"matrix": [4, 9], "x":10.25, "y":4.25}, + {"matrix": [4, 10], "x":11.25, "y":4.25}, + {"matrix": [4, 11], "x":12.25, "y":4.25, "w":2.75}, + {"matrix": [5, 11], "x":16.25, "y":4.25}, + {"matrix": [5, 0], "x":0, "y":5.25, "w":1.5}, + {"matrix": [5, 1], "x":1.5, "y":5.25}, + {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.5}, + {"matrix": [5, 4], "x":4, "y":5.25, "w":7}, + {"matrix": [5, 7], "x":11, "y":5.25, "w":1.5}, + {"matrix": [5, 8], "x":12.5, "y":5.25}, + {"matrix": [5, 9], "x":13.5, "y":5.25, "w":1.5}, + {"matrix": [5, 12], "x":15.25, "y":5.25}, + {"matrix": [5, 13], "x":16.25, "y":5.25}, + {"matrix": [5, 14], "x":17.25, "y":5.25} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c new file mode 100644 index 000000000000..be6daa7bf32f --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + [1] = LAYOUT( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c new file mode 100644 index 000000000000..be6daa7bf32f --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + [1] = LAYOUT( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk b/keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk new file mode 100644 index 000000000000..43061db1dd46 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/mcuconf.h b/keyboards/qwertykeys/qk80/ansi/mcuconf.h new file mode 100644 index 000000000000..4df4dc28b748 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/mcuconf.h @@ -0,0 +1,29 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include_next + +/* + * I2C driver system settings. + */ +#undef STM32_I2C_USE_I2C1 +#define STM32_I2C_USE_I2C1 TRUE + + +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/readme.md b/keyboards/qwertykeys/qk80/ansi/readme.md new file mode 100644 index 000000000000..534777147e31 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/readme.md @@ -0,0 +1,21 @@ +# qk80 - ANSI PCB + +![qk80](https://i.imgur.com/qSXHoWyh.jpg) + +A 80% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk80 ANSI PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/AoBGOwZMOmwa + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk80/ansi:default + +Flashing example for this keyboard: + + make qwertykeys/qk80/ansi:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/rules.mk b/keyboards/qwertykeys/qk80/ansi/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c b/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c new file mode 100644 index 000000000000..028dc6ea546d --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c @@ -0,0 +1,220 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +#include "ansi_625u.h" + +#ifdef RGB_MATRIX_ENABLE +const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { + {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ + {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ + {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ + {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ + {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ + {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ + {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ + {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ + {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ + {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ + {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ + {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ + {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ + {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB13-F13 */ + {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-PSc */ + {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB15-ScrLk */ + {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB16-Pause */ + + {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ + {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ + {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ + {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ + {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ + {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ + {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ + {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ + {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ + {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ + {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ + {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ + {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ + {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB30-BS */ + {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB31-Insert */ + {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB32-Home */ + {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB33-PageUp */ + + {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB34-TAB ----ROW2*/ + {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB35-Q */ + {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB36-W */ + {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB37-E */ + {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB38-R */ + {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB39-T */ + {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB40-Y */ + {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB41-U */ + {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB42-I */ + {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB43-O */ + {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB44-P */ + {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB45-[ */ + {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB46-] */ + {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB47-\ */ + {0, CS26_SW8, CS27_SW8, CS25_SW8}, /* RGB48-Delete */ + {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB49-End */ + {0, CS32_SW6, CS33_SW6, CS31_SW6}, /* RGB50-PageDown */ + + {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB51-CAPS---ROW3*/ + {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB52-A-- */ + {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB53-S-- */ + {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB54-D */ + {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB55-F */ + {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB56-G */ + {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB57-H */ + {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB58-J */ + {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB59-K */ + {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB60-L */ + {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB61-;: */ + {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB62-'" */ + {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB63-ENTER */ + + {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB64-LSF --ROW4*/ + {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB65-Z */ + {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB66-X */ + {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB67-C */ + {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB68-V */ + {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB69-B */ + {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB70-N */ + {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB71-M */ + {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB72-,< */ + {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB73->. */ + {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB74-?/ */ + {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB75-RSF */ + {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB76-UP */ + + {0, CS3_SW6, CS2_SW6, CS1_SW6}, /* RGB77-lct-- ROW5*/ + {0, CS6_SW6, CS5_SW6, CS4_SW6}, /* RGB78-lwin */ + {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB79-lalt */ + {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB80-sp */ + {0, CS20_SW6, CS21_SW6, CS19_SW6}, /* RGB81-ralt */ + {0, CS23_SW6, CS24_SW6, CS22_SW6}, /* RGB82-rwin */ + {0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB83-FN */ + {0, CS29_SW6, CS30_SW6, CS28_SW6}, /* RGB84-rctL */ + {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB85-left */ + {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB86-down */ + {0, CS29_SW9, CS30_SW9, CS28_SW9} /* RGB87-right */ +}; + +led_config_t g_led_config = { { + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }, + { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 15 }, + { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 16 }, + { 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 31, 32 }, + { 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 33, 48, 49 }, + { 77, 78, 79, NO_LED,80, NO_LED,81, 82, 83, 84, 50, 76, 85, 86, 87 } +}, { + // LED Index to Physical Position + { 0, 0 }, { 14, 0 }, { 28, 0 }, { 42, 0 }, { 56, 0 }, { 70, 0 }, { 84, 0 }, { 98, 0 }, { 112, 0 }, { 126, 0 }, { 140, 0 }, { 154, 0 }, { 168, 0 }, { 182, 0 }, { 196, 0 }, { 210, 0 }, { 224, 0 }, + { 0, 13 }, { 14, 13 }, { 28, 13 }, { 42, 13 }, { 56, 13 }, { 70, 13 }, { 84, 13}, { 98, 13 }, { 112, 13 }, { 126, 13 }, { 140, 13 }, { 154, 13 }, { 168, 13 }, { 182, 13 }, { 196, 13 }, { 210, 13 },{ 224, 13 }, + { 0, 26 }, { 14, 26 }, { 28, 26 }, { 42, 26 }, { 56, 26 }, { 70, 26 }, { 84, 26 }, { 98, 26 }, { 112, 26 }, { 126, 26 }, { 140, 26 }, { 154, 26 }, { 168, 26 }, { 182, 26 }, { 196, 26 }, { 210, 26 },{ 224, 26 }, + { 0, 39 }, { 14, 39 }, { 28, 39 }, { 42, 39 }, { 56, 39 }, { 70, 39 }, { 84, 39 }, { 98, 39 }, { 112, 39 }, { 126, 39 }, { 140, 39 }, { 154, 39 }, { 182, 39 }, + { 0, 52 }, { 14, 52 }, { 28, 52 }, { 42, 52 }, { 56, 52 }, { 70, 52 }, { 84, 52 }, { 98, 52 }, { 112, 52 }, { 126, 52 }, { 140, 52 }, { 182, 52 }, { 210, 52 }, + { 0, 64 }, { 14, 64 }, { 28, 64 }, { 70, 64 }, { 112, 64 }, { 126, 64 }, { 140, 64 }, { 182, 64 }, { 196, 64 }, { 210, 64 },{ 224, 64 } +}, { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, + 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1 + } +}; + + + + +bool process_record_kb(uint16_t keycode, keyrecord_t *record) { + if (record->event.pressed) { + switch(keycode) { + + case KC_F14: + rgb_matrix_toggle(); //rgb 矩阵开关 + break; + + case KC_F15: + rgb_matrix_step(); //rgb向后切换animation模式 + break; + + case KC_F16: + rgb_matrix_step_reverse(); //rgb向前切换animation模式 + break; + + case KC_F17: + rgb_matrix_increase_hue(); //Increase the hue for effect range LEDs + break; + + case KC_F18: + rgb_matrix_decrease_hue(); //Decrease the hue for effect range LEDs + break; + + case KC_F19: + rgb_matrix_increase_sat(); //Increase the saturation for effect range LEDs + break; + + case KC_F20: + rgb_matrix_decrease_sat(); //Decrease the saturation for effect range LEDs + break; + + case KC_F21: + rgb_matrix_increase_val(); //Increase the value for effect range LEDs + break; + + case KC_F22: + rgb_matrix_decrease_val();//Decrease the value for effect range LEDs + break; + + case KC_F23: + rgb_matrix_increase_speed();//Increase the speed of the animations + break; + + case KC_F24: + rgb_matrix_decrease_speed();//Decrease the speed of the animations + break; + + default: + break; + } + } + return process_record_user(keycode, record); +} + +void suspend_power_down_kb(void) { + rgb_matrix_set_suspend_state(true); + suspend_power_down_user(); +} + +void suspend_wakeup_init_kb(void) { + rgb_matrix_set_suspend_state(false); + suspend_wakeup_init_user(); +} + + +bool rgb_matrix_indicators_kb(void) { + if (!rgb_matrix_indicators_user()) { + return false; + } + if (host_keyboard_led_state().caps_lock) { + rgb_matrix_set_color(51, 0xFF, 0xFF, 0xFF); + } + return true; +} + +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h b/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h new file mode 100644 index 000000000000..6c52248e530a --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h @@ -0,0 +1,20 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "quantum.h" \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/chconf.h b/keyboards/qwertykeys/qk80/ansi_625u/chconf.h new file mode 100644 index 000000000000..fe025b9cc55b --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/chconf.h @@ -0,0 +1,23 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#define CH_CFG_ST_TIMEDELTA 0 + +#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/config.h b/keyboards/qwertykeys/qk80/ansi_625u/config.h new file mode 100644 index 000000000000..7122f04828ca --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/config.h @@ -0,0 +1,47 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +# define RGBLIGHT_DEFAULT_VAL 50 +# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 +# define RGBLIGHT_SLEEP +/*== customize breathing effect ==*/ +# define RGBLIGHT_BREATHE_TABLE_SIZE 256 +# define RGBLIGHT_EFFECT_BREATHE_MAX 100 + + +/* RGB matrix */ +#ifdef RGB_MATRIX_ENABLE +// i2c setting +#define USE_I2CV1 +#define I2C1_SCL 8 +#define I2C1_SDA 9 +#define I2C1_CLOCK_SPEED 400000 +#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 +# define RGB_MATRIX_DISABLE_KEYCODES +# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects +# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended +# define RGB_MATRIX_KEYPRESSES // reacts to keypresses +# define RGB_MATRIX_LED_PROCESS_LIMIT 4 +# define RGB_MATRIX_LED_FLUSH_LIMIT 26 +# define RGB_MATRIX_STARTUP_VAL 128 +# define DRIVER_ADDR_1 0b0110000 +# define DRIVER_COUNT 1 +# define RGB_MATRIX_LED_COUNT 88 + +#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/halconf.h b/keyboards/qwertykeys/qk80/ansi_625u/halconf.h new file mode 100644 index 000000000000..23cdfa6574c7 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/halconf.h @@ -0,0 +1,25 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#define HAL_USE_I2C TRUE + +#define HAL_USE_SPI TRUE + +#define HAL_USE_PWM TRUE + +#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/info.json b/keyboards/qwertykeys/qk80/ansi_625u/info.json new file mode 100644 index 000000000000..0d6028e46f22 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/info.json @@ -0,0 +1,188 @@ +{ + "keyboard_name": "QK80 625U ANSI", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3831", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], + "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgblight": true, + "nkro": true, + "rgb_matrix": true + }, + "rgb_matrix": { + "driver": "IS31FL3741", + "max_brightness": 200, + "animations": { + "solid_color": true, + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_sat": true, + "band_val": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "rainbow_moving_chevron": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_fractal": true, + "pixel_flow": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive": true, + "solid_reactive_wide": true, + "solid_reactive_multiwide": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_nexus": true, + "solid_reactive_multinexus": true, + "splash": true, + "multisplash": true, + "solid_splash": true, + "solid_multisplash": true + } + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "ws2812": { + "pin": "B5" + }, + "rgblight": { + "animations": { + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "static_gradient": true + }, + "brightness_steps": 10, + "saturation_steps": 8, + "led_count": 7, + "max_brightness": 100 + }, + "layouts": { + "LAYOUT_625": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1.25, "y":0}, + {"matrix": [0, 2], "x":2.25, "y":0}, + {"matrix": [0, 3], "x":3.25, "y":0}, + {"matrix": [0, 4], "x":4.25, "y":0}, + {"matrix": [0, 5], "x":5.5, "y":0}, + {"matrix": [0, 6], "x":6.5, "y":0}, + {"matrix": [0, 7], "x":7.5, "y":0}, + {"matrix": [0, 8], "x":8.5, "y":0}, + {"matrix": [0, 9], "x":9.75, "y":0}, + {"matrix": [0, 10], "x":10.75, "y":0}, + {"matrix": [0, 11], "x":11.75, "y":0}, + {"matrix": [0, 12], "x":12.75, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15.25, "y":0}, + {"matrix": [1, 14], "x":16.25, "y":0}, + {"matrix": [2, 14], "x":17.25, "y":0}, + {"matrix": [1, 0], "x":0, "y":1.25}, + {"matrix": [1, 1], "x":1, "y":1.25}, + {"matrix": [1, 2], "x":2, "y":1.25}, + {"matrix": [1, 3], "x":3, "y":1.25}, + {"matrix": [1, 4], "x":4, "y":1.25}, + {"matrix": [1, 5], "x":5, "y":1.25}, + {"matrix": [1, 6], "x":6, "y":1.25}, + {"matrix": [1, 7], "x":7, "y":1.25}, + {"matrix": [1, 8], "x":8, "y":1.25}, + {"matrix": [1, 9], "x":9, "y":1.25}, + {"matrix": [1, 10], "x":10, "y":1.25}, + {"matrix": [1, 11], "x":11, "y":1.25}, + {"matrix": [1, 12], "x":12, "y":1.25}, + {"matrix": [1, 13], "x":13, "y":1.25, "w":2}, + {"matrix": [3, 13], "x":15.25, "y":1.25}, + {"matrix": [3, 14], "x":16.25, "y":1.25}, + {"matrix": [4, 12], "x":17.25, "y":1.25}, + {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2.25}, + {"matrix": [2, 2], "x":2.5, "y":2.25}, + {"matrix": [2, 3], "x":3.5, "y":2.25}, + {"matrix": [2, 4], "x":4.5, "y":2.25}, + {"matrix": [2, 5], "x":5.5, "y":2.25}, + {"matrix": [2, 6], "x":6.5, "y":2.25}, + {"matrix": [2, 7], "x":7.5, "y":2.25}, + {"matrix": [2, 8], "x":8.5, "y":2.25}, + {"matrix": [2, 9], "x":9.5, "y":2.25}, + {"matrix": [2, 10], "x":10.5, "y":2.25}, + {"matrix": [2, 11], "x":11.5, "y":2.25}, + {"matrix": [2, 12], "x":12.5, "y":2.25}, + {"matrix": [2, 13], "x":13.5, "y":2.25, "w":1.5}, + {"matrix": [4, 13], "x":15.25, "y":2.25}, + {"matrix": [4, 14], "x":16.25, "y":2.25}, + {"matrix": [5, 10], "x":17.25, "y":2.25}, + {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3.25}, + {"matrix": [3, 2], "x":2.75, "y":3.25}, + {"matrix": [3, 3], "x":3.75, "y":3.25}, + {"matrix": [3, 4], "x":4.75, "y":3.25}, + {"matrix": [3, 5], "x":5.75, "y":3.25}, + {"matrix": [3, 6], "x":6.75, "y":3.25}, + {"matrix": [3, 7], "x":7.75, "y":3.25}, + {"matrix": [3, 8], "x":8.75, "y":3.25}, + {"matrix": [3, 9], "x":9.75, "y":3.25}, + {"matrix": [3, 10], "x":10.75, "y":3.25}, + {"matrix": [3, 11], "x":11.75, "y":3.25}, + {"matrix": [3, 12], "x":12.75, "y":3.25, "w":2.25}, + {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, + {"matrix": [4, 1], "x":2.25, "y":4.25}, + {"matrix": [4, 2], "x":3.25, "y":4.25}, + {"matrix": [4, 3], "x":4.25, "y":4.25}, + {"matrix": [4, 4], "x":5.25, "y":4.25}, + {"matrix": [4, 5], "x":6.25, "y":4.25}, + {"matrix": [4, 6], "x":7.25, "y":4.25}, + {"matrix": [4, 7], "x":8.25, "y":4.25}, + {"matrix": [4, 8], "x":9.25, "y":4.25}, + {"matrix": [4, 9], "x":10.25, "y":4.25}, + {"matrix": [4, 10], "x":11.25, "y":4.25}, + {"matrix": [4, 11], "x":12.25, "y":4.25, "w":2.75}, + {"matrix": [5, 11], "x":16.25, "y":4.25}, + {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, + {"matrix": [5, 1], "x":1.25, "y":5.25, "w":1.25}, + {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.25}, + {"matrix": [5, 4], "x":3.75, "y":5.25, "w":6.25}, + {"matrix": [5, 6], "x":10, "y":5.25, "w":1.25}, + {"matrix": [5, 7], "x":11.25, "y":5.25, "w":1.25}, + {"matrix": [5, 8], "x":12.5, "y":5.25, "w":1.25}, + {"matrix": [5, 9], "x":13.75, "y":5.25, "w":1.25}, + {"matrix": [5, 12], "x":15.25, "y":5.25}, + {"matrix": [5, 13], "x":16.25, "y":5.25}, + {"matrix": [5, 14], "x":17.25, "y":5.25} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c new file mode 100644 index 000000000000..2588cea10a21 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT_625( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT + ), + [1] = LAYOUT_625( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c new file mode 100644 index 000000000000..2588cea10a21 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT_625( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT + ), + [1] = LAYOUT_625( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk new file mode 100644 index 000000000000..36b7ba9cbc98 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h b/keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h new file mode 100644 index 000000000000..3e2522755b6a --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h @@ -0,0 +1,30 @@ +/* Copyright 2023 Qwertykeys + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include_next + +/* + * I2C driver system settings. + */ +#undef STM32_I2C_USE_I2C1 +#define STM32_I2C_USE_I2C1 TRUE + + + +#undef STM32_PWM_USE_TIM1 +#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/readme.md b/keyboards/qwertykeys/qk80/ansi_625u/readme.md new file mode 100644 index 000000000000..1a3c725a9cc6 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/readme.md @@ -0,0 +1,21 @@ +# qk80 - 625U ANSI PCB + +![qk80](https://i.imgur.com/qSXHoWyh.jpg) + +A 80% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk80 625U ANSI PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/AoBGOwZMOmwa + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk80/ansi_625u:default + +Flashing example for this keyboard: + + make qwertykeys/qk80/ansi_625u:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/rules.mk b/keyboards/qwertykeys/qk80/ansi_625u/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk80/ansi_625u/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/config.h b/keyboards/qwertykeys/qk80/solder/config.h new file mode 100644 index 000000000000..9df446cb05df --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/config.h @@ -0,0 +1,22 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +# define RGBLIGHT_DEFAULT_VAL 50 +# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL+5 +# define RGBLIGHT_SLEEP \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/info.json b/keyboards/qwertykeys/qk80/solder/info.json new file mode 100644 index 000000000000..7737729a51ba --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/info.json @@ -0,0 +1,143 @@ +{ + "keyboard_name": "QK80 Solder", + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53", + "pid": "0x3853", + "device_version": "0.0.1" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], + "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] + }, + "diode_direction": "COL2ROW", + "indicators": { + "caps_lock": "A0", + "on_state": 0 + }, + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgblight": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "ws2812": { + "pin": "B3" + }, + "rgblight": { + "animations": { + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "static_gradient": true + }, + "brightness_steps": 10, + "saturation_steps": 8, + "led_count": 7, + "max_brightness": 100 + + }, + "layouts": { + "LAYOUT_sol": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1.25, "y":0}, + {"matrix": [0, 2], "x":2.25, "y":0}, + {"matrix": [0, 3], "x":3.25, "y":0}, + {"matrix": [0, 4], "x":4.25, "y":0}, + {"matrix": [0, 5], "x":5.5, "y":0}, + {"matrix": [0, 6], "x":6.5, "y":0}, + {"matrix": [0, 7], "x":7.5, "y":0}, + {"matrix": [0, 8], "x":8.5, "y":0}, + {"matrix": [0, 9], "x":9.75, "y":0}, + {"matrix": [0, 10], "x":10.75, "y":0}, + {"matrix": [0, 11], "x":11.75, "y":0}, + {"matrix": [0, 12], "x":12.75, "y":0}, + {"matrix": [0, 13], "x":14, "y":0}, + {"matrix": [0, 14], "x":15.25, "y":0}, + {"matrix": [1, 14], "x":16.25, "y":0}, + {"matrix": [2, 14], "x":17.25, "y":0}, + {"matrix": [1, 0], "x":0, "y":1.25}, + {"matrix": [1, 1], "x":1, "y":1.25}, + {"matrix": [1, 2], "x":2, "y":1.25}, + {"matrix": [1, 3], "x":3, "y":1.25}, + {"matrix": [1, 4], "x":4, "y":1.25}, + {"matrix": [1, 5], "x":5, "y":1.25}, + {"matrix": [1, 6], "x":6, "y":1.25}, + {"matrix": [1, 7], "x":7, "y":1.25}, + {"matrix": [1, 8], "x":8, "y":1.25}, + {"matrix": [1, 9], "x":9, "y":1.25}, + {"matrix": [1, 10], "x":10, "y":1.25}, + {"matrix": [1, 11], "x":11, "y":1.25}, + {"matrix": [1, 12], "x":12, "y":1.25}, + {"matrix": [2, 13], "x":13, "y":1.25}, + {"matrix": [1, 13], "x":14, "y":1.25}, + {"matrix": [3, 13], "x":15.25, "y":1.25}, + {"matrix": [3, 14], "x":16.25, "y":1.25}, + {"matrix": [4, 12], "x":17.25, "y":1.25}, + {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2.25}, + {"matrix": [2, 2], "x":2.5, "y":2.25}, + {"matrix": [2, 3], "x":3.5, "y":2.25}, + {"matrix": [2, 4], "x":4.5, "y":2.25}, + {"matrix": [2, 5], "x":5.5, "y":2.25}, + {"matrix": [2, 6], "x":6.5, "y":2.25}, + {"matrix": [2, 7], "x":7.5, "y":2.25}, + {"matrix": [2, 8], "x":8.5, "y":2.25}, + {"matrix": [2, 9], "x":9.5, "y":2.25}, + {"matrix": [2, 10], "x":10.5, "y":2.25}, + {"matrix": [2, 11], "x":11.5, "y":2.25}, + {"matrix": [2, 12], "x":12.5, "y":2.25}, + {"matrix": [4, 13], "x":15.25, "y":2.25}, + {"matrix": [4, 14], "x":16.25, "y":2.25}, + {"matrix": [5, 10], "x":17.25, "y":2.25}, + {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3.25}, + {"matrix": [3, 2], "x":2.75, "y":3.25}, + {"matrix": [3, 3], "x":3.75, "y":3.25}, + {"matrix": [3, 4], "x":4.75, "y":3.25}, + {"matrix": [3, 5], "x":5.75, "y":3.25}, + {"matrix": [3, 6], "x":6.75, "y":3.25}, + {"matrix": [3, 7], "x":7.75, "y":3.25}, + {"matrix": [3, 8], "x":8.75, "y":3.25}, + {"matrix": [3, 9], "x":9.75, "y":3.25}, + {"matrix": [3, 10], "x":10.75, "y":3.25}, + {"matrix": [3, 11], "x":11.75, "y":3.25}, + {"matrix": [5, 6], "x":12.75, "y":3.25}, + {"matrix": [3, 12], "x":13.75, "y":2.25, "w":1.25, "h":2}, + {"matrix": [4, 0], "x":0, "y":4.25, "w":1.25}, + {"matrix": [5, 3], "x":1.25, "y":4.25}, + {"matrix": [4, 1], "x":2.25, "y":4.25}, + {"matrix": [4, 2], "x":3.25, "y":4.25}, + {"matrix": [4, 3], "x":4.25, "y":4.25}, + {"matrix": [4, 4], "x":5.25, "y":4.25}, + {"matrix": [4, 5], "x":6.25, "y":4.25}, + {"matrix": [4, 6], "x":7.25, "y":4.25}, + {"matrix": [4, 7], "x":8.25, "y":4.25}, + {"matrix": [4, 8], "x":9.25, "y":4.25}, + {"matrix": [4, 9], "x":10.25, "y":4.25}, + {"matrix": [4, 10], "x":11.25, "y":4.25}, + {"matrix": [4, 11], "x":12.25, "y":4.25, "w":2.75}, + {"matrix": [5, 11], "x":16.25, "y":4.25}, + {"matrix": [5, 0], "x":0, "y":5.25, "w":1.5}, + {"matrix": [5, 1], "x":1.5, "y":5.25}, + {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.5}, + {"matrix": [5, 4], "x":4, "y":5.25, "w":7}, + {"matrix": [5, 7], "x":11, "y":5.25, "w":1.5}, + {"matrix": [5, 8], "x":12.5, "y":5.25}, + {"matrix": [5, 9], "x":13.5, "y":5.25, "w":1.5}, + {"matrix": [5, 12], "x":15.25, "y":5.25}, + {"matrix": [5, 13], "x":16.25, "y":5.25}, + {"matrix": [5, 14], "x":17.25, "y":5.25} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c b/keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c new file mode 100644 index 000000000000..b46f4f8726df --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT_sol( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + [1] = LAYOUT_sol( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c b/keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c new file mode 100644 index 000000000000..b46f4f8726df --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c @@ -0,0 +1,39 @@ +/* +Copyright 2023 Qwertykeys + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + + [0] = LAYOUT_sol( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT + ), + [1] = LAYOUT_sol( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk b/keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk new file mode 100644 index 000000000000..36b7ba9cbc98 --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld new file mode 100644 index 000000000000..a40e12668aa0 --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld @@ -0,0 +1,89 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/* + * STM32F103x8 memory setup for use with the STM32Duino bootloader. + */ +f103_flash_size = 128k; + +MEMORY +{ + /*Here we give 22K flash to bootloader*/ + /*0x08005800 : the application bin start address*/ + flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 + flash1 : org = 0x00000000, len = 0 + flash2 : org = 0x00000000, len = 0 + flash3 : org = 0x00000000, len = 0 + flash4 : org = 0x00000000, len = 0 + flash5 : org = 0x00000000, len = 0 + flash6 : org = 0x00000000, len = 0 + flash7 : org = 0x00000000, len = 0 + ram0 : org = 0x20000000, len = 20k + ram1 : org = 0x00000000, len = 0 + ram2 : org = 0x00000000, len = 0 + ram3 : org = 0x00000000, len = 0 + ram4 : org = 0x00000000, len = 0 + ram5 : org = 0x00000000, len = 0 + ram6 : org = 0x00000000, len = 0 + ram7 : org = 0x00000000, len = 0 +} + +/* For each data/text section two region are defined, a virtual region + and a load region (_LMA suffix).*/ + +/* Flash region to be used for exception vectors.*/ +REGION_ALIAS("VECTORS_FLASH", flash0); +REGION_ALIAS("VECTORS_FLASH_LMA", flash0); + +/* Flash region to be used for constructors and destructors.*/ +REGION_ALIAS("XTORS_FLASH", flash0); +REGION_ALIAS("XTORS_FLASH_LMA", flash0); + +/* Flash region to be used for code text.*/ +REGION_ALIAS("TEXT_FLASH", flash0); +REGION_ALIAS("TEXT_FLASH_LMA", flash0); + +/* Flash region to be used for read only data.*/ +REGION_ALIAS("RODATA_FLASH", flash0); +REGION_ALIAS("RODATA_FLASH_LMA", flash0); + +/* Flash region to be used for various.*/ +REGION_ALIAS("VARIOUS_FLASH", flash0); +REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); + +/* Flash region to be used for RAM(n) initialization data.*/ +REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); + +/* RAM region to be used for Main stack. This stack accommodates the processing + of all exceptions and interrupts.*/ +REGION_ALIAS("MAIN_STACK_RAM", ram0); + +/* RAM region to be used for the process stack. This is the stack used by + the main() function.*/ +REGION_ALIAS("PROCESS_STACK_RAM", ram0); + +/* RAM region to be used for data segment.*/ +REGION_ALIAS("DATA_RAM", ram0); +REGION_ALIAS("DATA_RAM_LMA", flash0); + +/* RAM region to be used for BSS segment.*/ +REGION_ALIAS("BSS_RAM", ram0); + +/* RAM region to be used for the default heap.*/ +REGION_ALIAS("HEAP_RAM", ram0); + +/* Generic rules inclusion.*/ +INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/readme.md b/keyboards/qwertykeys/qk80/solder/readme.md new file mode 100644 index 000000000000..30b05d1970a0 --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/readme.md @@ -0,0 +1,21 @@ +# qk80 - Solder PCB + +![qk80](https://i.imgur.com/qSXHoWyh.jpg) + +A 80% made by Qwertykeys. + +* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) +* Hardware Supported: qk80 Solder PCB +* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/AoBGOwZMOmwa + +Make example for this keyboard (after setting up your build environment): + + make qwertykeys/qk80/solder:default + +Flashing example for this keyboard: + + make qwertykeys/qk80/solder:default:flash + +**Bootloader:** Press the button B on PCB while plugging in the board. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/rules.mk b/keyboards/qwertykeys/qk80/solder/rules.mk new file mode 100644 index 000000000000..dfd7b8e20848 --- /dev/null +++ b/keyboards/qwertykeys/qk80/solder/rules.mk @@ -0,0 +1,5 @@ +MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader +DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 +DFU_SUFFIX_ARGS = -v 1688 -p 2220 +BOOTLOADER_TYPE = stm32duino +OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file From 12b5d13ed4e8c554a8c7372bd66aa8ccd5c033f7 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Sat, 19 Aug 2023 18:53:06 +0800 Subject: [PATCH 02/13] add qk100 files --- keyboards/neo/neo65/ansi/ansi.c | 140 ----------- keyboards/neo/neo65/ansi/ansi.h | 19 -- keyboards/neo/neo65/ansi/chconf.h | 24 -- keyboards/neo/neo65/ansi/config.h | 39 ---- keyboards/neo/neo65/ansi/halconf.h | 26 --- keyboards/neo/neo65/ansi/info.json | 149 ------------ .../neo/neo65/ansi/keymaps/default/keymap.c | 37 --- keyboards/neo/neo65/ansi/keymaps/via/keymap.c | 37 --- keyboards/neo/neo65/ansi/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/neo/neo65/ansi/mcuconf.h | 30 --- keyboards/neo/neo65/ansi/readme.md | 21 -- keyboards/neo/neo65/ansi/rules.mk | 5 - keyboards/neo/neo65/solder/info.json | 103 -------- .../neo/neo65/solder/keymaps/default/keymap.c | 37 --- .../neo/neo65/solder/keymaps/via/keymap.c | 37 --- .../neo/neo65/solder/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/neo/neo65/solder/readme.md | 21 -- keyboards/neo/neo65/solder/rules.mk | 5 - keyboards/neo/neo70/info.json | 108 --------- keyboards/neo/neo70/keymaps/default/keymap.c | 37 --- keyboards/neo/neo70/keymaps/via/keymap.c | 37 --- keyboards/neo/neo70/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/neo/neo70/readme.md | 21 -- keyboards/neo/neo70/rules.mk | 5 - keyboards/owlab/chalice/hotswap/info.json | 77 ------ .../chalice/hotswap/keymaps/default/keymap.c | 35 --- .../chalice/hotswap/keymaps/via/keymap.c | 35 --- .../chalice/hotswap/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/owlab/chalice/hotswap/readme.md | 21 -- keyboards/owlab/chalice/hotswap/rules.mk | 5 - keyboards/owlab/chalice/solder/info.json | 88 ------- .../chalice/solder/keymaps/default/keymap.c | 56 ----- .../owlab/chalice/solder/keymaps/via/keymap.c | 56 ----- .../owlab/chalice/solder/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/owlab/chalice/solder/readme.md | 21 -- keyboards/owlab/chalice/solder/rules.mk | 5 - keyboards/owlab/link/hotswap/info.json | 101 -------- .../link/hotswap/keymaps/default/keymap.c | 37 --- .../owlab/link/hotswap/keymaps/via/keymap.c | 37 --- .../owlab/link/hotswap/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/owlab/link/hotswap/readme.md | 21 -- keyboards/owlab/link/hotswap/rules.mk | 5 - keyboards/owlab/link/solder/info.json | 102 -------- .../link/solder/keymaps/default/keymap.c | 37 --- .../owlab/link/solder/keymaps/via/keymap.c | 37 --- .../owlab/link/solder/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/owlab/link/solder/readme.md | 21 -- keyboards/owlab/link/solder/rules.mk | 5 - keyboards/qwertykeys/qk60/info.json | 100 -------- .../qwertykeys/qk60/keymaps/default/keymap.c | 36 --- .../qwertykeys/qk60/keymaps/via/keymap.c | 36 --- .../qwertykeys/qk60/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/qwertykeys/qk60/readme.md | 21 -- keyboards/qwertykeys/qk60/rules.mk | 5 - keyboards/qwertykeys/qk65/iso/info.json | 102 -------- .../qk65/iso/keymaps/default/keymap.c | 37 --- .../qwertykeys/qk65/iso/keymaps/via/keymap.c | 37 --- .../qwertykeys/qk65/iso/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/qwertykeys/qk65/iso/readme.md | 21 -- keyboards/qwertykeys/qk65/iso/rules.mk | 5 - keyboards/qwertykeys/qk65/r2/info.json | 101 -------- .../qk65/r2/keymaps/default/keymap.c | 37 --- .../qwertykeys/qk65/r2/keymaps/via/keymap.c | 37 --- .../qwertykeys/qk65/r2/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/qwertykeys/qk65/r2/readme.md | 21 -- keyboards/qwertykeys/qk65/r2/rules.mk | 5 - .../qwertykeys/qk75/hotswap_ansi/info.json | 127 ---------- .../hotswap_ansi/keymaps/default/keymap.c | 55 ----- .../qk75/hotswap_ansi/keymaps/via/keymap.c | 55 ----- .../qk75/hotswap_ansi/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- .../qwertykeys/qk75/hotswap_ansi/readme.md | 21 -- .../qwertykeys/qk75/hotswap_ansi/rules.mk | 5 - keyboards/qwertykeys/qk75/solder/info.json | 128 ---------- .../qk75/solder/keymaps/default/keymap.c | 55 ----- .../qk75/solder/keymaps/via/keymap.c | 55 ----- .../qk75/solder/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/qwertykeys/qk75/solder/readme.md | 21 -- keyboards/qwertykeys/qk75/solder/rules.mk | 5 - keyboards/qwertykeys/qk80/ansi/ansi.c | 218 ----------------- keyboards/qwertykeys/qk80/ansi/ansi.h | 20 -- keyboards/qwertykeys/qk80/ansi/chconf.h | 24 -- keyboards/qwertykeys/qk80/ansi/config.h | 48 ---- keyboards/qwertykeys/qk80/ansi/halconf.h | 26 --- keyboards/qwertykeys/qk80/ansi/info.json | 188 --------------- .../qk80/ansi/keymaps/default/keymap.c | 39 ---- .../qwertykeys/qk80/ansi/keymaps/via/keymap.c | 39 ---- .../qwertykeys/qk80/ansi/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/qwertykeys/qk80/ansi/mcuconf.h | 29 --- keyboards/qwertykeys/qk80/ansi/readme.md | 21 -- keyboards/qwertykeys/qk80/ansi/rules.mk | 5 - .../qwertykeys/qk80/ansi_625u/ansi_625u.c | 220 ------------------ .../qwertykeys/qk80/ansi_625u/ansi_625u.h | 20 -- keyboards/qwertykeys/qk80/ansi_625u/chconf.h | 23 -- keyboards/qwertykeys/qk80/ansi_625u/config.h | 47 ---- keyboards/qwertykeys/qk80/ansi_625u/halconf.h | 25 -- keyboards/qwertykeys/qk80/ansi_625u/info.json | 188 --------------- .../qk80/ansi_625u/keymaps/default/keymap.c | 39 ---- .../qk80/ansi_625u/keymaps/via/keymap.c | 39 ---- .../qk80/ansi_625u/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h | 30 --- keyboards/qwertykeys/qk80/ansi_625u/readme.md | 21 -- keyboards/qwertykeys/qk80/ansi_625u/rules.mk | 5 - keyboards/qwertykeys/qk80/solder/config.h | 22 -- keyboards/qwertykeys/qk80/solder/info.json | 143 ------------ .../qk80/solder/keymaps/default/keymap.c | 39 ---- .../qk80/solder/keymaps/via/keymap.c | 39 ---- .../qk80/solder/keymaps/via/rules.mk | 2 - .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------- keyboards/qwertykeys/qk80/solder/readme.md | 21 -- keyboards/qwertykeys/qk80/solder/rules.mk | 5 - 124 files changed, 5816 deletions(-) delete mode 100644 keyboards/neo/neo65/ansi/ansi.c delete mode 100644 keyboards/neo/neo65/ansi/ansi.h delete mode 100644 keyboards/neo/neo65/ansi/chconf.h delete mode 100644 keyboards/neo/neo65/ansi/config.h delete mode 100644 keyboards/neo/neo65/ansi/halconf.h delete mode 100644 keyboards/neo/neo65/ansi/info.json delete mode 100644 keyboards/neo/neo65/ansi/keymaps/default/keymap.c delete mode 100644 keyboards/neo/neo65/ansi/keymaps/via/keymap.c delete mode 100644 keyboards/neo/neo65/ansi/keymaps/via/rules.mk delete mode 100644 keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/neo/neo65/ansi/mcuconf.h delete mode 100644 keyboards/neo/neo65/ansi/readme.md delete mode 100644 keyboards/neo/neo65/ansi/rules.mk delete mode 100644 keyboards/neo/neo65/solder/info.json delete mode 100644 keyboards/neo/neo65/solder/keymaps/default/keymap.c delete mode 100644 keyboards/neo/neo65/solder/keymaps/via/keymap.c delete mode 100644 keyboards/neo/neo65/solder/keymaps/via/rules.mk delete mode 100644 keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/neo/neo65/solder/readme.md delete mode 100644 keyboards/neo/neo65/solder/rules.mk delete mode 100644 keyboards/neo/neo70/info.json delete mode 100644 keyboards/neo/neo70/keymaps/default/keymap.c delete mode 100644 keyboards/neo/neo70/keymaps/via/keymap.c delete mode 100644 keyboards/neo/neo70/keymaps/via/rules.mk delete mode 100644 keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/neo/neo70/readme.md delete mode 100644 keyboards/neo/neo70/rules.mk delete mode 100644 keyboards/owlab/chalice/hotswap/info.json delete mode 100644 keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c delete mode 100644 keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c delete mode 100644 keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk delete mode 100644 keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/owlab/chalice/hotswap/readme.md delete mode 100644 keyboards/owlab/chalice/hotswap/rules.mk delete mode 100644 keyboards/owlab/chalice/solder/info.json delete mode 100644 keyboards/owlab/chalice/solder/keymaps/default/keymap.c delete mode 100644 keyboards/owlab/chalice/solder/keymaps/via/keymap.c delete mode 100644 keyboards/owlab/chalice/solder/keymaps/via/rules.mk delete mode 100644 keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/owlab/chalice/solder/readme.md delete mode 100644 keyboards/owlab/chalice/solder/rules.mk delete mode 100644 keyboards/owlab/link/hotswap/info.json delete mode 100644 keyboards/owlab/link/hotswap/keymaps/default/keymap.c delete mode 100644 keyboards/owlab/link/hotswap/keymaps/via/keymap.c delete mode 100644 keyboards/owlab/link/hotswap/keymaps/via/rules.mk delete mode 100644 keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/owlab/link/hotswap/readme.md delete mode 100644 keyboards/owlab/link/hotswap/rules.mk delete mode 100644 keyboards/owlab/link/solder/info.json delete mode 100644 keyboards/owlab/link/solder/keymaps/default/keymap.c delete mode 100644 keyboards/owlab/link/solder/keymaps/via/keymap.c delete mode 100644 keyboards/owlab/link/solder/keymaps/via/rules.mk delete mode 100644 keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/owlab/link/solder/readme.md delete mode 100644 keyboards/owlab/link/solder/rules.mk delete mode 100644 keyboards/qwertykeys/qk60/info.json delete mode 100644 keyboards/qwertykeys/qk60/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk60/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk60/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk60/readme.md delete mode 100644 keyboards/qwertykeys/qk60/rules.mk delete mode 100644 keyboards/qwertykeys/qk65/iso/info.json delete mode 100644 keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk65/iso/readme.md delete mode 100644 keyboards/qwertykeys/qk65/iso/rules.mk delete mode 100644 keyboards/qwertykeys/qk65/r2/info.json delete mode 100644 keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk65/r2/readme.md delete mode 100644 keyboards/qwertykeys/qk65/r2/rules.mk delete mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/info.json delete mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/readme.md delete mode 100644 keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk delete mode 100644 keyboards/qwertykeys/qk75/solder/info.json delete mode 100644 keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk75/solder/readme.md delete mode 100644 keyboards/qwertykeys/qk75/solder/rules.mk delete mode 100644 keyboards/qwertykeys/qk80/ansi/ansi.c delete mode 100644 keyboards/qwertykeys/qk80/ansi/ansi.h delete mode 100644 keyboards/qwertykeys/qk80/ansi/chconf.h delete mode 100644 keyboards/qwertykeys/qk80/ansi/config.h delete mode 100644 keyboards/qwertykeys/qk80/ansi/halconf.h delete mode 100644 keyboards/qwertykeys/qk80/ansi/info.json delete mode 100644 keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk80/ansi/mcuconf.h delete mode 100644 keyboards/qwertykeys/qk80/ansi/readme.md delete mode 100644 keyboards/qwertykeys/qk80/ansi/rules.mk delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/chconf.h delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/config.h delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/halconf.h delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/info.json delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/readme.md delete mode 100644 keyboards/qwertykeys/qk80/ansi_625u/rules.mk delete mode 100644 keyboards/qwertykeys/qk80/solder/config.h delete mode 100644 keyboards/qwertykeys/qk80/solder/info.json delete mode 100644 keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c delete mode 100644 keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c delete mode 100644 keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk delete mode 100644 keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk80/solder/readme.md delete mode 100644 keyboards/qwertykeys/qk80/solder/rules.mk diff --git a/keyboards/neo/neo65/ansi/ansi.c b/keyboards/neo/neo65/ansi/ansi.c deleted file mode 100644 index 53dbf6d9184d..000000000000 --- a/keyboards/neo/neo65/ansi/ansi.c +++ /dev/null @@ -1,140 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#include "ansi.h" - -#ifdef RGB_MATRIX_ENABLE -const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { - {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW1*/ - {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-1 */ - {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-2 */ - {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-3 */ - {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-4 */ - {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-5 */ - {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-6 */ - {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-7 */ - {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-8 */ - {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-9 */ - {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-0 */ - {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11--- */ - {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-+= */ - {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB13-|\ */ - {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB14-BS */ - {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB15-Delete */ - - {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB16-TAB ----ROW2*/ - {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB17-Q */ - {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB18-W */ - {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB19-E */ - {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB20-R */ - {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB21-T */ - {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB22-Y */ - {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB23-U */ - {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB24-I */ - {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB25-O */ - {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB26-P */ - {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB27-[ */ - {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB28-] */ - {0, CS38_SW7, CS39_SW7, CS37_SW7}, /* RGB29-\ */ - {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB30-PgUp */ - - {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB31-CAPS---ROW3*/ - {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB32-A-- */ - {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB33-S-- */ - {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB34-D */ - {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB35-F */ - {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB36-G */ - {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB37-H */ - {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB38-J */ - {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB39-K */ - {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB40-L */ - {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB41-;: */ - {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB42-'" */ - {0, CS38_SW8, CS39_SW8, CS37_SW8}, /* RGB43-ENTER */ - {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB44-Page Down */ - - - {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB45-LSF --ROW4*/ - {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB46-Z */ - {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB47-X */ - {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB48-C */ - {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB49-V */ - {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB50-B */ - {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB51-N */ - {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB52-M */ - {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB53-,< */ - {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB54->. */ - {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB55-?/ */ - {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB56-RSF */ - {0, CS38_SW9, CS39_SW9, CS37_SW9}, /* RGB57-UP */ - {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB58-End */ - - {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB59-lct-- ROW5*/ - {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB60-lwin */ - {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB61-lalt */ - {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB62-sp */ - {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB63-ralt */ - {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB64- fn */ - {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB65-left */ - {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB66-down */ - {0, CS35_SW5, CS36_SW5, CS34_SW5} /* RGB67-right */ -}; - -led_config_t g_led_config = { { - { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15 }, - { 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 }, - { 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 13, 44 }, - { 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, NO_LED, 56, 57, 58 }, - { 59, 60, 61, NO_LED, NO_LED, 62, NO_LED, NO_LED, NO_LED, 63, 64, NO_LED, 65, 66, 67 } -}, { - // LED Index to Physical Position - { 0, 0 }, { 15, 0 }, { 30, 0 }, { 45, 0 }, { 60, 0 }, { 75, 0 }, { 90, 0 }, { 105, 0 }, { 120, 0 }, { 135, 0 }, { 150, 0 }, { 165, 0 }, { 180, 0 }, { 195, 0 }, { 210, 0 }, { 224, 0 }, - { 4, 16}, { 22, 16}, { 37, 16}, { 52, 16}, { 67, 16}, { 82, 16}, { 97, 16}, { 112, 16 }, { 127, 16}, {142, 16}, {157, 16 }, { 172, 16}, { 187, 16}, { 206, 16}, { 224, 16}, - { 6, 32}, { 26, 32}, { 41, 32}, { 56, 32}, { 71, 32}, { 86, 32}, {101, 32}, { 116, 32}, { 131, 32}, {146, 32}, { 161, 32}, { 176, 32}, { 201, 32}, { 224, 32}, - { 8, 48}, { 31, 48}, { 46, 48}, { 61, 48}, { 76, 48}, { 91, 48}, { 106, 48}, { 121, 48}, { 136, 48}, { 151, 48}, { 166, 48}, { 183, 48}, { 210, 48}, { 224, 48}, - { 2, 64}, { 21, 64}, { 39, 64}, { 91, 64}, { 145, 64}, {163, 64}, { 195, 64}, { 210, 64 }, { 224, 64} -}, { - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, - 1, 1, 1, 4, 1, 1, 1, 1, 1 - } -}; - -void suspend_power_down_kb(void) { - rgb_matrix_set_suspend_state(true); - suspend_power_down_user(); -} - -void suspend_wakeup_init_kb(void) { - rgb_matrix_set_suspend_state(false); - suspend_wakeup_init_user(); -} - - -bool rgb_matrix_indicators_kb(void) { - if (!rgb_matrix_indicators_user()) { - return false; - } - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color(31, 0xFF, 0xFF, 0xFF); - } - - return true; -} - -#endif \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/ansi.h b/keyboards/neo/neo65/ansi/ansi.h deleted file mode 100644 index a0f01c2e4e00..000000000000 --- a/keyboards/neo/neo65/ansi/ansi.h +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#pragma once - -#include "quantum.h" \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/chconf.h b/keyboards/neo/neo65/ansi/chconf.h deleted file mode 100644 index f06e36696799..000000000000 --- a/keyboards/neo/neo65/ansi/chconf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#define CH_CFG_ST_TIMEDELTA 0 - -#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE - -#include_next \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/config.h b/keyboards/neo/neo65/ansi/config.h deleted file mode 100644 index 2ebe7db2b88d..000000000000 --- a/keyboards/neo/neo65/ansi/config.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -/* RGB matrix */ -#ifdef RGB_MATRIX_ENABLE -// i2c setting -#define USE_I2CV1 -#define I2C1_SCL 8 -#define I2C1_SDA 9 -#define I2C1_CLOCK_SPEED 400000 -#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 -# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects -# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended -# define RGB_MATRIX_KEYPRESSES // reacts to keypresses -# define RGB_MATRIX_FRAMEBUFFER_EFFECTS -# define RGB_MATRIX_LED_PROCESS_LIMIT 4 -# define RGB_MATRIX_LED_FLUSH_LIMIT 26 -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 -# define RGB_MATRIX_STARTUP_VAL 128 -# define DRIVER_ADDR_1 0b0110000 -# define DRIVER_COUNT 1 -# define RGB_MATRIX_LED_COUNT 68 -#endif \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/halconf.h b/keyboards/neo/neo65/ansi/halconf.h deleted file mode 100644 index 8387693aa490..000000000000 --- a/keyboards/neo/neo65/ansi/halconf.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#define HAL_USE_I2C TRUE - -#define HAL_USE_SPI TRUE - -#define HAL_USE_PWM TRUE - -#include_next \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/info.json b/keyboards/neo/neo65/ansi/info.json deleted file mode 100644 index 956a94954068..000000000000 --- a/keyboards/neo/neo65/ansi/info.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "keyboard_name": "NEO65 ANSI", - "manufacturer":"NEO Studio", - "url": "", - "maintainer": "NEO Studio", - "usb": { - "vid": "0x4E45", - "pid": "0x3635", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4" ], - "rows": [ "A2", "A3", "A5", "A4", "A6" ] - }, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": true - }, - "rgb_matrix": { - "driver": "IS31FL3741", - "max_brightness": 200, - "animations": { - "solid_color": true, - "alphas_mods": true, - "gradient_up_down": true, - "gradient_left_right": true, - "breathing": true, - "band_sat": true, - "band_val": true, - "band_pinwheel_sat": true, - "band_pinwheel_val": true, - "band_spiral_sat": true, - "band_spiral_val": true, - "cycle_all": true, - "cycle_left_right": true, - "cycle_up_down": true, - "cycle_out_in": true, - "cycle_out_in_dual": true, - "rainbow_moving_chevron": true, - "cycle_pinwheel": true, - "cycle_spiral": true, - "dual_beacon": true, - "rainbow_beacon": true, - "rainbow_pinwheels": true, - "raindrops": true, - "jellybean_raindrops": true, - "hue_breathing": true, - "hue_pendulum": true, - "hue_wave": true, - "pixel_fractal": true, - "pixel_flow": true, - "pixel_rain": true, - "typing_heatmap": true, - "digital_rain": true, - "solid_reactive_simple": true, - "solid_reactive": true, - "solid_reactive_wide": true, - "solid_reactive_multiwide": true, - "solid_reactive_cross": true, - "solid_reactive_multicross": true, - "solid_reactive_nexus": true, - "solid_reactive_multinexus": true, - "splash": true, - "multisplash": true, - "solid_splash": true, - "solid_multisplash": true - } - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_hot": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8],"x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [2, 12], "x":13, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, - {"matrix": [1, 14], "x":15, "y":1}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, - {"matrix": [2, 14], "x":15, "y":2}, - {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 13], "x":14, "y":3}, - {"matrix": [3, 14], "x":15, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, - {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, - {"matrix": [4, 5], "x":3.75, "y":4, "w":6.25}, - {"matrix": [4, 9], "x":10, "y":4, "w":1.25}, - {"matrix": [4, 10], "x":11.25, "y":4, "w":1.25}, - {"matrix": [4, 12], "x":13, "y":4, "w":1}, - {"matrix": [4, 13], "x":14, "y":4, "w":1}, - {"matrix": [4, 14], "x":15, "y":4, "w":1} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/keymaps/default/keymap.c b/keyboards/neo/neo65/ansi/keymaps/default/keymap.c deleted file mode 100644 index a4e467161fed..000000000000 --- a/keyboards/neo/neo65/ansi/keymaps/default/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - - [1] = LAYOUT_hot( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/keymaps/via/keymap.c b/keyboards/neo/neo65/ansi/keymaps/via/keymap.c deleted file mode 100644 index a4e467161fed..000000000000 --- a/keyboards/neo/neo65/ansi/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - - [1] = LAYOUT_hot( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/keymaps/via/rules.mk b/keyboards/neo/neo65/ansi/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/neo/neo65/ansi/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/neo/neo65/ansi/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/mcuconf.h b/keyboards/neo/neo65/ansi/mcuconf.h deleted file mode 100644 index 1b695eb5f1ef..000000000000 --- a/keyboards/neo/neo65/ansi/mcuconf.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include_next - -/* - * I2C driver system settings. - */ -#undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE - - -#undef STM32_PWM_USE_TIM1 -#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/readme.md b/keyboards/neo/neo65/ansi/readme.md deleted file mode 100644 index fc2fef34a6fb..000000000000 --- a/keyboards/neo/neo65/ansi/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# neo65 - ANSI PCB - -![neo65 ansi](https://i.imgur.com/vOyu6SFh.jpg) - -A 65% made by NEO Studio. - -* Keyboard Maintainer: [NEO Studio](https://github.com/owlab-git) -* Hardware Supported: neo ansi PCB -* Hardware Availability: IC: https://qwertykeys.notion.site/Neo-65-6c8ae7895ec442dea809057c3dc5e113 - -Make example for this keyboard (after setting up your build environment): - - make neo/neo65/ansi:default - -Flashing example for this keyboard: - - make neo/neo65/ansi:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/neo/neo65/ansi/rules.mk b/keyboards/neo/neo65/ansi/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/neo/neo65/ansi/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/info.json b/keyboards/neo/neo65/solder/info.json deleted file mode 100644 index b6bc2a65144c..000000000000 --- a/keyboards/neo/neo65/solder/info.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "keyboard_name": "NEO65 Solder", - "manufacturer":"NEO Studio", - "url": "", - "maintainer": "NEO Studio", - "usb": { - "vid": "0x4E45", - "pid": "0x3653", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4" ], - "rows": [ "A2", "A3", "A5", "A4", "A6" ] - }, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "indicators": { - "caps_lock": "C14", - "on_state": 0 - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8],"x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [2, 12], "x":13, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, - {"matrix": [1, 14], "x":15, "y":1}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, - {"matrix": [2, 14], "x":15, "y":2}, - {"matrix": [3, 0], "x":0, "y":3, "w":1.25}, - {"matrix": [4, 3], "x":1.25, "y":3}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 12], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 13], "x":14, "y":3}, - {"matrix": [3, 14], "x":15, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, - {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, - {"matrix": [4, 5], "x":3.75, "y":4, "w":6.25}, - {"matrix": [4, 9], "x":10, "y":4, "w":1.25}, - {"matrix": [4, 10], "x":11.25, "y":4, "w":1.25}, - {"matrix": [4, 12], "x":13, "y":4, "w":1}, - {"matrix": [4, 13], "x":14, "y":4, "w":1}, - {"matrix": [4, 14], "x":15, "y":4, "w":1} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/keymaps/default/keymap.c b/keyboards/neo/neo65/solder/keymaps/default/keymap.c deleted file mode 100644 index fbac3af4b347..000000000000 --- a/keyboards/neo/neo65/solder/keymaps/default/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - - [1] = LAYOUT( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/keymaps/via/keymap.c b/keyboards/neo/neo65/solder/keymaps/via/keymap.c deleted file mode 100644 index fbac3af4b347..000000000000 --- a/keyboards/neo/neo65/solder/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT,MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - - [1] = LAYOUT( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/keymaps/via/rules.mk b/keyboards/neo/neo65/solder/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/neo/neo65/solder/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/neo/neo65/solder/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/readme.md b/keyboards/neo/neo65/solder/readme.md deleted file mode 100644 index 4d69ebe7676c..000000000000 --- a/keyboards/neo/neo65/solder/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# neo65 solder- PCB - -![neo65 Soder](https://i.imgur.com/vOyu6SFh.jpg) - -A 65% made by NEO Studio. - -* Keyboard Maintainer: [NEO Studio](https://github.com/owlab-git) -* Hardware Supported: neo solder PCB -* Hardware Availability: IC: https://qwertykeys.notion.site/Neo-65-6c8ae7895ec442dea809057c3dc5e113 - -Make example for this keyboard (after setting up your build environment): - - make neo/neo65/solder:default - -Flashing example for this keyboard: - - make neo/neo65/solder:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/neo/neo65/solder/rules.mk b/keyboards/neo/neo65/solder/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/neo/neo65/solder/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/neo/neo70/info.json b/keyboards/neo/neo70/info.json deleted file mode 100644 index 589c054c799e..000000000000 --- a/keyboards/neo/neo70/info.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "keyboard_name": "NEO70 Solder", - "manufacturer":"NEO Studio", - "url": "", - "maintainer": "NEO Studio", - "usb": { - "vid": "0x4E45", - "pid": "0x3730", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5" ], - "rows": [ "A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "indicators": { - "caps_lock": "C14", - "on_state": 0 - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_solder": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8],"x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [1, 13], "x":13, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15.25, "y":0}, - {"matrix": [0, 15], "x":16.25, "y":0}, - {"matrix": [0, 16], "x":17.25, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [2, 12], "x":13.5, "y":1, "w":1.5}, - {"matrix": [1, 14], "x":15.25, "y":1}, - {"matrix": [1, 15], "x":16.25, "y":1}, - {"matrix": [1, 16], "x":17.25, "y":1}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, - {"matrix": [3, 0], "x":0, "y":3, "w":1.25}, - {"matrix": [4, 3], "x":1.25, "y":3}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 13], "x":14, "y":3}, - {"matrix": [3, 15], "x":16.25, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, - {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, - {"matrix": [4, 5], "x":3.75, "y":4, "w":6.25}, - {"matrix": [4, 10], "x":10, "y":4, "w":1.25}, - {"matrix": [4, 11], "x":11.25, "y":4, "w":1.25}, - {"matrix": [4, 12], "x":12.5, "y":4, "w":1.25}, - {"matrix": [4, 13], "x":13.75, "y":4, "w":1.25}, - {"matrix": [4, 14], "x":15.25, "y":4, "w":1}, - {"matrix": [4, 15], "x":16.25, "y":4, "w":1}, - {"matrix": [4, 16], "x":17.25, "y":4, "w":1} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/neo/neo70/keymaps/default/keymap.c b/keyboards/neo/neo70/keymaps/default/keymap.c deleted file mode 100644 index 0ee622503278..000000000000 --- a/keyboards/neo/neo70/keymaps/default/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_solder( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT - ), - - [1] = LAYOUT_solder( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/neo/neo70/keymaps/via/keymap.c b/keyboards/neo/neo70/keymaps/via/keymap.c deleted file mode 100644 index 0ee622503278..000000000000 --- a/keyboards/neo/neo70/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2023 NEO - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_solder( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT - ), - - [1] = LAYOUT_solder( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/neo/neo70/keymaps/via/rules.mk b/keyboards/neo/neo70/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/neo/neo70/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/neo/neo70/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/neo/neo70/readme.md b/keyboards/neo/neo70/readme.md deleted file mode 100644 index eaa4255117ed..000000000000 --- a/keyboards/neo/neo70/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# neo70 solder- PCB - -![neo70 Solder]() - -A 70% made by NEO Studio. - -* Keyboard Maintainer: [NEO Studio](https://github.com/owlab-git) -* Hardware Supported: neo solder PCB -* Hardware Availability: IC: https://qwertykeys.notion.site/Neo-70-FRLTKL-dcb294b202a04b63b7659cea488b4717 - -Make example for this keyboard (after setting up your build environment): - - make neo/neo70:default - -Flashing example for this keyboard: - - make neo/neo70:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/neo/neo70/rules.mk b/keyboards/neo/neo70/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/neo/neo70/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/info.json b/keyboards/owlab/chalice/hotswap/info.json deleted file mode 100644 index 9ff5bdaa1636..000000000000 --- a/keyboards/owlab/chalice/hotswap/info.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "keyboard_name": "Chalice Hotswap", - "manufacturer": "Owlab", - "url": "", - "maintainer": "Owlab", - "usb": { - "vid": "0x4F53", - "pid": "0x4348", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6" ], - "rows": ["A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_hot": { - "layout": [ - {"matrix": [0, 0], "x":0.85, "y":0}, - {"matrix": [0, 1], "x":1.85, "y":0}, - {"matrix": [0, 2], "x":2.85, "y":0}, - {"matrix": [0, 3], "x":3.85, "y":0}, - {"matrix": [0, 4], "x":4.85, "y":0}, - {"matrix": [0, 5], "x":5.85, "y":0}, - {"matrix": [0, 6], "x":6.85, "y":0}, - {"matrix": [0, 7], "x":7.85, "y":0}, - {"matrix": [0, 8], "x":8.85, "y":0}, - {"matrix": [0, 9], "x":9.85, "y":0}, - {"matrix": [0, 10], "x":10.85, "y":0}, - {"matrix": [0, 11], "x":11.85, "y":0, "w":1.5}, - {"matrix": [1, 0], "x":0.25, "y":1, "w":1.75}, - {"matrix": [1, 1], "x":2, "y":1}, - {"matrix": [1, 2], "x":3, "y":1}, - {"matrix": [1, 3], "x":4, "y":1}, - {"matrix": [1, 4], "x":5, "y":1}, - {"matrix": [1, 5], "x":6, "y":1}, - {"matrix": [1, 6], "x":7, "y":1}, - {"matrix": [1, 7], "x":8, "y":1}, - {"matrix": [1, 8], "x":9, "y":1}, - {"matrix": [1, 9], "x":10, "y":1}, - {"matrix": [1, 10], "x":11, "y":1}, - {"matrix": [1, 11], "x":12, "y":1, "w":1.75}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.25}, - {"matrix": [3, 1], "x":1.25, "y":2}, - {"matrix": [2, 1], "x":2.25, "y":2}, - {"matrix": [2, 2], "x":3.25, "y":2}, - {"matrix": [2, 3], "x":4.25, "y":2}, - {"matrix": [2, 4], "x":5.25, "y":2}, - {"matrix": [3, 4], "x":6.25, "y":2}, - {"matrix": [2, 5], "x":7.25, "y":2}, - {"matrix": [2, 6], "x":8.25, "y":2}, - {"matrix": [2, 7], "x":9.25, "y":2}, - {"matrix": [2, 8], "x":10.25, "y":2}, - {"matrix": [2, 9], "x":11.25, "y":2}, - {"matrix": [2, 10], "x":12.25, "y":2}, - {"matrix": [2, 11], "x":13.25, "y":2, "w":1.25}, - {"matrix": [3, 0], "x":0, "y":3, "w":1.5}, - {"matrix": [3, 2], "x":1.5, "y":3, "w":1.5}, - {"matrix": [3, 3], "x":3, "y":3, "w":2}, - {"matrix": [3, 5], "x":5, "y":3}, - {"matrix": [3, 6], "x":6, "y":3}, - {"matrix": [3, 7], "x":7, "y":3, "w":2}, - {"matrix": [3, 9], "x":9, "y":3}, - {"matrix": [3, 10], "x":10, "y":3}, - {"matrix": [3, 11], "x":11, "y":3} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c b/keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c deleted file mode 100644 index 6aabe4377baf..000000000000 --- a/keyboards/owlab/chalice/hotswap/keymaps/default/keymap.c +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, - KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hot( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, - KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, - KC_LCTL, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c b/keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c deleted file mode 100644 index 6aabe4377baf..000000000000 --- a/keyboards/owlab/chalice/hotswap/keymaps/via/keymap.c +++ /dev/null @@ -1,35 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, - KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hot( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, - KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, - KC_LCTL, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk b/keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/owlab/chalice/hotswap/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/owlab/chalice/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/readme.md b/keyboards/owlab/chalice/hotswap/readme.md deleted file mode 100644 index e1c6e6631592..000000000000 --- a/keyboards/owlab/chalice/hotswap/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# Chalice - Hotswap PCB - -![Chalice](https://i.imgur.com/2KwXyvB.jpg) - -A 40% made by Owlab. - -* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) -* Hardware Supported: Chalice Hotswap PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/eNQXblgrn7oL - -Make example for this keyboard (after setting up your build environment): - - make owlab/chalice/hotswap:default - -Flashing example for this keyboard: - - make owlab/chalice/hotswap:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/chalice/hotswap/rules.mk b/keyboards/owlab/chalice/hotswap/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/owlab/chalice/hotswap/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/info.json b/keyboards/owlab/chalice/solder/info.json deleted file mode 100644 index 1b7bf0e5b5ee..000000000000 --- a/keyboards/owlab/chalice/solder/info.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "keyboard_name": "Chalice Solder", - "manufacturer": "Owlab", - "url": "", - "maintainer": "Owlab", - "usb": { - "vid": "0x4F53", - "pid": "0x4353", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6" ], - "rows": ["A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "B4", "pin_b": "B5", "resolution": 4}, - {"pin_a": "B9", "pin_b": "B8", "resolution": 4} - ] - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "encoder": true, - "nkro": true - }, - "qmk": { - "tap_keycode_delay": 10 - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_sol": { - "layout": [ - {"matrix": [0, 0], "x":0.85, "y":0}, - {"matrix": [0, 1], "x":1.85, "y":0}, - {"matrix": [0, 2], "x":2.85, "y":0}, - {"matrix": [0, 3], "x":3.85, "y":0}, - {"matrix": [0, 4], "x":4.85, "y":0}, - {"matrix": [0, 5], "x":5.85, "y":0}, - {"matrix": [0, 6], "x":6.85, "y":0}, - {"matrix": [0, 7], "x":7.85, "y":0}, - {"matrix": [0, 8], "x":8.85, "y":0}, - {"matrix": [0, 9], "x":9.85, "y":0}, - {"matrix": [0, 10], "x":10.85, "y":0}, - {"matrix": [0, 11], "x":11.85, "y":0, "w":1.5}, - {"matrix": [1, 0], "x":0.25, "y":1, "w":1.75}, - {"matrix": [1, 1], "x":2, "y":1}, - {"matrix": [1, 2], "x":3, "y":1}, - {"matrix": [1, 3], "x":4, "y":1}, - {"matrix": [1, 4], "x":5, "y":1}, - {"matrix": [1, 5], "x":6, "y":1}, - {"matrix": [1, 6], "x":7, "y":1}, - {"matrix": [1, 7], "x":8, "y":1}, - {"matrix": [1, 8], "x":9, "y":1}, - {"matrix": [1, 9], "x":10, "y":1}, - {"matrix": [1, 10], "x":11, "y":1}, - {"matrix": [1, 11], "x":12, "y":1, "w":1.75}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.25}, - {"matrix": [3, 1], "x":1.25, "y":2}, - {"matrix": [2, 1], "x":2.25, "y":2}, - {"matrix": [2, 2], "x":3.25, "y":2}, - {"matrix": [2, 3], "x":4.25, "y":2}, - {"matrix": [2, 4], "x":5.25, "y":2}, - {"matrix": [3, 4], "x":6.25, "y":2}, - {"matrix": [2, 5], "x":7.25, "y":2}, - {"matrix": [2, 6], "x":8.25, "y":2}, - {"matrix": [2, 7], "x":9.25, "y":2}, - {"matrix": [2, 8], "x":10.25, "y":2}, - {"matrix": [2, 9], "x":11.25, "y":2}, - {"matrix": [2, 10], "x":12.25, "y":2}, - {"matrix": [2, 11], "x":13.25, "y":2, "w":1.25}, - {"matrix": [3, 0], "x":0, "y":3}, - {"matrix": [3, 8], "x":1, "y":3}, - {"matrix": [3, 2], "x":2, "y":3}, - {"matrix": [3, 3], "x":3, "y":3, "w":2}, - {"matrix": [3, 5], "x":5, "y":3}, - {"matrix": [3, 6], "x":6, "y":3}, - {"matrix": [3, 7], "x":7, "y":3, "w":2}, - {"matrix": [3, 9], "x":9, "y":3}, - {"matrix": [3, 10], "x":10, "y":3}, - {"matrix": [3, 11], "x":11, "y":3} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/keymaps/default/keymap.c b/keyboards/owlab/chalice/solder/keymaps/default/keymap.c deleted file mode 100644 index f914e9c6e467..000000000000 --- a/keyboards/owlab/chalice/solder/keymaps/default/keymap.c +++ /dev/null @@ -1,56 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_sol( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_sol( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, - KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_RALT, KC_TRNS, KC_RCTL - ) -}; - - -#ifdef ENCODER_ENABLE - bool encoder_update_user(uint8_t index, bool clockwise) { - - if (index == 0) { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(2, 1, 4)); - } else { - tap_code(dynamic_keymap_get_keycode(2, 1, 5)); - } - } else { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(2, 1, 7)); - } else { - tap_code(dynamic_keymap_get_keycode(2, 1, 6)); - } - } - return false; - } -#endif \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/keymaps/via/keymap.c b/keyboards/owlab/chalice/solder/keymaps/via/keymap.c deleted file mode 100644 index f914e9c6e467..000000000000 --- a/keyboards/owlab/chalice/solder/keymaps/via/keymap.c +++ /dev/null @@ -1,56 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_sol( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_sol( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_ENT, - KC_LSFT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_RALT, KC_TRNS, KC_RCTL - ) -}; - - -#ifdef ENCODER_ENABLE - bool encoder_update_user(uint8_t index, bool clockwise) { - - if (index == 0) { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(2, 1, 4)); - } else { - tap_code(dynamic_keymap_get_keycode(2, 1, 5)); - } - } else { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(2, 1, 7)); - } else { - tap_code(dynamic_keymap_get_keycode(2, 1, 6)); - } - } - return false; - } -#endif \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/keymaps/via/rules.mk b/keyboards/owlab/chalice/solder/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/owlab/chalice/solder/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/owlab/chalice/solder/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/readme.md b/keyboards/owlab/chalice/solder/readme.md deleted file mode 100644 index ec2007a595e6..000000000000 --- a/keyboards/owlab/chalice/solder/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# Chalice - Solder PCB - -![Chalice](https://i.imgur.com/2KwXyvBh.jpg) - -A 40% made by Owlab. - -* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) -* Hardware Supported: Chalice solder PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/eNQXblgrn7oL - -Make example for this keyboard (after setting up your build environment): - - make owlab/chalice/solder:default - -Flashing example for this keyboard: - - make owlab/chalice/solder:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/chalice/solder/rules.mk b/keyboards/owlab/chalice/solder/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/owlab/chalice/solder/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/info.json b/keyboards/owlab/link/hotswap/info.json deleted file mode 100644 index d191e5cc8b34..000000000000 --- a/keyboards/owlab/link/hotswap/info.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "keyboard_name": "LINK Hotswap", - "manufacturer": "Owlab", - "url": "", - "maintainer": "Owlab", - "usb": { - "vid": "0x4F53", - "pid": "0x4C49", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], - "rows": ["A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_hot": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8], "x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [0, 13], "x":13, "y":0, "w":2}, - {"matrix": [0, 14], "x":15, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, - {"matrix": [1, 14], "x":15, "y":1}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, - {"matrix": [2, 14], "x":15, "y":2}, - {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 13], "x":14, "y":3}, - {"matrix": [3, 14], "x":15, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, - {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, - {"matrix": [4, 4], "x":3.75, "y":4, "w":6.25}, - {"matrix": [4, 7], "x":10, "y":4, "w":1.25}, - {"matrix": [4, 8], "x":11.25, "y":4, "w":1.25}, - {"matrix": [4, 12], "x":13, "y":4}, - {"matrix": [4, 13], "x":14, "y":4}, - {"matrix": [4, 14], "x":15, "y":4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/keymaps/default/keymap.c b/keyboards/owlab/link/hotswap/keymaps/default/keymap.c deleted file mode 100644 index eb177eb429b6..000000000000 --- a/keyboards/owlab/link/hotswap/keymaps/default/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hot( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/keymaps/via/keymap.c b/keyboards/owlab/link/hotswap/keymaps/via/keymap.c deleted file mode 100644 index eb177eb429b6..000000000000 --- a/keyboards/owlab/link/hotswap/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hot( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/keymaps/via/rules.mk b/keyboards/owlab/link/hotswap/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/owlab/link/hotswap/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/owlab/link/hotswap/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/readme.md b/keyboards/owlab/link/hotswap/readme.md deleted file mode 100644 index 1e4adc803679..000000000000 --- a/keyboards/owlab/link/hotswap/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# LINK - hotswap PCB - -![LINK](https://i.imgur.com/tbeeWsph.jpg) - -A 65% made by Owlab. - -* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) -* Hardware Supported: LINK Hotswap PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2Q1oO6EjVBqR - -Make example for this keyboard (after setting up your build environment): - - make owlab/link/hotswap:default - -Flashing example for this keyboard: - - make owlab/link/hotswap:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/link/hotswap/rules.mk b/keyboards/owlab/link/hotswap/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/owlab/link/hotswap/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/owlab/link/solder/info.json b/keyboards/owlab/link/solder/info.json deleted file mode 100644 index b9ad3c213ad8..000000000000 --- a/keyboards/owlab/link/solder/info.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "keyboard_name": "LINK Solder", - "manufacturer": "Owlab", - "url": "", - "maintainer": "Owlab", - "usb": { - "vid": "0x4F53", - "pid": "0x4C53", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], - "rows": ["A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_sol": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8], "x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [2, 12], "x":13, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, - {"matrix": [1, 14], "x":15, "y":1}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, - {"matrix": [2, 14], "x":15, "y":2}, - {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 13], "x":14, "y":3}, - {"matrix": [3, 14], "x":15, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, - {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, - {"matrix": [4, 4], "x":3.75, "y":4, "w":6.25}, - {"matrix": [4, 7], "x":10, "y":4, "w":1.25}, - {"matrix": [4, 8], "x":11.25, "y":4, "w":1.25}, - {"matrix": [4, 12], "x":13, "y":4}, - {"matrix": [4, 13], "x":14, "y":4}, - {"matrix": [4, 14], "x":15, "y":4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/owlab/link/solder/keymaps/default/keymap.c b/keyboards/owlab/link/solder/keymaps/default/keymap.c deleted file mode 100644 index 9c4599b66bb7..000000000000 --- a/keyboards/owlab/link/solder/keymaps/default/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_sol( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_sol( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/owlab/link/solder/keymaps/via/keymap.c b/keyboards/owlab/link/solder/keymaps/via/keymap.c deleted file mode 100644 index 9c4599b66bb7..000000000000 --- a/keyboards/owlab/link/solder/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Owlab - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_sol( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_sol( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/owlab/link/solder/keymaps/via/rules.mk b/keyboards/owlab/link/solder/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/owlab/link/solder/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/owlab/link/solder/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/owlab/link/solder/readme.md b/keyboards/owlab/link/solder/readme.md deleted file mode 100644 index 0ceb69b0e60b..000000000000 --- a/keyboards/owlab/link/solder/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# LINK - solder PCB - -![LINK](https://i.imgur.com/tbeeWsph.jpg) - -A 65% made by Owlab. - -* Keyboard Maintainer: [Owlab](https://github.com/owlab-git) -* Hardware Supported: LINK solder PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2Q1oO6EjVBqR - -Make example for this keyboard (after setting up your build environment): - - make owlab/link/solder:default - -Flashing example for this keyboard: - - make owlab/link/solder:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/owlab/link/solder/rules.mk b/keyboards/owlab/link/solder/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/owlab/link/solder/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/info.json b/keyboards/qwertykeys/qk60/info.json deleted file mode 100644 index 2a01f5f2bdfa..000000000000 --- a/keyboards/qwertykeys/qk60/info.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "keyboard_name": "QK60", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x3630", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6" ], - "rows": ["A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8], "x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [0, 13], "x":13, "y":0}, - {"matrix": [1, 13], "x":14, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [2, 13], "x":13.5, "y":1, "w":1.5}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 12], "x":12.75, "y":2, "w":2.25}, - {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 12], "x":14, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.5}, - {"matrix": [4, 1], "x":1.5, "y":4, "w":1}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.5}, - {"matrix": [4, 3], "x":4, "y":4, "w":1}, - {"matrix": [4, 5], "x":5, "y":4, "w":2.25}, - {"matrix": [4, 6], "x":4, "y":4, "w":7}, - {"matrix": [4, 7], "x":7.25, "y":4, "w":2.75}, - {"matrix": [4, 10], "x":10, "y":4, "w":1}, - {"matrix": [4, 11], "x":11, "y":4, "w":1.5}, - {"matrix": [4, 12], "x":12.5, "y":4, "w":1}, - {"matrix": [4, 13], "x":13.5, "y":4, "w":1.5} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/keymaps/default/keymap.c b/keyboards/qwertykeys/qk60/keymaps/default/keymap.c deleted file mode 100644 index efb5a6f0dbb7..000000000000 --- a/keyboards/qwertykeys/qk60/keymaps/default/keymap.c +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, KC_RGUI,KC_RCTL - ), - [1] = LAYOUT( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/keymaps/via/keymap.c b/keyboards/qwertykeys/qk60/keymaps/via/keymap.c deleted file mode 100644 index efb5a6f0dbb7..000000000000 --- a/keyboards/qwertykeys/qk60/keymaps/via/keymap.c +++ /dev/null @@ -1,36 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, KC_RGUI,KC_RCTL - ), - [1] = LAYOUT( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/keymaps/via/rules.mk b/keyboards/qwertykeys/qk60/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/qwertykeys/qk60/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk60/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/readme.md b/keyboards/qwertykeys/qk60/readme.md deleted file mode 100644 index d0b1247e8828..000000000000 --- a/keyboards/qwertykeys/qk60/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk60 - PCB - -![qk60](https://i.imgur.com/qX4GAePh.jpg) - -A 60% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk60 PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/4oK8b0gKLPYW - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk60:default - -Flashing example for this keyboard: - - make qwertykeys/qk60:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk60/rules.mk b/keyboards/qwertykeys/qk60/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk60/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/info.json b/keyboards/qwertykeys/qk65/iso/info.json deleted file mode 100644 index edcf36e77bc0..000000000000 --- a/keyboards/qwertykeys/qk65/iso/info.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "keyboard_name": "QK65 ISO", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x5149", - "device_version": "0.0.2" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], - "rows": ["A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_iso": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8], "x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [1, 13], "x":13, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [1, 14], "x":15, "y":1}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 12], "x":12.75, "y":2}, - {"matrix": [2, 13], "x":13.75, "y":1, "w":1.25, "h":2}, - {"matrix": [2, 14], "x":15, "y":2}, - {"matrix": [3, 0], "x":0, "y":3, "w":1.25}, - {"matrix": [4, 3], "x":1.25, "y":3}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 13], "x":14, "y":3}, - {"matrix": [3, 14], "x":15, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.5}, - {"matrix": [4, 1], "x":1.5, "y":4, "w":1}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.5}, - {"matrix": [4, 4], "x":4, "y":4, "w":7}, - {"matrix": [4, 8], "x":11, "y":4, "w":1.5}, - {"matrix": [4, 12], "x":13, "y":4}, - {"matrix": [4, 13], "x":14, "y":4}, - {"matrix": [4, 14], "x":15, "y":4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c b/keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c deleted file mode 100644 index a99231c49ec2..000000000000 --- a/keyboards/qwertykeys/qk65/iso/keymaps/default/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_iso( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_iso( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c b/keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c deleted file mode 100644 index a99231c49ec2..000000000000 --- a/keyboards/qwertykeys/qk65/iso/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_iso( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_iso( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk b/keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/qwertykeys/qk65/iso/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk65/iso/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/readme.md b/keyboards/qwertykeys/qk65/iso/readme.md deleted file mode 100644 index 145c704869f6..000000000000 --- a/keyboards/qwertykeys/qk65/iso/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk65 - iso PCB - -![qk65](https://i.imgur.com/BnZl8Xzh.jpg) - -A 65% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk65 iso PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2dAB7MbpgBPp - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk65/iso:default - -Flashing example for this keyboard: - - make qwertykeys/qk65/iso:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/iso/rules.mk b/keyboards/qwertykeys/qk65/iso/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk65/iso/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/info.json b/keyboards/qwertykeys/qk65/r2/info.json deleted file mode 100644 index e10c5b68878c..000000000000 --- a/keyboards/qwertykeys/qk65/r2/info.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "keyboard_name": "QK65 Hotswap R2", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x514B", - "device_version": "0.0.2" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], - "rows": ["A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_hotswap": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1, "y":0}, - {"matrix": [0, 2], "x":2, "y":0}, - {"matrix": [0, 3], "x":3, "y":0}, - {"matrix": [0, 4], "x":4, "y":0}, - {"matrix": [0, 5], "x":5, "y":0}, - {"matrix": [0, 6], "x":6, "y":0}, - {"matrix": [0, 7], "x":7, "y":0}, - {"matrix": [0, 8], "x":8, "y":0}, - {"matrix": [0, 9], "x":9, "y":0}, - {"matrix": [0, 10], "x":10, "y":0}, - {"matrix": [0, 11], "x":11, "y":0}, - {"matrix": [0, 12], "x":12, "y":0}, - {"matrix": [0, 13], "x":13, "y":0, "w":2}, - {"matrix": [0, 14], "x":15, "y":0}, - {"matrix": [1, 0], "x":0, "y":1, "w":1.5}, - {"matrix": [1, 1], "x":1.5, "y":1}, - {"matrix": [1, 2], "x":2.5, "y":1}, - {"matrix": [1, 3], "x":3.5, "y":1}, - {"matrix": [1, 4], "x":4.5, "y":1}, - {"matrix": [1, 5], "x":5.5, "y":1}, - {"matrix": [1, 6], "x":6.5, "y":1}, - {"matrix": [1, 7], "x":7.5, "y":1}, - {"matrix": [1, 8], "x":8.5, "y":1}, - {"matrix": [1, 9], "x":9.5, "y":1}, - {"matrix": [1, 10], "x":10.5, "y":1}, - {"matrix": [1, 11], "x":11.5, "y":1}, - {"matrix": [1, 12], "x":12.5, "y":1}, - {"matrix": [1, 13], "x":13.5, "y":1, "w":1.5}, - {"matrix": [1, 14], "x":15, "y":1}, - {"matrix": [2, 0], "x":0, "y":2, "w":1.75}, - {"matrix": [2, 1], "x":1.75, "y":2}, - {"matrix": [2, 2], "x":2.75, "y":2}, - {"matrix": [2, 3], "x":3.75, "y":2}, - {"matrix": [2, 4], "x":4.75, "y":2}, - {"matrix": [2, 5], "x":5.75, "y":2}, - {"matrix": [2, 6], "x":6.75, "y":2}, - {"matrix": [2, 7], "x":7.75, "y":2}, - {"matrix": [2, 8], "x":8.75, "y":2}, - {"matrix": [2, 9], "x":9.75, "y":2}, - {"matrix": [2, 10], "x":10.75, "y":2}, - {"matrix": [2, 11], "x":11.75, "y":2}, - {"matrix": [2, 13], "x":12.75, "y":2, "w":2.25}, - {"matrix": [2, 14], "x":15, "y":2}, - {"matrix": [3, 0], "x":0, "y":3, "w":2.25}, - {"matrix": [3, 1], "x":2.25, "y":3}, - {"matrix": [3, 2], "x":3.25, "y":3}, - {"matrix": [3, 3], "x":4.25, "y":3}, - {"matrix": [3, 4], "x":5.25, "y":3}, - {"matrix": [3, 5], "x":6.25, "y":3}, - {"matrix": [3, 6], "x":7.25, "y":3}, - {"matrix": [3, 7], "x":8.25, "y":3}, - {"matrix": [3, 8], "x":9.25, "y":3}, - {"matrix": [3, 9], "x":10.25, "y":3}, - {"matrix": [3, 10], "x":11.25, "y":3}, - {"matrix": [3, 11], "x":12.25, "y":3, "w":1.75}, - {"matrix": [3, 13], "x":14, "y":3}, - {"matrix": [3, 14], "x":15, "y":3}, - {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, - {"matrix": [4, 1], "x":1.25, "y":4, "w":1.25}, - {"matrix": [4, 2], "x":2.5, "y":4, "w":1.25}, - {"matrix": [4, 4], "x":3.75, "y":4, "w":6.25}, - {"matrix": [4, 7], "x":10, "y":4, "w":1.25}, - {"matrix": [4, 8], "x":11.25, "y":4, "w":1.25}, - {"matrix": [4, 12], "x":13, "y":4}, - {"matrix": [4, 13], "x":14, "y":4}, - {"matrix": [4, 14], "x":15, "y":4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c b/keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c deleted file mode 100644 index f15374d60a10..000000000000 --- a/keyboards/qwertykeys/qk65/r2/keymaps/default/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hotswap( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hotswap( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c b/keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c deleted file mode 100644 index f15374d60a10..000000000000 --- a/keyboards/qwertykeys/qk65/r2/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hotswap( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hotswap( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, - KC_TRNS, KC_F13, KC_F14, KC_F15, KC_F16, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk b/keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/qwertykeys/qk65/r2/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk65/r2/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/readme.md b/keyboards/qwertykeys/qk65/r2/readme.md deleted file mode 100644 index b4f88e932c96..000000000000 --- a/keyboards/qwertykeys/qk65/r2/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk65 - Hotswap R2 PCB - -![qk65](https://i.imgur.com/kFhx5qSh.jpg) - -A 65% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk65 hotswap r2 PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/2dAB7MbpgBPp - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk65/r2:default - -Flashing example for this keyboard: - - make qwertykeys/qk65/r2:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk65/r2/rules.mk b/keyboards/qwertykeys/qk65/r2/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk65/r2/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/info.json b/keyboards/qwertykeys/qk75/hotswap_ansi/info.json deleted file mode 100644 index 3aaf73fb08a2..000000000000 --- a/keyboards/qwertykeys/qk75/hotswap_ansi/info.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "keyboard_name": "QK75 ANSI", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x3741", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], - "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "B4", "pin_b": "B5", "resolution": 4} - ] - }, - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "encoder": true, - "nkro": true - }, - "qmk": { - "tap_keycode_delay": 10 - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_hot": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1.25, "y":0}, - {"matrix": [0, 2], "x":2.25, "y":0}, - {"matrix": [0, 3], "x":3.25, "y":0}, - {"matrix": [0, 4], "x":4.25, "y":0}, - {"matrix": [0, 5], "x":5.5, "y":0}, - {"matrix": [0, 6], "x":6.5, "y":0}, - {"matrix": [0, 7], "x":7.5, "y":0}, - {"matrix": [0, 8], "x":8.5, "y":0}, - {"matrix": [0, 9], "x":9.75, "y":0}, - {"matrix": [0, 10], "x":10.75, "y":0}, - {"matrix": [0, 11], "x":11.75, "y":0}, - {"matrix": [0, 12], "x":12.75, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15.25, "y":0}, - {"matrix": [4, 12], "x":16.25, "y":0}, - {"matrix": [4, 14], "x":17.25, "y":0}, - {"matrix": [1, 0], "x":0, "y":1.25}, - {"matrix": [1, 1], "x":1, "y":1.25}, - {"matrix": [1, 2], "x":2, "y":1.25}, - {"matrix": [1, 3], "x":3, "y":1.25}, - {"matrix": [1, 4], "x":4, "y":1.25}, - {"matrix": [1, 5], "x":5, "y":1.25}, - {"matrix": [1, 6], "x":6, "y":1.25}, - {"matrix": [1, 7], "x":7, "y":1.25}, - {"matrix": [1, 8], "x":8, "y":1.25}, - {"matrix": [1, 9], "x":9, "y":1.25}, - {"matrix": [1, 10], "x":10, "y":1.25}, - {"matrix": [1, 11], "x":11, "y":1.25}, - {"matrix": [1, 12], "x":12, "y":1.25}, - {"matrix": [2, 13], "x":13, "y":1.25}, - {"matrix": [1, 13], "x":14, "y":1.25}, - {"matrix": [1, 14], "x":15.25, "y":1.25}, - {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, - {"matrix": [2, 1], "x":1.5, "y":2.25}, - {"matrix": [2, 2], "x":2.5, "y":2.25}, - {"matrix": [2, 3], "x":3.5, "y":2.25}, - {"matrix": [2, 4], "x":4.5, "y":2.25}, - {"matrix": [2, 5], "x":5.5, "y":2.25}, - {"matrix": [2, 6], "x":6.5, "y":2.25}, - {"matrix": [2, 7], "x":7.5, "y":2.25}, - {"matrix": [2, 8], "x":8.5, "y":2.25}, - {"matrix": [2, 9], "x":9.5, "y":2.25}, - {"matrix": [2, 10], "x":10.5, "y":2.25}, - {"matrix": [2, 11], "x":11.5, "y":2.25}, - {"matrix": [2, 12], "x":12.5, "y":2.25}, - {"matrix": [3, 12], "x":13.5, "y":2.25, "w":1.5}, - {"matrix": [2, 14], "x":15.25, "y":2.25}, - {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, - {"matrix": [3, 1], "x":1.75, "y":3.25}, - {"matrix": [3, 2], "x":2.75, "y":3.25}, - {"matrix": [3, 3], "x":3.75, "y":3.25}, - {"matrix": [3, 4], "x":4.75, "y":3.25}, - {"matrix": [3, 5], "x":5.75, "y":3.25}, - {"matrix": [3, 6], "x":6.75, "y":3.25}, - {"matrix": [3, 7], "x":7.75, "y":3.25}, - {"matrix": [3, 8], "x":8.75, "y":3.25}, - {"matrix": [3, 9], "x":9.75, "y":3.25}, - {"matrix": [3, 10], "x":10.75, "y":3.25}, - {"matrix": [3, 11], "x":11.75, "y":3.25}, - {"matrix": [3, 13], "x":12.75, "y":2.25, "w":2.25}, - {"matrix": [3, 14], "x":15.25, "y":3.25}, - {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, - {"matrix": [4, 1], "x":2.25, "y":4.25}, - {"matrix": [4, 2], "x":3.25, "y":4.25}, - {"matrix": [4, 3], "x":4.25, "y":4.25}, - {"matrix": [4, 4], "x":5.25, "y":4.25}, - {"matrix": [4, 5], "x":6.25, "y":4.25}, - {"matrix": [4, 6], "x":7.25, "y":4.25}, - {"matrix": [4, 7], "x":8.25, "y":4.25}, - {"matrix": [4, 8], "x":9.25, "y":4.25}, - {"matrix": [4, 9], "x":10.25, "y":4.25}, - {"matrix": [4, 10], "x":11.25, "y":4.25}, - {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, - {"matrix": [4, 13], "x":14.25, "y":4.5}, - {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, - {"matrix": [5, 2], "x":1.25, "y":5.25, "w":1.25}, - {"matrix": [5, 3], "x":2.5, "y":5.25, "w":1.25}, - {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, - {"matrix": [5, 9], "x":10, "y":5.25, "w":1.25}, - {"matrix": [5, 10], "x":11.25, "y":5.25, "w":1.25}, - {"matrix": [5, 12], "x":12.75, "y":5.5}, - {"matrix": [5, 13], "x":13.75, "y":5.5}, - {"matrix": [5, 14], "x":14.75, "y":5.5} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c deleted file mode 100644 index e164e41ed3c8..000000000000 --- a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/default/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hot( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) - -}; - - -#ifdef ENCODER_ENABLE - bool encoder_update_user(uint8_t index, bool clockwise) { - - if (index == 0) { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); - } else { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); - } - } - return false; - } -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c deleted file mode 100644 index 7adeb0cdd423..000000000000 --- a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_hot( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_hot( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) - -}; - - -#ifdef ENCODER_ENABLE - bool encoder_update_user(uint8_t index, bool clockwise) { - - if (index == 0) { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); - } else { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); - } - } - return false; - } -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk b/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/qwertykeys/qk75/hotswap_ansi/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk75/hotswap_ansi/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/readme.md b/keyboards/qwertykeys/qk75/hotswap_ansi/readme.md deleted file mode 100644 index 21ac520b30d0..000000000000 --- a/keyboards/qwertykeys/qk75/hotswap_ansi/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk75 - ANSI PCB - -![qk75](https://i.imgur.com/h4YVgj2h.jpg) - -A 75% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk75 ANSI PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/9XL095J5zOzb - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk75/hotswap_ansi:default - -Flashing example for this keyboard: - - make qwertykeys/qk75/hotswap_ansi:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk b/keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk75/hotswap_ansi/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/info.json b/keyboards/qwertykeys/qk75/solder/info.json deleted file mode 100644 index 3fd76aa8bba7..000000000000 --- a/keyboards/qwertykeys/qk75/solder/info.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "keyboard_name": "QK75 Solder", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x3735", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], - "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "encoder": { - "rotary": [ - {"pin_a": "B4", "pin_b": "B5", "resolution": 4} - ] - }, - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "encoder": true, - "nkro": true - }, - "qmk": { - "tap_keycode_delay": 10 - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "layouts": { - "LAYOUT_sol": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1.25, "y":0}, - {"matrix": [0, 2], "x":2.25, "y":0}, - {"matrix": [0, 3], "x":3.25, "y":0}, - {"matrix": [0, 4], "x":4.25, "y":0}, - {"matrix": [0, 5], "x":5.5, "y":0}, - {"matrix": [0, 6], "x":6.5, "y":0}, - {"matrix": [0, 7], "x":7.5, "y":0}, - {"matrix": [0, 8], "x":8.5, "y":0}, - {"matrix": [0, 9], "x":9.75, "y":0}, - {"matrix": [0, 10], "x":10.75, "y":0}, - {"matrix": [0, 11], "x":11.75, "y":0}, - {"matrix": [0, 12], "x":12.75, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15.25, "y":0}, - {"matrix": [4, 12], "x":16.25, "y":0}, - {"matrix": [4, 14], "x":17.25, "y":0}, - {"matrix": [1, 0], "x":0, "y":1.25}, - {"matrix": [1, 1], "x":1, "y":1.25}, - {"matrix": [1, 2], "x":2, "y":1.25}, - {"matrix": [1, 3], "x":3, "y":1.25}, - {"matrix": [1, 4], "x":4, "y":1.25}, - {"matrix": [1, 5], "x":5, "y":1.25}, - {"matrix": [1, 6], "x":6, "y":1.25}, - {"matrix": [1, 7], "x":7, "y":1.25}, - {"matrix": [1, 8], "x":8, "y":1.25}, - {"matrix": [1, 9], "x":9, "y":1.25}, - {"matrix": [1, 10], "x":10, "y":1.25}, - {"matrix": [1, 11], "x":11, "y":1.25}, - {"matrix": [1, 12], "x":12, "y":1.25}, - {"matrix": [2, 13], "x":13, "y":1.25}, - {"matrix": [1, 13], "x":14, "y":1.25}, - {"matrix": [1, 14], "x":15.25, "y":1.25}, - {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, - {"matrix": [2, 1], "x":1.5, "y":2.25}, - {"matrix": [2, 2], "x":2.5, "y":2.25}, - {"matrix": [2, 3], "x":3.5, "y":2.25}, - {"matrix": [2, 4], "x":4.5, "y":2.25}, - {"matrix": [2, 5], "x":5.5, "y":2.25}, - {"matrix": [2, 6], "x":6.5, "y":2.25}, - {"matrix": [2, 7], "x":7.5, "y":2.25}, - {"matrix": [2, 8], "x":8.5, "y":2.25}, - {"matrix": [2, 9], "x":9.5, "y":2.25}, - {"matrix": [2, 10], "x":10.5, "y":2.25}, - {"matrix": [2, 11], "x":11.5, "y":2.25}, - {"matrix": [2, 12], "x":12.5, "y":2.25}, - {"matrix": [2, 14], "x":15.25, "y":2.25}, - {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, - {"matrix": [3, 1], "x":1.75, "y":3.25}, - {"matrix": [3, 2], "x":2.75, "y":3.25}, - {"matrix": [3, 3], "x":3.75, "y":3.25}, - {"matrix": [3, 4], "x":4.75, "y":3.25}, - {"matrix": [3, 5], "x":5.75, "y":3.25}, - {"matrix": [3, 6], "x":6.75, "y":3.25}, - {"matrix": [3, 7], "x":7.75, "y":3.25}, - {"matrix": [3, 8], "x":8.75, "y":3.25}, - {"matrix": [3, 9], "x":9.75, "y":3.25}, - {"matrix": [3, 10], "x":10.75, "y":3.25}, - {"matrix": [3, 11], "x":11.75, "y":3.25}, - {"matrix": [3, 12], "x":12.75, "y":3.25}, - {"matrix": [3, 13], "x":13.75, "y":2.25, "w":1.25, "h":2}, - {"matrix": [3, 14], "x":15.25, "y":3.25}, - {"matrix": [4, 0], "x":0, "y":4.25, "w":1.25}, - {"matrix": [5, 1], "x":1.25, "y":4.25}, - {"matrix": [4, 1], "x":2.25, "y":4.25}, - {"matrix": [4, 2], "x":3.25, "y":4.25}, - {"matrix": [4, 3], "x":4.25, "y":4.25}, - {"matrix": [4, 4], "x":5.25, "y":4.25}, - {"matrix": [4, 5], "x":6.25, "y":4.25}, - {"matrix": [4, 6], "x":7.25, "y":4.25}, - {"matrix": [4, 7], "x":8.25, "y":4.25}, - {"matrix": [4, 8], "x":9.25, "y":4.25}, - {"matrix": [4, 9], "x":10.25, "y":4.25}, - {"matrix": [4, 10], "x":11.25, "y":4.25}, - {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, - {"matrix": [4, 13], "x":14.25, "y":4.5}, - {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, - {"matrix": [5, 2], "x":1.25, "y":5.25, "w":1.25}, - {"matrix": [5, 3], "x":2.5, "y":5.25, "w":1.25}, - {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, - {"matrix": [5, 9], "x":10, "y":5.25, "w":1.25}, - {"matrix": [5, 10], "x":11.25, "y":5.25, "w":1.25}, - {"matrix": [5, 12], "x":12.75, "y":5.5}, - {"matrix": [5, 13], "x":13.75, "y":5.5}, - {"matrix": [5, 14], "x":14.75, "y":5.5} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c b/keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c deleted file mode 100644 index b9c93d04474c..000000000000 --- a/keyboards/qwertykeys/qk75/solder/keymaps/default/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_sol( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_sol( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) - -}; - - -#ifdef ENCODER_ENABLE - bool encoder_update_user(uint8_t index, bool clockwise) { - - if (index == 0) { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); - } else { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); - } - } - return false; - } -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c b/keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c deleted file mode 100644 index b9c93d04474c..000000000000 --- a/keyboards/qwertykeys/qk75/solder/keymaps/via/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -/* -Copyright 2022 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_sol( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_MUTE, KC_VOLD, KC_VOLU, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_sol( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) - -}; - - -#ifdef ENCODER_ENABLE - bool encoder_update_user(uint8_t index, bool clockwise) { - - if (index == 0) { - if (clockwise) { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 14)); - } else { - tap_code(dynamic_keymap_get_keycode(biton32(layer_state), 4, 12)); - } - } - return false; - } -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk b/keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/qwertykeys/qk75/solder/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk75/solder/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/readme.md b/keyboards/qwertykeys/qk75/solder/readme.md deleted file mode 100644 index 9e20b9c2f1bc..000000000000 --- a/keyboards/qwertykeys/qk75/solder/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk75 - Solder PCB - -![qk75](https://i.imgur.com/h4YVgj2h.jpg) - -A 75% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk75 solder PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/9XL095J5zOzb - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk75/solder:default - -Flashing example for this keyboard: - - make qwertykeys/qk75/solder:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk75/solder/rules.mk b/keyboards/qwertykeys/qk75/solder/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk75/solder/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/ansi.c b/keyboards/qwertykeys/qk80/ansi/ansi.c deleted file mode 100644 index c7abd4db0807..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/ansi.c +++ /dev/null @@ -1,218 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#include "ansi.h" - -#ifdef RGB_MATRIX_ENABLE -const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { - {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ - {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ - {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ - {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ - {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ - {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ - {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ - {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ - {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ - {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ - {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ - {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ - {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ - {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB13-F13 */ - {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-PSc */ - {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB15-ScrLk */ - {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB16-Pause */ - - {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ - {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ - {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ - {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ - {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ - {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ - {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ - {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ - {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ - {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ - {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ - {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ - {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ - {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB30-BS */ - {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB31-Insert */ - {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB32-Home */ - {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB33-PageUp */ - - {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB34-TAB ----ROW2*/ - {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB35-Q */ - {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB36-W */ - {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB37-E */ - {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB38-R */ - {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB39-T */ - {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB40-Y */ - {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB41-U */ - {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB42-I */ - {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB43-O */ - {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB44-P */ - {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB45-[ */ - {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB46-] */ - {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB47-\ */ - {0, CS26_SW8, CS27_SW8, CS25_SW8}, /* RGB48-Delete */ - {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB49-End */ - {0, CS32_SW6, CS33_SW6, CS31_SW6}, /* RGB50-PageDown */ - - {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB51-CAPS---ROW3*/ - {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB52-A-- */ - {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB53-S-- */ - {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB54-D */ - {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB55-F */ - {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB56-G */ - {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB57-H */ - {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB58-J */ - {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB59-K */ - {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB60-L */ - {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB61-;: */ - {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB62-'" */ - {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB63-ENTER */ - - {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB64-LSF --ROW4*/ - {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB65-Z */ - {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB66-X */ - {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB67-C */ - {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB68-V */ - {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB69-B */ - {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB70-N */ - {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB71-M */ - {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB72-,< */ - {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB73->. */ - {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB74-?/ */ - {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB75-RSF */ - {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB76-UP */ - - {0, CS2_SW6, CS3_SW6, CS1_SW6}, /* RGB77-lct-- ROW5*/ - {0, CS5_SW6, CS6_SW6, CS4_SW6}, /* RGB78-lwin */ - {0, CS8_SW6, CS9_SW6, CS7_SW6}, /* RGB79-lalt */ - {0, CS14_SW6, CS15_SW6, CS13_SW6}, /* RGB80-sp */ - {0, CS23_SW6, CS24_SW6, CS22_SW6}, /* RGB81-rwin */ - {0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB82-FN */ - {0, CS29_SW6, CS30_SW6, CS28_SW6}, /* RGB83-rctL */ - {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB84-left */ - {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB85-down */ - {0, CS29_SW9, CS30_SW9, CS28_SW9} /* RGB86-right */ -}; - -led_config_t g_led_config = { { - { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }, - { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 15 }, - { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 16 }, - { 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 31, 32 }, - { 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 33, 48, 49 }, - { 77, 78, 79, NO_LED,80, NO_LED,NO_LED, 81, 82, 83, 50, 76, 84, 85, 86 } -}, { - // LED Index to Physical Position - { 0, 0 }, { 14, 0 }, { 28, 0 }, { 42, 0 }, { 56, 0 }, { 70, 0 }, { 84, 0 }, { 98, 0 }, { 112, 0 }, { 126, 0 }, { 140, 0 }, { 154, 0 }, { 168, 0 }, { 182, 0 }, { 196, 0 }, { 210, 0 }, { 224, 0 }, - { 0, 13 }, { 14, 13 }, { 28, 13 }, { 42, 13 }, { 56, 13 }, { 70, 13 }, { 84, 13}, { 98, 13 }, { 112, 13 }, { 126, 13 }, { 140, 13 }, { 154, 13 }, { 168, 13 }, { 182, 13 }, { 196, 13 }, { 210, 13 },{ 224, 13 }, - { 0, 26 }, { 14, 26 }, { 28, 26 }, { 42, 26 }, { 56, 26 }, { 70, 26 }, { 84, 26 }, { 98, 26 }, { 112, 26 }, { 126, 26 }, { 140, 26 }, { 154, 26 }, { 168, 26 }, { 182, 26 }, { 196, 26 }, { 210, 26 },{ 224, 26 }, - { 0, 39 }, { 14, 39 }, { 28, 39 }, { 42, 39 }, { 56, 39 }, { 70, 39 }, { 84, 39 }, { 98, 39 }, { 112, 39 }, { 126, 39 }, { 140, 39 }, { 154, 39 }, { 182, 39 }, - { 0, 52 }, { 14, 52 }, { 28, 52 }, { 42, 52 }, { 56, 52 }, { 70, 52 }, { 84, 52 }, { 98, 52 }, { 112, 52 }, { 126, 52 }, { 140, 52 }, { 182, 52 }, { 210, 52 }, - { 0, 64 }, { 14, 64 }, { 28, 64 }, { 70, 64 }, { 126, 64 }, { 140, 64 }, { 182, 64 }, { 196, 64 }, { 210, 64 },{ 224, 64 } -}, { - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 1, 1, 4, 1, 1, 1, 1, 1, 1 - } -}; - - - - -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - if (record->event.pressed) { - switch(keycode) { - - case KC_F14: - rgb_matrix_toggle(); - break; - - case KC_F15: - rgb_matrix_step(); - break; - - case KC_F16: - rgb_matrix_step_reverse(); - break; - - case KC_F17: - rgb_matrix_increase_hue(); //Increase the hue for effect range LEDs - break; - - case KC_F18: - rgb_matrix_decrease_hue(); //Decrease the hue for effect range LEDs - break; - - case KC_F19: - rgb_matrix_increase_sat(); //Increase the saturation for effect range LEDs - break; - - case KC_F20: - rgb_matrix_decrease_sat(); //Decrease the saturation for effect range LEDs - break; - - case KC_F21: - rgb_matrix_increase_val(); //Increase the value for effect range LEDs - break; - - case KC_F22: - rgb_matrix_decrease_val();//Decrease the value for effect range LEDs - break; - - case KC_F23: - rgb_matrix_increase_speed();//Increase the speed of the animations - break; - - case KC_F24: - rgb_matrix_decrease_speed();//Decrease the speed of the animations - break; - - default: - break; - } - } - return process_record_user(keycode, record); -} - -void suspend_power_down_kb(void) { - rgb_matrix_set_suspend_state(true); - suspend_power_down_user(); -} - -void suspend_wakeup_init_kb(void) { - rgb_matrix_set_suspend_state(false); - suspend_wakeup_init_user(); -} - - -bool rgb_matrix_indicators_kb(void) { - if (!rgb_matrix_indicators_user()) { - return false; - } - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color(51, 0xFF, 0xFF, 0xFF); - } - return true; -} -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/ansi.h b/keyboards/qwertykeys/qk80/ansi/ansi.h deleted file mode 100644 index 6c52248e530a..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/ansi.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include "quantum.h" \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/chconf.h b/keyboards/qwertykeys/qk80/ansi/chconf.h deleted file mode 100644 index de4ca4e30467..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/chconf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define CH_CFG_ST_TIMEDELTA 0 - -#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE - -#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/config.h b/keyboards/qwertykeys/qk80/ansi/config.h deleted file mode 100644 index 0f1c038cb2c4..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/config.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -# define RGBLIGHT_DEFAULT_VAL 50 -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 -# define RGBLIGHT_SLEEP -/*== customize breathing effect ==*/ -# define RGBLIGHT_BREATHE_TABLE_SIZE 256 -# define RGBLIGHT_EFFECT_BREATHE_MAX 100 - - -/* RGB matrix */ -#ifdef RGB_MATRIX_ENABLE -// i2c setting -#define USE_I2CV1 -#define I2C1_SCL 8 -#define I2C1_SDA 9 -#define I2C1_CLOCK_SPEED 400000 -#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 -# define RGB_MATRIX_DISABLE_KEYCODES -# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects -# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended -# define RGB_MATRIX_KEYPRESSES // reacts to keypresses -# define RGB_MATRIX_LED_PROCESS_LIMIT 4 -# define RGB_MATRIX_LED_FLUSH_LIMIT 26 -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 -# define RGB_MATRIX_STARTUP_VAL 128 -# define DRIVER_ADDR_1 0b0110000 -# define DRIVER_COUNT 1 -# define RGB_MATRIX_LED_COUNT 87 - -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/halconf.h b/keyboards/qwertykeys/qk80/ansi/halconf.h deleted file mode 100644 index f3361ffdc259..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/halconf.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -* Copyright 2023 Qwertykeys -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -*/ - -#pragma once - -#define HAL_USE_I2C TRUE - -#define HAL_USE_SPI TRUE - -#define HAL_USE_PWM TRUE - -#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/info.json b/keyboards/qwertykeys/qk80/ansi/info.json deleted file mode 100644 index 889f874e2f35..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/info.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "keyboard_name": "QK80 ANSI", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x3830", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], - "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "rgblight": true, - "nkro": true, - "rgb_matrix": true - }, - "rgb_matrix": { - "driver": "IS31FL3741", - "max_brightness": 200, - "animations": { - "solid_color": true, - "alphas_mods": true, - "gradient_up_down": true, - "gradient_left_right": true, - "breathing": true, - "band_sat": true, - "band_val": true, - "band_pinwheel_sat": true, - "band_pinwheel_val": true, - "band_spiral_sat": true, - "band_spiral_val": true, - "cycle_all": true, - "cycle_left_right": true, - "cycle_up_down": true, - "cycle_out_in": true, - "cycle_out_in_dual": true, - "rainbow_moving_chevron": true, - "cycle_pinwheel": true, - "cycle_spiral": true, - "dual_beacon": true, - "rainbow_beacon": true, - "rainbow_pinwheels": true, - "raindrops": true, - "jellybean_raindrops": true, - "hue_breathing": true, - "hue_pendulum": true, - "hue_wave": true, - "pixel_fractal": true, - "pixel_flow": true, - "pixel_rain": true, - "typing_heatmap": true, - "digital_rain": true, - "solid_reactive_simple": true, - "solid_reactive": true, - "solid_reactive_wide": true, - "solid_reactive_multiwide": true, - "solid_reactive_cross": true, - "solid_reactive_multicross": true, - "solid_reactive_nexus": true, - "solid_reactive_multinexus": true, - "splash": true, - "multisplash": true, - "solid_splash": true, - "solid_multisplash": true - } - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "ws2812": { - "pin": "B5" - }, - "rgblight": { - "animations": { - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "static_gradient": true - }, - "brightness_steps": 10, - "saturation_steps": 8, - "led_count": 7, - "max_brightness": 100 - - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1.25, "y":0}, - {"matrix": [0, 2], "x":2.25, "y":0}, - {"matrix": [0, 3], "x":3.25, "y":0}, - {"matrix": [0, 4], "x":4.25, "y":0}, - {"matrix": [0, 5], "x":5.5, "y":0}, - {"matrix": [0, 6], "x":6.5, "y":0}, - {"matrix": [0, 7], "x":7.5, "y":0}, - {"matrix": [0, 8], "x":8.5, "y":0}, - {"matrix": [0, 9], "x":9.75, "y":0}, - {"matrix": [0, 10], "x":10.75, "y":0}, - {"matrix": [0, 11], "x":11.75, "y":0}, - {"matrix": [0, 12], "x":12.75, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15.25, "y":0}, - {"matrix": [1, 14], "x":16.25, "y":0}, - {"matrix": [2, 14], "x":17.25, "y":0}, - {"matrix": [1, 0], "x":0, "y":1.25}, - {"matrix": [1, 1], "x":1, "y":1.25}, - {"matrix": [1, 2], "x":2, "y":1.25}, - {"matrix": [1, 3], "x":3, "y":1.25}, - {"matrix": [1, 4], "x":4, "y":1.25}, - {"matrix": [1, 5], "x":5, "y":1.25}, - {"matrix": [1, 6], "x":6, "y":1.25}, - {"matrix": [1, 7], "x":7, "y":1.25}, - {"matrix": [1, 8], "x":8, "y":1.25}, - {"matrix": [1, 9], "x":9, "y":1.25}, - {"matrix": [1, 10], "x":10, "y":1.25}, - {"matrix": [1, 11], "x":11, "y":1.25}, - {"matrix": [1, 12], "x":12, "y":1.25}, - {"matrix": [1, 13], "x":13, "y":1.25, "w":2}, - {"matrix": [3, 13], "x":15.25, "y":1.25}, - {"matrix": [3, 14], "x":16.25, "y":1.25}, - {"matrix": [4, 12], "x":17.25, "y":1.25}, - {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, - {"matrix": [2, 1], "x":1.5, "y":2.25}, - {"matrix": [2, 2], "x":2.5, "y":2.25}, - {"matrix": [2, 3], "x":3.5, "y":2.25}, - {"matrix": [2, 4], "x":4.5, "y":2.25}, - {"matrix": [2, 5], "x":5.5, "y":2.25}, - {"matrix": [2, 6], "x":6.5, "y":2.25}, - {"matrix": [2, 7], "x":7.5, "y":2.25}, - {"matrix": [2, 8], "x":8.5, "y":2.25}, - {"matrix": [2, 9], "x":9.5, "y":2.25}, - {"matrix": [2, 10], "x":10.5, "y":2.25}, - {"matrix": [2, 11], "x":11.5, "y":2.25}, - {"matrix": [2, 12], "x":12.5, "y":2.25}, - {"matrix": [2, 13], "x":13.5, "y":2.25, "w":1.5}, - {"matrix": [4, 13], "x":15.25, "y":2.25}, - {"matrix": [4, 14], "x":16.25, "y":2.25}, - {"matrix": [5, 10], "x":17.25, "y":2.25}, - {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, - {"matrix": [3, 1], "x":1.75, "y":3.25}, - {"matrix": [3, 2], "x":2.75, "y":3.25}, - {"matrix": [3, 3], "x":3.75, "y":3.25}, - {"matrix": [3, 4], "x":4.75, "y":3.25}, - {"matrix": [3, 5], "x":5.75, "y":3.25}, - {"matrix": [3, 6], "x":6.75, "y":3.25}, - {"matrix": [3, 7], "x":7.75, "y":3.25}, - {"matrix": [3, 8], "x":8.75, "y":3.25}, - {"matrix": [3, 9], "x":9.75, "y":3.25}, - {"matrix": [3, 10], "x":10.75, "y":3.25}, - {"matrix": [3, 11], "x":11.75, "y":3.25}, - {"matrix": [3, 12], "x":12.75, "y":3.25, "w":2.25}, - {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, - {"matrix": [4, 1], "x":2.25, "y":4.25}, - {"matrix": [4, 2], "x":3.25, "y":4.25}, - {"matrix": [4, 3], "x":4.25, "y":4.25}, - {"matrix": [4, 4], "x":5.25, "y":4.25}, - {"matrix": [4, 5], "x":6.25, "y":4.25}, - {"matrix": [4, 6], "x":7.25, "y":4.25}, - {"matrix": [4, 7], "x":8.25, "y":4.25}, - {"matrix": [4, 8], "x":9.25, "y":4.25}, - {"matrix": [4, 9], "x":10.25, "y":4.25}, - {"matrix": [4, 10], "x":11.25, "y":4.25}, - {"matrix": [4, 11], "x":12.25, "y":4.25, "w":2.75}, - {"matrix": [5, 11], "x":16.25, "y":4.25}, - {"matrix": [5, 0], "x":0, "y":5.25, "w":1.5}, - {"matrix": [5, 1], "x":1.5, "y":5.25}, - {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.5}, - {"matrix": [5, 4], "x":4, "y":5.25, "w":7}, - {"matrix": [5, 7], "x":11, "y":5.25, "w":1.5}, - {"matrix": [5, 8], "x":12.5, "y":5.25}, - {"matrix": [5, 9], "x":13.5, "y":5.25, "w":1.5}, - {"matrix": [5, 12], "x":15.25, "y":5.25}, - {"matrix": [5, 13], "x":16.25, "y":5.25}, - {"matrix": [5, 14], "x":17.25, "y":5.25} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c deleted file mode 100644 index be6daa7bf32f..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/keymaps/default/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c deleted file mode 100644 index be6daa7bf32f..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/keymaps/via/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk b/keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk deleted file mode 100644 index 43061db1dd46..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/mcuconf.h b/keyboards/qwertykeys/qk80/ansi/mcuconf.h deleted file mode 100644 index 4df4dc28b748..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/mcuconf.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#include_next - -/* - * I2C driver system settings. - */ -#undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE - - -#undef STM32_PWM_USE_TIM1 -#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/readme.md b/keyboards/qwertykeys/qk80/ansi/readme.md deleted file mode 100644 index 534777147e31..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk80 - ANSI PCB - -![qk80](https://i.imgur.com/qSXHoWyh.jpg) - -A 80% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk80 ANSI PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/AoBGOwZMOmwa - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk80/ansi:default - -Flashing example for this keyboard: - - make qwertykeys/qk80/ansi:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi/rules.mk b/keyboards/qwertykeys/qk80/ansi/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk80/ansi/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c b/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c deleted file mode 100644 index 028dc6ea546d..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.c +++ /dev/null @@ -1,220 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#include "ansi_625u.h" - -#ifdef RGB_MATRIX_ENABLE -const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { - {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ - {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ - {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ - {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ - {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ - {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ - {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ - {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ - {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ - {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ - {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ - {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ - {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ - {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB13-F13 */ - {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-PSc */ - {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB15-ScrLk */ - {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB16-Pause */ - - {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ - {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ - {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ - {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ - {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ - {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ - {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ - {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ - {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ - {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ - {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ - {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ - {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ - {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB30-BS */ - {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB31-Insert */ - {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB32-Home */ - {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB33-PageUp */ - - {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB34-TAB ----ROW2*/ - {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB35-Q */ - {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB36-W */ - {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB37-E */ - {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB38-R */ - {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB39-T */ - {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB40-Y */ - {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB41-U */ - {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB42-I */ - {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB43-O */ - {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB44-P */ - {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB45-[ */ - {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB46-] */ - {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB47-\ */ - {0, CS26_SW8, CS27_SW8, CS25_SW8}, /* RGB48-Delete */ - {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB49-End */ - {0, CS32_SW6, CS33_SW6, CS31_SW6}, /* RGB50-PageDown */ - - {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB51-CAPS---ROW3*/ - {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB52-A-- */ - {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB53-S-- */ - {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB54-D */ - {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB55-F */ - {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB56-G */ - {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB57-H */ - {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB58-J */ - {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB59-K */ - {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB60-L */ - {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB61-;: */ - {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB62-'" */ - {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB63-ENTER */ - - {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB64-LSF --ROW4*/ - {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB65-Z */ - {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB66-X */ - {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB67-C */ - {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB68-V */ - {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB69-B */ - {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB70-N */ - {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB71-M */ - {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB72-,< */ - {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB73->. */ - {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB74-?/ */ - {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB75-RSF */ - {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB76-UP */ - - {0, CS3_SW6, CS2_SW6, CS1_SW6}, /* RGB77-lct-- ROW5*/ - {0, CS6_SW6, CS5_SW6, CS4_SW6}, /* RGB78-lwin */ - {0, CS9_SW6, CS8_SW6, CS7_SW6}, /* RGB79-lalt */ - {0, CS15_SW6, CS14_SW6, CS13_SW6}, /* RGB80-sp */ - {0, CS20_SW6, CS21_SW6, CS19_SW6}, /* RGB81-ralt */ - {0, CS23_SW6, CS24_SW6, CS22_SW6}, /* RGB82-rwin */ - {0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB83-FN */ - {0, CS29_SW6, CS30_SW6, CS28_SW6}, /* RGB84-rctL */ - {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB85-left */ - {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB86-down */ - {0, CS29_SW9, CS30_SW9, CS28_SW9} /* RGB87-right */ -}; - -led_config_t g_led_config = { { - { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }, - { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 15 }, - { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 16 }, - { 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 31, 32 }, - { 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 33, 48, 49 }, - { 77, 78, 79, NO_LED,80, NO_LED,81, 82, 83, 84, 50, 76, 85, 86, 87 } -}, { - // LED Index to Physical Position - { 0, 0 }, { 14, 0 }, { 28, 0 }, { 42, 0 }, { 56, 0 }, { 70, 0 }, { 84, 0 }, { 98, 0 }, { 112, 0 }, { 126, 0 }, { 140, 0 }, { 154, 0 }, { 168, 0 }, { 182, 0 }, { 196, 0 }, { 210, 0 }, { 224, 0 }, - { 0, 13 }, { 14, 13 }, { 28, 13 }, { 42, 13 }, { 56, 13 }, { 70, 13 }, { 84, 13}, { 98, 13 }, { 112, 13 }, { 126, 13 }, { 140, 13 }, { 154, 13 }, { 168, 13 }, { 182, 13 }, { 196, 13 }, { 210, 13 },{ 224, 13 }, - { 0, 26 }, { 14, 26 }, { 28, 26 }, { 42, 26 }, { 56, 26 }, { 70, 26 }, { 84, 26 }, { 98, 26 }, { 112, 26 }, { 126, 26 }, { 140, 26 }, { 154, 26 }, { 168, 26 }, { 182, 26 }, { 196, 26 }, { 210, 26 },{ 224, 26 }, - { 0, 39 }, { 14, 39 }, { 28, 39 }, { 42, 39 }, { 56, 39 }, { 70, 39 }, { 84, 39 }, { 98, 39 }, { 112, 39 }, { 126, 39 }, { 140, 39 }, { 154, 39 }, { 182, 39 }, - { 0, 52 }, { 14, 52 }, { 28, 52 }, { 42, 52 }, { 56, 52 }, { 70, 52 }, { 84, 52 }, { 98, 52 }, { 112, 52 }, { 126, 52 }, { 140, 52 }, { 182, 52 }, { 210, 52 }, - { 0, 64 }, { 14, 64 }, { 28, 64 }, { 70, 64 }, { 112, 64 }, { 126, 64 }, { 140, 64 }, { 182, 64 }, { 196, 64 }, { 210, 64 },{ 224, 64 } -}, { - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, - 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1 - } -}; - - - - -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - if (record->event.pressed) { - switch(keycode) { - - case KC_F14: - rgb_matrix_toggle(); //rgb 矩阵开关 - break; - - case KC_F15: - rgb_matrix_step(); //rgb向后切换animation模式 - break; - - case KC_F16: - rgb_matrix_step_reverse(); //rgb向前切换animation模式 - break; - - case KC_F17: - rgb_matrix_increase_hue(); //Increase the hue for effect range LEDs - break; - - case KC_F18: - rgb_matrix_decrease_hue(); //Decrease the hue for effect range LEDs - break; - - case KC_F19: - rgb_matrix_increase_sat(); //Increase the saturation for effect range LEDs - break; - - case KC_F20: - rgb_matrix_decrease_sat(); //Decrease the saturation for effect range LEDs - break; - - case KC_F21: - rgb_matrix_increase_val(); //Increase the value for effect range LEDs - break; - - case KC_F22: - rgb_matrix_decrease_val();//Decrease the value for effect range LEDs - break; - - case KC_F23: - rgb_matrix_increase_speed();//Increase the speed of the animations - break; - - case KC_F24: - rgb_matrix_decrease_speed();//Decrease the speed of the animations - break; - - default: - break; - } - } - return process_record_user(keycode, record); -} - -void suspend_power_down_kb(void) { - rgb_matrix_set_suspend_state(true); - suspend_power_down_user(); -} - -void suspend_wakeup_init_kb(void) { - rgb_matrix_set_suspend_state(false); - suspend_wakeup_init_user(); -} - - -bool rgb_matrix_indicators_kb(void) { - if (!rgb_matrix_indicators_user()) { - return false; - } - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color(51, 0xFF, 0xFF, 0xFF); - } - return true; -} - -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h b/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h deleted file mode 100644 index 6c52248e530a..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/ansi_625u.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include "quantum.h" \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/chconf.h b/keyboards/qwertykeys/qk80/ansi_625u/chconf.h deleted file mode 100644 index fe025b9cc55b..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/chconf.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define CH_CFG_ST_TIMEDELTA 0 - -#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE - -#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/config.h b/keyboards/qwertykeys/qk80/ansi_625u/config.h deleted file mode 100644 index 7122f04828ca..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/config.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -# define RGBLIGHT_DEFAULT_VAL 50 -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 -# define RGBLIGHT_SLEEP -/*== customize breathing effect ==*/ -# define RGBLIGHT_BREATHE_TABLE_SIZE 256 -# define RGBLIGHT_EFFECT_BREATHE_MAX 100 - - -/* RGB matrix */ -#ifdef RGB_MATRIX_ENABLE -// i2c setting -#define USE_I2CV1 -#define I2C1_SCL 8 -#define I2C1_SDA 9 -#define I2C1_CLOCK_SPEED 400000 -#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 -# define RGB_MATRIX_DISABLE_KEYCODES -# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects -# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended -# define RGB_MATRIX_KEYPRESSES // reacts to keypresses -# define RGB_MATRIX_LED_PROCESS_LIMIT 4 -# define RGB_MATRIX_LED_FLUSH_LIMIT 26 -# define RGB_MATRIX_STARTUP_VAL 128 -# define DRIVER_ADDR_1 0b0110000 -# define DRIVER_COUNT 1 -# define RGB_MATRIX_LED_COUNT 88 - -#endif \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/halconf.h b/keyboards/qwertykeys/qk80/ansi_625u/halconf.h deleted file mode 100644 index 23cdfa6574c7..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/halconf.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define HAL_USE_I2C TRUE - -#define HAL_USE_SPI TRUE - -#define HAL_USE_PWM TRUE - -#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/info.json b/keyboards/qwertykeys/qk80/ansi_625u/info.json deleted file mode 100644 index 0d6028e46f22..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/info.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "keyboard_name": "QK80 625U ANSI", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x3831", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A6", "A15" ], - "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "rgblight": true, - "nkro": true, - "rgb_matrix": true - }, - "rgb_matrix": { - "driver": "IS31FL3741", - "max_brightness": 200, - "animations": { - "solid_color": true, - "alphas_mods": true, - "gradient_up_down": true, - "gradient_left_right": true, - "breathing": true, - "band_sat": true, - "band_val": true, - "band_pinwheel_sat": true, - "band_pinwheel_val": true, - "band_spiral_sat": true, - "band_spiral_val": true, - "cycle_all": true, - "cycle_left_right": true, - "cycle_up_down": true, - "cycle_out_in": true, - "cycle_out_in_dual": true, - "rainbow_moving_chevron": true, - "cycle_pinwheel": true, - "cycle_spiral": true, - "dual_beacon": true, - "rainbow_beacon": true, - "rainbow_pinwheels": true, - "raindrops": true, - "jellybean_raindrops": true, - "hue_breathing": true, - "hue_pendulum": true, - "hue_wave": true, - "pixel_fractal": true, - "pixel_flow": true, - "pixel_rain": true, - "typing_heatmap": true, - "digital_rain": true, - "solid_reactive_simple": true, - "solid_reactive": true, - "solid_reactive_wide": true, - "solid_reactive_multiwide": true, - "solid_reactive_cross": true, - "solid_reactive_multicross": true, - "solid_reactive_nexus": true, - "solid_reactive_multinexus": true, - "splash": true, - "multisplash": true, - "solid_splash": true, - "solid_multisplash": true - } - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "ws2812": { - "pin": "B5" - }, - "rgblight": { - "animations": { - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "static_gradient": true - }, - "brightness_steps": 10, - "saturation_steps": 8, - "led_count": 7, - "max_brightness": 100 - }, - "layouts": { - "LAYOUT_625": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1.25, "y":0}, - {"matrix": [0, 2], "x":2.25, "y":0}, - {"matrix": [0, 3], "x":3.25, "y":0}, - {"matrix": [0, 4], "x":4.25, "y":0}, - {"matrix": [0, 5], "x":5.5, "y":0}, - {"matrix": [0, 6], "x":6.5, "y":0}, - {"matrix": [0, 7], "x":7.5, "y":0}, - {"matrix": [0, 8], "x":8.5, "y":0}, - {"matrix": [0, 9], "x":9.75, "y":0}, - {"matrix": [0, 10], "x":10.75, "y":0}, - {"matrix": [0, 11], "x":11.75, "y":0}, - {"matrix": [0, 12], "x":12.75, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15.25, "y":0}, - {"matrix": [1, 14], "x":16.25, "y":0}, - {"matrix": [2, 14], "x":17.25, "y":0}, - {"matrix": [1, 0], "x":0, "y":1.25}, - {"matrix": [1, 1], "x":1, "y":1.25}, - {"matrix": [1, 2], "x":2, "y":1.25}, - {"matrix": [1, 3], "x":3, "y":1.25}, - {"matrix": [1, 4], "x":4, "y":1.25}, - {"matrix": [1, 5], "x":5, "y":1.25}, - {"matrix": [1, 6], "x":6, "y":1.25}, - {"matrix": [1, 7], "x":7, "y":1.25}, - {"matrix": [1, 8], "x":8, "y":1.25}, - {"matrix": [1, 9], "x":9, "y":1.25}, - {"matrix": [1, 10], "x":10, "y":1.25}, - {"matrix": [1, 11], "x":11, "y":1.25}, - {"matrix": [1, 12], "x":12, "y":1.25}, - {"matrix": [1, 13], "x":13, "y":1.25, "w":2}, - {"matrix": [3, 13], "x":15.25, "y":1.25}, - {"matrix": [3, 14], "x":16.25, "y":1.25}, - {"matrix": [4, 12], "x":17.25, "y":1.25}, - {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, - {"matrix": [2, 1], "x":1.5, "y":2.25}, - {"matrix": [2, 2], "x":2.5, "y":2.25}, - {"matrix": [2, 3], "x":3.5, "y":2.25}, - {"matrix": [2, 4], "x":4.5, "y":2.25}, - {"matrix": [2, 5], "x":5.5, "y":2.25}, - {"matrix": [2, 6], "x":6.5, "y":2.25}, - {"matrix": [2, 7], "x":7.5, "y":2.25}, - {"matrix": [2, 8], "x":8.5, "y":2.25}, - {"matrix": [2, 9], "x":9.5, "y":2.25}, - {"matrix": [2, 10], "x":10.5, "y":2.25}, - {"matrix": [2, 11], "x":11.5, "y":2.25}, - {"matrix": [2, 12], "x":12.5, "y":2.25}, - {"matrix": [2, 13], "x":13.5, "y":2.25, "w":1.5}, - {"matrix": [4, 13], "x":15.25, "y":2.25}, - {"matrix": [4, 14], "x":16.25, "y":2.25}, - {"matrix": [5, 10], "x":17.25, "y":2.25}, - {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, - {"matrix": [3, 1], "x":1.75, "y":3.25}, - {"matrix": [3, 2], "x":2.75, "y":3.25}, - {"matrix": [3, 3], "x":3.75, "y":3.25}, - {"matrix": [3, 4], "x":4.75, "y":3.25}, - {"matrix": [3, 5], "x":5.75, "y":3.25}, - {"matrix": [3, 6], "x":6.75, "y":3.25}, - {"matrix": [3, 7], "x":7.75, "y":3.25}, - {"matrix": [3, 8], "x":8.75, "y":3.25}, - {"matrix": [3, 9], "x":9.75, "y":3.25}, - {"matrix": [3, 10], "x":10.75, "y":3.25}, - {"matrix": [3, 11], "x":11.75, "y":3.25}, - {"matrix": [3, 12], "x":12.75, "y":3.25, "w":2.25}, - {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, - {"matrix": [4, 1], "x":2.25, "y":4.25}, - {"matrix": [4, 2], "x":3.25, "y":4.25}, - {"matrix": [4, 3], "x":4.25, "y":4.25}, - {"matrix": [4, 4], "x":5.25, "y":4.25}, - {"matrix": [4, 5], "x":6.25, "y":4.25}, - {"matrix": [4, 6], "x":7.25, "y":4.25}, - {"matrix": [4, 7], "x":8.25, "y":4.25}, - {"matrix": [4, 8], "x":9.25, "y":4.25}, - {"matrix": [4, 9], "x":10.25, "y":4.25}, - {"matrix": [4, 10], "x":11.25, "y":4.25}, - {"matrix": [4, 11], "x":12.25, "y":4.25, "w":2.75}, - {"matrix": [5, 11], "x":16.25, "y":4.25}, - {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, - {"matrix": [5, 1], "x":1.25, "y":5.25, "w":1.25}, - {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.25}, - {"matrix": [5, 4], "x":3.75, "y":5.25, "w":6.25}, - {"matrix": [5, 6], "x":10, "y":5.25, "w":1.25}, - {"matrix": [5, 7], "x":11.25, "y":5.25, "w":1.25}, - {"matrix": [5, 8], "x":12.5, "y":5.25, "w":1.25}, - {"matrix": [5, 9], "x":13.75, "y":5.25, "w":1.25}, - {"matrix": [5, 12], "x":15.25, "y":5.25}, - {"matrix": [5, 13], "x":16.25, "y":5.25}, - {"matrix": [5, 14], "x":17.25, "y":5.25} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c deleted file mode 100644 index 2588cea10a21..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/default/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - - [0] = LAYOUT_625( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT_625( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c deleted file mode 100644 index 2588cea10a21..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - - [0] = LAYOUT_625( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT_625( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk b/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk deleted file mode 100644 index 36b7ba9cbc98..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h b/keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h deleted file mode 100644 index 3e2522755b6a..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/mcuconf.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#include_next - -/* - * I2C driver system settings. - */ -#undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE - - - -#undef STM32_PWM_USE_TIM1 -#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/readme.md b/keyboards/qwertykeys/qk80/ansi_625u/readme.md deleted file mode 100644 index 1a3c725a9cc6..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk80 - 625U ANSI PCB - -![qk80](https://i.imgur.com/qSXHoWyh.jpg) - -A 80% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk80 625U ANSI PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/AoBGOwZMOmwa - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk80/ansi_625u:default - -Flashing example for this keyboard: - - make qwertykeys/qk80/ansi_625u:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/ansi_625u/rules.mk b/keyboards/qwertykeys/qk80/ansi_625u/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk80/ansi_625u/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/config.h b/keyboards/qwertykeys/qk80/solder/config.h deleted file mode 100644 index 9df446cb05df..000000000000 --- a/keyboards/qwertykeys/qk80/solder/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -# define RGBLIGHT_DEFAULT_VAL 50 -# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL+5 -# define RGBLIGHT_SLEEP \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/info.json b/keyboards/qwertykeys/qk80/solder/info.json deleted file mode 100644 index 7737729a51ba..000000000000 --- a/keyboards/qwertykeys/qk80/solder/info.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "keyboard_name": "QK80 Solder", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", - "usb": { - "vid": "0x4F53", - "pid": "0x3853", - "device_version": "0.0.1" - }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "B6", "B7", "A6", "A15" ], - "rows": ["C13", "A1", "A2", "A3", "A4", "A5" ] - }, - "diode_direction": "COL2ROW", - "indicators": { - "caps_lock": "A0", - "on_state": 0 - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "rgblight": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "ws2812": { - "pin": "B3" - }, - "rgblight": { - "animations": { - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "static_gradient": true - }, - "brightness_steps": 10, - "saturation_steps": 8, - "led_count": 7, - "max_brightness": 100 - - }, - "layouts": { - "LAYOUT_sol": { - "layout": [ - {"matrix": [0, 0], "x":0, "y":0}, - {"matrix": [0, 1], "x":1.25, "y":0}, - {"matrix": [0, 2], "x":2.25, "y":0}, - {"matrix": [0, 3], "x":3.25, "y":0}, - {"matrix": [0, 4], "x":4.25, "y":0}, - {"matrix": [0, 5], "x":5.5, "y":0}, - {"matrix": [0, 6], "x":6.5, "y":0}, - {"matrix": [0, 7], "x":7.5, "y":0}, - {"matrix": [0, 8], "x":8.5, "y":0}, - {"matrix": [0, 9], "x":9.75, "y":0}, - {"matrix": [0, 10], "x":10.75, "y":0}, - {"matrix": [0, 11], "x":11.75, "y":0}, - {"matrix": [0, 12], "x":12.75, "y":0}, - {"matrix": [0, 13], "x":14, "y":0}, - {"matrix": [0, 14], "x":15.25, "y":0}, - {"matrix": [1, 14], "x":16.25, "y":0}, - {"matrix": [2, 14], "x":17.25, "y":0}, - {"matrix": [1, 0], "x":0, "y":1.25}, - {"matrix": [1, 1], "x":1, "y":1.25}, - {"matrix": [1, 2], "x":2, "y":1.25}, - {"matrix": [1, 3], "x":3, "y":1.25}, - {"matrix": [1, 4], "x":4, "y":1.25}, - {"matrix": [1, 5], "x":5, "y":1.25}, - {"matrix": [1, 6], "x":6, "y":1.25}, - {"matrix": [1, 7], "x":7, "y":1.25}, - {"matrix": [1, 8], "x":8, "y":1.25}, - {"matrix": [1, 9], "x":9, "y":1.25}, - {"matrix": [1, 10], "x":10, "y":1.25}, - {"matrix": [1, 11], "x":11, "y":1.25}, - {"matrix": [1, 12], "x":12, "y":1.25}, - {"matrix": [2, 13], "x":13, "y":1.25}, - {"matrix": [1, 13], "x":14, "y":1.25}, - {"matrix": [3, 13], "x":15.25, "y":1.25}, - {"matrix": [3, 14], "x":16.25, "y":1.25}, - {"matrix": [4, 12], "x":17.25, "y":1.25}, - {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, - {"matrix": [2, 1], "x":1.5, "y":2.25}, - {"matrix": [2, 2], "x":2.5, "y":2.25}, - {"matrix": [2, 3], "x":3.5, "y":2.25}, - {"matrix": [2, 4], "x":4.5, "y":2.25}, - {"matrix": [2, 5], "x":5.5, "y":2.25}, - {"matrix": [2, 6], "x":6.5, "y":2.25}, - {"matrix": [2, 7], "x":7.5, "y":2.25}, - {"matrix": [2, 8], "x":8.5, "y":2.25}, - {"matrix": [2, 9], "x":9.5, "y":2.25}, - {"matrix": [2, 10], "x":10.5, "y":2.25}, - {"matrix": [2, 11], "x":11.5, "y":2.25}, - {"matrix": [2, 12], "x":12.5, "y":2.25}, - {"matrix": [4, 13], "x":15.25, "y":2.25}, - {"matrix": [4, 14], "x":16.25, "y":2.25}, - {"matrix": [5, 10], "x":17.25, "y":2.25}, - {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, - {"matrix": [3, 1], "x":1.75, "y":3.25}, - {"matrix": [3, 2], "x":2.75, "y":3.25}, - {"matrix": [3, 3], "x":3.75, "y":3.25}, - {"matrix": [3, 4], "x":4.75, "y":3.25}, - {"matrix": [3, 5], "x":5.75, "y":3.25}, - {"matrix": [3, 6], "x":6.75, "y":3.25}, - {"matrix": [3, 7], "x":7.75, "y":3.25}, - {"matrix": [3, 8], "x":8.75, "y":3.25}, - {"matrix": [3, 9], "x":9.75, "y":3.25}, - {"matrix": [3, 10], "x":10.75, "y":3.25}, - {"matrix": [3, 11], "x":11.75, "y":3.25}, - {"matrix": [5, 6], "x":12.75, "y":3.25}, - {"matrix": [3, 12], "x":13.75, "y":2.25, "w":1.25, "h":2}, - {"matrix": [4, 0], "x":0, "y":4.25, "w":1.25}, - {"matrix": [5, 3], "x":1.25, "y":4.25}, - {"matrix": [4, 1], "x":2.25, "y":4.25}, - {"matrix": [4, 2], "x":3.25, "y":4.25}, - {"matrix": [4, 3], "x":4.25, "y":4.25}, - {"matrix": [4, 4], "x":5.25, "y":4.25}, - {"matrix": [4, 5], "x":6.25, "y":4.25}, - {"matrix": [4, 6], "x":7.25, "y":4.25}, - {"matrix": [4, 7], "x":8.25, "y":4.25}, - {"matrix": [4, 8], "x":9.25, "y":4.25}, - {"matrix": [4, 9], "x":10.25, "y":4.25}, - {"matrix": [4, 10], "x":11.25, "y":4.25}, - {"matrix": [4, 11], "x":12.25, "y":4.25, "w":2.75}, - {"matrix": [5, 11], "x":16.25, "y":4.25}, - {"matrix": [5, 0], "x":0, "y":5.25, "w":1.5}, - {"matrix": [5, 1], "x":1.5, "y":5.25}, - {"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.5}, - {"matrix": [5, 4], "x":4, "y":5.25, "w":7}, - {"matrix": [5, 7], "x":11, "y":5.25, "w":1.5}, - {"matrix": [5, 8], "x":12.5, "y":5.25}, - {"matrix": [5, 9], "x":13.5, "y":5.25, "w":1.5}, - {"matrix": [5, 12], "x":15.25, "y":5.25}, - {"matrix": [5, 13], "x":16.25, "y":5.25}, - {"matrix": [5, 14], "x":17.25, "y":5.25} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c b/keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c deleted file mode 100644 index b46f4f8726df..000000000000 --- a/keyboards/qwertykeys/qk80/solder/keymaps/default/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - - [0] = LAYOUT_sol( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT_sol( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c b/keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c deleted file mode 100644 index b46f4f8726df..000000000000 --- a/keyboards/qwertykeys/qk80/solder/keymaps/via/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - - [0] = LAYOUT_sol( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT_sol( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk b/keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk deleted file mode 100644 index 36b7ba9cbc98..000000000000 --- a/keyboards/qwertykeys/qk80/solder/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk80/solder/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/readme.md b/keyboards/qwertykeys/qk80/solder/readme.md deleted file mode 100644 index 30b05d1970a0..000000000000 --- a/keyboards/qwertykeys/qk80/solder/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# qk80 - Solder PCB - -![qk80](https://i.imgur.com/qSXHoWyh.jpg) - -A 80% made by Qwertykeys. - -* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git) -* Hardware Supported: qk80 Solder PCB -* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/AoBGOwZMOmwa - -Make example for this keyboard (after setting up your build environment): - - make qwertykeys/qk80/solder:default - -Flashing example for this keyboard: - - make qwertykeys/qk80/solder:default:flash - -**Bootloader:** Press the button B on PCB while plugging in the board. - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file diff --git a/keyboards/qwertykeys/qk80/solder/rules.mk b/keyboards/qwertykeys/qk80/solder/rules.mk deleted file mode 100644 index dfd7b8e20848..000000000000 --- a/keyboards/qwertykeys/qk80/solder/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file From 3f478aa75ba44ef967452b683c0c020a8a4a147b Mon Sep 17 00:00:00 2001 From: owlab-git Date: Mon, 21 Aug 2023 21:17:04 +0800 Subject: [PATCH 03/13] modified files --- keyboards/qwertykeys/qk100/ansi/ansi.c | 22 ++--- keyboards/qwertykeys/qk100/ansi/ansi.h | 20 ----- keyboards/qwertykeys/qk100/ansi/config.h | 5 -- keyboards/qwertykeys/qk100/ansi/halconf.h | 2 - keyboards/qwertykeys/qk100/ansi/info.json | 34 ------- keyboards/qwertykeys/qk100/info.json | 40 +++++++++ .../ld/STM32F103x8_0x08006000_bootloader.ld | 0 keyboards/qwertykeys/qk100/solder/chconf.h | 23 ----- keyboards/qwertykeys/qk100/solder/config.h | 2 +- keyboards/qwertykeys/qk100/solder/halconf.h | 25 ------ keyboards/qwertykeys/qk100/solder/info.json | 38 +------- .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 ------------------- keyboards/qwertykeys/qk100/solder/mcuconf.h | 29 ------ keyboards/qwertykeys/qk100/solder/solder.c | 12 +-- keyboards/qwertykeys/qk100/solder/solder.h | 20 ----- 15 files changed, 57 insertions(+), 304 deletions(-) delete mode 100644 keyboards/qwertykeys/qk100/ansi/ansi.h create mode 100644 keyboards/qwertykeys/qk100/info.json rename keyboards/qwertykeys/qk100/{ansi => }/ld/STM32F103x8_0x08006000_bootloader.ld (100%) delete mode 100644 keyboards/qwertykeys/qk100/solder/chconf.h delete mode 100644 keyboards/qwertykeys/qk100/solder/halconf.h delete mode 100644 keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld delete mode 100644 keyboards/qwertykeys/qk100/solder/mcuconf.h delete mode 100644 keyboards/qwertykeys/qk100/solder/solder.h diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.c b/keyboards/qwertykeys/qk100/ansi/ansi.c index f395442110dc..9176c9985616 100644 --- a/keyboards/qwertykeys/qk100/ansi/ansi.c +++ b/keyboards/qwertykeys/qk100/ansi/ansi.c @@ -14,7 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "ansi.h" +#include "quantum.h" #ifdef RGB_MATRIX_ENABLE const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { @@ -206,17 +206,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { } return process_record_user(keycode, record); } - -void suspend_power_down_kb(void) { - rgb_matrix_set_suspend_state(true); - suspend_power_down_user(); -} - -void suspend_wakeup_init_kb(void) { - rgb_matrix_set_suspend_state(false); - suspend_wakeup_init_user(); -} - #endif @@ -242,7 +231,10 @@ void keyboard_post_init_kb(void) { } bool led_update_kb(led_t led_state) { - rgblight_set_layer_state(0, led_state.caps_lock); - rgblight_set_layer_state(1, !led_state.num_lock); - return false; + bool res = led_update_user(led_state); + if (res) { + rgblight_set_layer_state(0, led_state.caps_lock); + rgblight_set_layer_state(1, !led_state.num_lock); + } + return res; } \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.h b/keyboards/qwertykeys/qk100/ansi/ansi.h deleted file mode 100644 index 6c52248e530a..000000000000 --- a/keyboards/qwertykeys/qk100/ansi/ansi.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include "quantum.h" \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/config.h b/keyboards/qwertykeys/qk100/ansi/config.h index a5d52f56b29b..0a85993103be 100644 --- a/keyboards/qwertykeys/qk100/ansi/config.h +++ b/keyboards/qwertykeys/qk100/ansi/config.h @@ -30,13 +30,8 @@ along with this program. If not, see . # define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0 # define RGBLIGHT_EFFECT_BREATHE_MAX 60 - /* RGB matrix */ #ifdef RGB_MATRIX_ENABLE -// i2c setting -#define USE_I2CV1 -#define I2C1_SCL 8 -#define I2C1_SDA 9 #define I2C1_CLOCK_SPEED 400000 #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 # define RGB_MATRIX_DISABLE_KEYCODES diff --git a/keyboards/qwertykeys/qk100/ansi/halconf.h b/keyboards/qwertykeys/qk100/ansi/halconf.h index 23cdfa6574c7..4943de500aba 100644 --- a/keyboards/qwertykeys/qk100/ansi/halconf.h +++ b/keyboards/qwertykeys/qk100/ansi/halconf.h @@ -18,8 +18,6 @@ #define HAL_USE_I2C TRUE -#define HAL_USE_SPI TRUE - #define HAL_USE_PWM TRUE #include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/info.json b/keyboards/qwertykeys/qk100/ansi/info.json index e790f2760a5b..8da4b4ad88e0 100644 --- a/keyboards/qwertykeys/qk100/ansi/info.json +++ b/keyboards/qwertykeys/qk100/ansi/info.json @@ -1,24 +1,10 @@ { "keyboard_name": "QK100 ANSI", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", "usb": { - "vid": "0x4F53", "pid": "0x3030", "device_version": "0.0.1" }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5", "B8", "B9", "C13" ], - "rows": ["A1", "A2", "A3", "A5", "A4", "A6" ] - }, - "diode_direction": "COL2ROW", "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "rgblight": true, - "nkro": true, "rgb_matrix": true }, "rgb_matrix": { @@ -71,26 +57,6 @@ "solid_multisplash": true } }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "ws2812": { - "pin": "B3" - }, - "rgblight": { - "animations": { - "breathing": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "static_gradient": true - }, - "brightness_steps": 10, - "saturation_steps": 8, - "led_count": 6, - "max_brightness": 120 - - }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/qwertykeys/qk100/info.json b/keyboards/qwertykeys/qk100/info.json new file mode 100644 index 000000000000..2ecb85c29bdf --- /dev/null +++ b/keyboards/qwertykeys/qk100/info.json @@ -0,0 +1,40 @@ +{ + "manufacturer": "Qwertykeys", + "url": "", + "maintainer": "Qwertykeys", + "usb": { + "vid": "0x4F53" + }, + "matrix_pins": { + "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5", "B8", "B9", "C13" ], + "rows": ["A1", "A2", "A3", "A5", "A4", "A6" ] + }, + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "rgblight": true, + "nkro": true + }, + "processor": "STM32F103", + "board": "STM32_F103_STM32DUINO", + "ws2812": { + "pin": "B3" + }, + "rgblight": { + "animations": { + "breathing": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "static_gradient": true + }, + "brightness_steps": 10, + "saturation_steps": 8, + "led_count": 6, + "max_brightness": 120 + + } +} \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk100/ld/STM32F103x8_0x08006000_bootloader.ld similarity index 100% rename from keyboards/qwertykeys/qk100/ansi/ld/STM32F103x8_0x08006000_bootloader.ld rename to keyboards/qwertykeys/qk100/ld/STM32F103x8_0x08006000_bootloader.ld diff --git a/keyboards/qwertykeys/qk100/solder/chconf.h b/keyboards/qwertykeys/qk100/solder/chconf.h deleted file mode 100644 index 3f5db067ef93..000000000000 --- a/keyboards/qwertykeys/qk100/solder/chconf.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define CH_CFG_ST_TIMEDELTA 0 - -#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE - -#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/config.h b/keyboards/qwertykeys/qk100/solder/config.h index 5539eacdf8a9..57ea9c426ad9 100644 --- a/keyboards/qwertykeys/qk100/solder/config.h +++ b/keyboards/qwertykeys/qk100/solder/config.h @@ -21,7 +21,7 @@ along with this program. If not, see . # define RGBLIGHT_LAYERS # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -# define RGBLIGHT_LAYERS_RETAIN_VAL +# define RGBLIGHT_LAYERS_RETAIN_VAL # define RGBLIGHT_DEFAULT_VAL 10 # define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5 # define RGBLIGHT_SLEEP diff --git a/keyboards/qwertykeys/qk100/solder/halconf.h b/keyboards/qwertykeys/qk100/solder/halconf.h deleted file mode 100644 index 23cdfa6574c7..000000000000 --- a/keyboards/qwertykeys/qk100/solder/halconf.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define HAL_USE_I2C TRUE - -#define HAL_USE_SPI TRUE - -#define HAL_USE_PWM TRUE - -#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/info.json b/keyboards/qwertykeys/qk100/solder/info.json index fff2aace3621..27f6733802ce 100644 --- a/keyboards/qwertykeys/qk100/solder/info.json +++ b/keyboards/qwertykeys/qk100/solder/info.json @@ -1,45 +1,11 @@ { "keyboard_name": "qk100 Solder", - "manufacturer": "Qwertykeys", - "url": "", - "maintainer": "Qwertykeys", + "usb": { - "vid": "0x4F53", + "pid": "0x3053", "device_version": "0.0.1" }, - "matrix_pins": { - "cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5", "B8", "B9", "C13" ], - "rows": ["A1", "A2", "A3", "A5", "A4", "A6" ] - }, - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "rgblight": true, - "nkro": true - }, - "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", - "ws2812": { - "pin": "B3" - }, - "rgblight": { - "animations": { - "breathing": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "static_gradient": true - }, - "brightness_steps": 10, - "saturation_steps": 8, - "led_count": 6, - "max_brightness": 120 - - }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk100/solder/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/mcuconf.h b/keyboards/qwertykeys/qk100/solder/mcuconf.h deleted file mode 100644 index 4df4dc28b748..000000000000 --- a/keyboards/qwertykeys/qk100/solder/mcuconf.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#include_next - -/* - * I2C driver system settings. - */ -#undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE - - -#undef STM32_PWM_USE_TIM1 -#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/solder.c b/keyboards/qwertykeys/qk100/solder/solder.c index d331802a472f..35e7bde20c88 100644 --- a/keyboards/qwertykeys/qk100/solder/solder.c +++ b/keyboards/qwertykeys/qk100/solder/solder.c @@ -14,8 +14,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "solder.h" - +#include "quantum.h" const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS( {0, 3, HSV_WHITE} @@ -39,7 +38,10 @@ void keyboard_post_init_kb(void) { } bool led_update_kb(led_t led_state) { - rgblight_set_layer_state(0, led_state.caps_lock); - rgblight_set_layer_state(1, !led_state.num_lock); - return false; + bool res = led_update_user(led_state); + if (res) { + rgblight_set_layer_state(0, led_state.caps_lock); + rgblight_set_layer_state(1, !led_state.num_lock); + } + return res; } \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/solder.h b/keyboards/qwertykeys/qk100/solder/solder.h deleted file mode 100644 index 6c52248e530a..000000000000 --- a/keyboards/qwertykeys/qk100/solder/solder.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 Qwertykeys - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#include "quantum.h" \ No newline at end of file From bc10585caa6db8b9ba56dde30bc0a731ce6e2428 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Fri, 25 Aug 2023 15:46:00 +0800 Subject: [PATCH 04/13] modified as suggestion --- keyboards/qwertykeys/qk100/ansi/ansi.c | 26 ----- keyboards/qwertykeys/qk100/ansi/config.h | 2 - keyboards/qwertykeys/qk100/ansi/info.json | 101 ++++++++++++++++++ .../qk100/ansi/keymaps/default/keymap.c | 33 +++--- .../qk100/ansi/keymaps/via/keymap.c | 33 +++--- keyboards/qwertykeys/qk100/info.json | 5 +- .../ld/STM32F103x8_0x08006000_bootloader.ld | 89 --------------- keyboards/qwertykeys/qk100/solder/config.h | 2 - .../qk100/solder/keymaps/default/keymap.c | 33 +++--- .../qk100/solder/keymaps/via/keymap.c | 33 +++--- keyboards/qwertykeys/qk100/solder/rules.mk | 7 +- 11 files changed, 170 insertions(+), 194 deletions(-) delete mode 100644 keyboards/qwertykeys/qk100/ld/STM32F103x8_0x08006000_bootloader.ld diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.c b/keyboards/qwertykeys/qk100/ansi/ansi.c index 9176c9985616..ea157e794d99 100644 --- a/keyboards/qwertykeys/qk100/ansi/ansi.c +++ b/keyboards/qwertykeys/qk100/ansi/ansi.c @@ -126,32 +126,6 @@ const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { {0, CS20_SW9, CS21_SW9, CS19_SW9} /* RGB100- . */ }; -led_config_t g_led_config = { { - { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, NO_LED, NO_LED, 13, 14, 15, 16 }, - { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, NO_LED, 31, 32, 33, 34 }, - { 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, NO_LED}, - { 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, NO_LED, 65, 66, 67, 68, 69, 70 }, - { 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, NO_LED, 83, NO_LED, 84, 85, 86, 87 }, - { 88, 89, 90, 91, NO_LED, 92, NO_LED, NO_LED, 93, 94, 95, NO_LED, 96, 97, 98, 99, NO_LED, 100,NO_LED} -}, { - { 0, 0 }, { 18, 0 }, { 30, 0 }, { 42, 0 }, { 54, 0 }, { 72, 0 }, { 84, 0 }, { 96, 0 }, { 108, 0 }, { 126, 0 }, { 138, 0 }, { 150, 0 }, { 162, 0 }, { 188, 0 }, { 200, 0 }, { 212, 0 }, { 224, 0 }, - { 0, 13 }, { 12, 13 }, { 24, 13 }, { 36, 13 }, { 48, 13 }, { 60, 13 }, { 72, 13}, { 84, 13 }, { 96, 13 }, { 108, 13 }, { 120, 13 }, { 132, 13 }, { 144, 13 }, { 156, 13 }, { 188, 13 }, { 200, 13 }, { 212, 13 },{ 224, 13 }, - { 0, 26 }, { 18, 26 }, { 30, 26 }, { 42, 26 }, { 54, 26 }, { 66, 26 }, { 78, 26 }, { 90, 26 }, { 102, 26}, { 114, 26 }, { 126, 26 }, { 138, 26 }, { 150, 26 }, { 162, 26 }, { 176, 26 }, { 188, 26 }, { 200, 26 }, { 212, 26 }, - { 0, 39 }, { 20, 39 }, { 32, 39 }, { 44, 39 }, { 56, 39 }, { 68, 39 }, { 80, 39 }, { 92, 39 }, { 104, 39 }, { 120, 39 }, { 132, 39 }, { 132, 39 }, { 144, 39 }, { 176, 39 }, { 188, 39 }, { 200, 39 }, { 212, 39 },{ 224, 39 }, - { 0, 52 }, { 26, 52 }, { 38, 52 }, { 50, 52 }, { 62, 52 }, { 74, 52 }, { 86, 52 }, { 98, 52 }, { 110, 52 }, { 122, 52 }, { 134, 52 }, { 150, 52 }, { 170, 52 }, { 188, 52 }, { 200, 52 }, { 212, 52 },{ 224, 52 }, - { 0, 64 }, { 14, 64 }, { 28, 64 }, { 42, 64 }, { 74, 64 }, { 108, 64 }, { 122, 64 }, { 140, 64 }, { 158, 64 }, { 170, 64 }, { 182, 64 }, { 196, 64 }, { 212, 64 } -}, { - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 1, - 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 1, - 1, 1, 1, 4, 4, 4, 1, 1, 1, 1, 1, 4, 4 - } -}; - - - bool process_record_kb(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { switch(keycode) { diff --git a/keyboards/qwertykeys/qk100/ansi/config.h b/keyboards/qwertykeys/qk100/ansi/config.h index 0a85993103be..281df69a2b1d 100644 --- a/keyboards/qwertykeys/qk100/ansi/config.h +++ b/keyboards/qwertykeys/qk100/ansi/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #pragma once -#define DYNAMIC_KEYMAP_LAYER_COUNT 2 - # define RGBLIGHT_LAYERS # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF # define RGBLIGHT_LAYERS_RETAIN_VAL diff --git a/keyboards/qwertykeys/qk100/ansi/info.json b/keyboards/qwertykeys/qk100/ansi/info.json index 8da4b4ad88e0..96580fba0a00 100644 --- a/keyboards/qwertykeys/qk100/ansi/info.json +++ b/keyboards/qwertykeys/qk100/ansi/info.json @@ -10,6 +10,107 @@ "rgb_matrix": { "driver": "IS31FL3741", "max_brightness": 200, + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 1}, + {"matrix": [0, 1], "x": 18, "y": 0, "flags": 1}, + {"matrix": [0, 2], "x": 30, "y": 0, "flags": 1}, + {"matrix": [0, 3], "x": 42, "y": 0, "flags": 1}, + {"matrix": [0, 4], "x": 54, "y": 0, "flags": 1}, + {"matrix": [0, 5], "x": 72, "y": 0, "flags": 1}, + {"matrix": [0, 6], "x": 84, "y": 0, "flags": 1}, + {"matrix": [0, 7], "x": 96, "y": 0, "flags": 1}, + {"matrix": [0, 8], "x": 108, "y": 0, "flags": 1}, + {"matrix": [0, 9], "x": 126, "y": 0, "flags": 1}, + {"matrix": [0, 10], "x": 138, "y": 0, "flags": 1}, + {"matrix": [0, 11], "x": 150, "y": 0, "flags": 1}, + {"matrix": [0, 12], "x": 162, "y": 0, "flags": 1}, + {"matrix": [0, 13], "x": 188, "y": 0, "flags": 1}, + {"matrix": [0, 14], "x": 200, "y": 0, "flags": 1}, + {"matrix": [0, 15], "x": 212, "y": 0, "flags": 1}, + {"matrix": [0, 16], "x": 224, "y": 0, "flags": 1}, + {"matrix": [1, 0], "x": 0, "y": 13, "flags": 4}, + {"matrix": [1, 1], "x": 12, "y": 13, "flags": 4}, + {"matrix": [1, 2], "x": 24, "y": 13, "flags": 4}, + {"matrix": [1, 3], "x": 36, "y": 13, "flags": 4}, + {"matrix": [1, 4], "x": 48, "y": 13, "flags": 4}, + {"matrix": [1, 5], "x": 60, "y": 13, "flags": 4}, + {"matrix": [1, 6], "x": 72, "y": 13, "flags": 4}, + {"matrix": [1, 7], "x": 84, "y": 13, "flags": 4}, + {"matrix": [1, 8], "x": 96, "y": 13, "flags": 4}, + {"matrix": [1, 9], "x": 108, "y": 13, "flags": 4}, + {"matrix": [1, 10], "x": 120, "y": 13, "flags": 4}, + {"matrix": [1, 11], "x": 132, "y": 13, "flags": 4}, + {"matrix": [1, 12], "x": 144, "y": 13, "flags": 4}, + {"matrix": [1, 13], "x": 156, "y": 13, "flags": 1}, + {"matrix": [1, 15], "x": 188, "y": 13, "flags": 1}, + {"matrix": [1, 16], "x": 200, "y": 13, "flags": 1}, + {"matrix": [1, 17], "x": 212, "y": 13, "flags": 1}, + {"matrix": [1, 18], "x": 224, "y": 13, "flags": 1}, + {"matrix": [2, 0], "x": 0, "y": 26, "flags": 1}, + {"matrix": [2, 1], "x": 18, "y": 26, "flags": 4}, + {"matrix": [2, 2], "x": 30, "y": 26, "flags": 4}, + {"matrix": [2, 3], "x": 42, "y": 26, "flags": 4}, + {"matrix": [2, 4], "x": 54, "y": 26, "flags": 4}, + {"matrix": [2, 5], "x": 66, "y": 26, "flags": 4}, + {"matrix": [2, 6], "x": 78, "y": 26, "flags": 4}, + {"matrix": [2, 7], "x": 90, "y": 26, "flags": 4}, + {"matrix": [2, 8], "x": 102, "y": 26, "flags": 4}, + {"matrix": [2, 9], "x": 114, "y": 26, "flags": 4}, + {"matrix": [2, 10], "x": 126, "y": 26, "flags": 4}, + {"matrix": [2, 11], "x": 138, "y": 26, "flags": 4}, + {"matrix": [2, 12], "x": 150, "y": 26, "flags": 4}, + {"matrix": [2, 13], "x": 162, "y": 26, "flags": 4}, + {"matrix": [2, 14], "x": 176, "y": 26, "flags": 1}, + {"matrix": [2, 15], "x": 188, "y": 26, "flags": 4}, + {"matrix": [2, 16], "x": 200, "y": 26, "flags": 4}, + {"matrix": [2, 17], "x": 212, "y": 26, "flags": 4}, + {"matrix": [3, 0], "x": 0, "y": 39, "flags": 1}, + {"matrix": [3, 1], "x": 20, "y": 39, "flags": 4}, + {"matrix": [3, 2], "x": 32, "y": 39, "flags": 4}, + {"matrix": [3, 3], "x": 44, "y": 39, "flags": 4}, + {"matrix": [3, 4], "x": 56, "y": 39, "flags": 4}, + {"matrix": [3, 5], "x": 68, "y": 39, "flags": 4}, + {"matrix": [3, 6], "x": 80, "y": 39, "flags": 4}, + {"matrix": [3, 7], "x": 92, "y": 39, "flags": 4}, + {"matrix": [3, 8], "x": 104, "y": 39, "flags": 4}, + {"matrix": [3, 9], "x": 116, "y": 39, "flags": 4}, + {"matrix": [3, 10], "x": 128, "y": 39, "flags": 4}, + {"matrix": [3, 11], "x": 140, "y": 39, "flags": 4}, + {"matrix": [3, 13], "x": 158, "y": 39, "flags": 1}, + {"matrix": [3, 14], "x": 176, "y": 39, "flags": 1}, + {"matrix": [3, 15], "x": 188, "y": 39, "flags": 4}, + {"matrix": [3, 16], "x": 200, "y": 39, "flags": 4}, + {"matrix": [3, 17], "x": 212, "y": 39, "flags": 4}, + {"matrix": [3, 18], "x": 224, "y": 39, "flags": 1}, + {"matrix": [4, 0], "x": 0, "y": 52, "flags": 1}, + {"matrix": [4, 1], "x": 26, "y": 52, "flags": 4}, + {"matrix": [4, 2], "x": 38, "y": 52, "flags": 4}, + {"matrix": [4, 3], "x": 50, "y": 52, "flags": 4}, + {"matrix": [4, 4], "x": 62, "y": 52, "flags": 4}, + {"matrix": [4, 5], "x": 74, "y": 52, "flags": 4}, + {"matrix": [4, 6], "x": 86, "y": 52, "flags": 4}, + {"matrix": [4, 7], "x": 98, "y": 52, "flags": 4}, + {"matrix": [4, 8], "x": 110, "y": 52, "flags": 4}, + {"matrix": [4, 9], "x": 122, "y": 52, "flags": 4}, + {"matrix": [4, 10], "x": 134, "y": 52, "flags": 4}, + {"matrix": [4, 11], "x": 150, "y": 52, "flags": 1}, + {"matrix": [4, 13], "x": 170, "y": 52, "flags": 1}, + {"matrix": [4, 15], "x": 188, "y": 52, "flags": 4}, + {"matrix": [4, 16], "x": 200, "y": 52, "flags": 4}, + {"matrix": [4, 17], "x": 212, "y": 52, "flags": 4}, + {"matrix": [4, 18], "x": 224, "y": 52, "flags": 1}, + {"matrix": [5, 0], "x": 0, "y": 52, "flags": 1}, + {"matrix": [5, 1], "x": 14, "y": 52, "flags": 1}, + {"matrix": [5, 2], "x": 28, "y": 52, "flags": 1}, + {"matrix": [5, 5], "x": 74, "y": 52, "flags": 4}, + {"matrix": [5, 9], "x": 122, "y": 52, "flags": 1}, + {"matrix": [5, 10], "x": 148, "y": 52, "flags": 1}, + {"matrix": [5, 12], "x": 158, "y": 52, "flags": 1}, + {"matrix": [5, 13], "x": 170, "y": 52, "flags": 1}, + {"matrix": [5, 14], "x": 182, "y": 52, "flags": 1}, + {"matrix": [5, 15], "x": 196, "y": 52, "flags": 4}, + {"matrix": [5, 17], "x": 212, "y": 52, "flags": 4} + ], "animations": { "solid_color": true, "alphas_mods": true, diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c index 085cacbb008c..4bf5ce25f27b 100644 --- a/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c @@ -19,21 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT - ), - [1] = LAYOUT( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) +  [0] = LAYOUT( +   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, +   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, +   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, +   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, +   KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, +   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT +  ), +  [1] = LAYOUT( +   KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS +  ) }; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c index 085cacbb008c..4bf5ce25f27b 100644 --- a/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c @@ -19,21 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT - ), - [1] = LAYOUT( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) +  [0] = LAYOUT( +   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, +   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, +   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, +   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, +   KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, +   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT +  ), +  [1] = LAYOUT( +   KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS +  ) }; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/info.json b/keyboards/qwertykeys/qk100/info.json index 2ecb85c29bdf..b035e656958e 100644 --- a/keyboards/qwertykeys/qk100/info.json +++ b/keyboards/qwertykeys/qk100/info.json @@ -18,7 +18,7 @@ "nkro": true }, "processor": "STM32F103", - "board": "STM32_F103_STM32DUINO", + "bootloader": "stm32duino", "ws2812": { "pin": "B3" }, @@ -36,5 +36,6 @@ "led_count": 6, "max_brightness": 120 - } + }, + "dynamic_keymap.layer_count":2 } \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ld/STM32F103x8_0x08006000_bootloader.ld b/keyboards/qwertykeys/qk100/ld/STM32F103x8_0x08006000_bootloader.ld deleted file mode 100644 index a40e12668aa0..000000000000 --- a/keyboards/qwertykeys/qk100/ld/STM32F103x8_0x08006000_bootloader.ld +++ /dev/null @@ -1,89 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -/* - * STM32F103x8 memory setup for use with the STM32Duino bootloader. - */ -f103_flash_size = 128k; - -MEMORY -{ - /*Here we give 22K flash to bootloader*/ - /*0x08005800 : the application bin start address*/ - flash0 : org = 0x08006000, len = f103_flash_size - 0x6000 - flash1 : org = 0x00000000, len = 0 - flash2 : org = 0x00000000, len = 0 - flash3 : org = 0x00000000, len = 0 - flash4 : org = 0x00000000, len = 0 - flash5 : org = 0x00000000, len = 0 - flash6 : org = 0x00000000, len = 0 - flash7 : org = 0x00000000, len = 0 - ram0 : org = 0x20000000, len = 20k - ram1 : org = 0x00000000, len = 0 - ram2 : org = 0x00000000, len = 0 - ram3 : org = 0x00000000, len = 0 - ram4 : org = 0x00000000, len = 0 - ram5 : org = 0x00000000, len = 0 - ram6 : org = 0x00000000, len = 0 - ram7 : org = 0x00000000, len = 0 -} - -/* For each data/text section two region are defined, a virtual region - and a load region (_LMA suffix).*/ - -/* Flash region to be used for exception vectors.*/ -REGION_ALIAS("VECTORS_FLASH", flash0); -REGION_ALIAS("VECTORS_FLASH_LMA", flash0); - -/* Flash region to be used for constructors and destructors.*/ -REGION_ALIAS("XTORS_FLASH", flash0); -REGION_ALIAS("XTORS_FLASH_LMA", flash0); - -/* Flash region to be used for code text.*/ -REGION_ALIAS("TEXT_FLASH", flash0); -REGION_ALIAS("TEXT_FLASH_LMA", flash0); - -/* Flash region to be used for read only data.*/ -REGION_ALIAS("RODATA_FLASH", flash0); -REGION_ALIAS("RODATA_FLASH_LMA", flash0); - -/* Flash region to be used for various.*/ -REGION_ALIAS("VARIOUS_FLASH", flash0); -REGION_ALIAS("VARIOUS_FLASH_LMA", flash0); - -/* Flash region to be used for RAM(n) initialization data.*/ -REGION_ALIAS("RAM_INIT_FLASH_LMA", flash0); - -/* RAM region to be used for Main stack. This stack accommodates the processing - of all exceptions and interrupts.*/ -REGION_ALIAS("MAIN_STACK_RAM", ram0); - -/* RAM region to be used for the process stack. This is the stack used by - the main() function.*/ -REGION_ALIAS("PROCESS_STACK_RAM", ram0); - -/* RAM region to be used for data segment.*/ -REGION_ALIAS("DATA_RAM", ram0); -REGION_ALIAS("DATA_RAM_LMA", flash0); - -/* RAM region to be used for BSS segment.*/ -REGION_ALIAS("BSS_RAM", ram0); - -/* RAM region to be used for the default heap.*/ -REGION_ALIAS("HEAP_RAM", ram0); - -/* Generic rules inclusion.*/ -INCLUDE rules.ld \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/config.h b/keyboards/qwertykeys/qk100/solder/config.h index 57ea9c426ad9..714f01a1daae 100644 --- a/keyboards/qwertykeys/qk100/solder/config.h +++ b/keyboards/qwertykeys/qk100/solder/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #pragma once -#define DYNAMIC_KEYMAP_LAYER_COUNT 2 - # define RGBLIGHT_LAYERS # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF # define RGBLIGHT_LAYERS_RETAIN_VAL diff --git a/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c b/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c index ffc6b162383e..7b71ea3bdc15 100644 --- a/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c +++ b/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c @@ -19,21 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT - ), - [1] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) +  [0] = LAYOUT( +   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, +   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, +   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, +   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, +   KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, +   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT +  ), +  [1] = LAYOUT( +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS +  ) }; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c b/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c index ffc6b162383e..7b71ea3bdc15 100644 --- a/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c +++ b/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c @@ -19,21 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT - ), - [1] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) +  [0] = LAYOUT( +   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, +   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, +   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, +   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, +   KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, +   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT +  ), +  [1] = LAYOUT( +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, +   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS +  ) }; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/rules.mk b/keyboards/qwertykeys/qk100/solder/rules.mk index dfd7b8e20848..80b5a0b8f5a5 100644 --- a/keyboards/qwertykeys/qk100/solder/rules.mk +++ b/keyboards/qwertykeys/qk100/solder/rules.mk @@ -1,5 +1,2 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file +# Enter lower-power sleep mode when on the ChibiOS idle thread +OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE \ No newline at end of file From 2ae0f2c9b67230866fcc209ede6c434fad2ce3a5 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Fri, 25 Aug 2023 15:47:00 +0800 Subject: [PATCH 05/13] qk100 --- keyboards/qwertykeys/qk100/ansi/rules.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/rules.mk b/keyboards/qwertykeys/qk100/ansi/rules.mk index dfd7b8e20848..80b5a0b8f5a5 100644 --- a/keyboards/qwertykeys/qk100/ansi/rules.mk +++ b/keyboards/qwertykeys/qk100/ansi/rules.mk @@ -1,5 +1,2 @@ -MCU_LDSCRIPT = STM32F103x8_0x08006000_bootloader -DFU_ARGS = -d 1688:2220 -a 0 -s 0x08006000 -DFU_SUFFIX_ARGS = -v 1688 -p 2220 -BOOTLOADER_TYPE = stm32duino -OPT_DEFS += -DBOOTLOADER_STM32DUINO \ No newline at end of file +# Enter lower-power sleep mode when on the ChibiOS idle thread +OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE \ No newline at end of file From 70925077e129b200afafbd9e6a68ec6642206b43 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Fri, 25 Aug 2023 16:13:29 +0800 Subject: [PATCH 06/13] info.json --- keyboards/qwertykeys/qk100/info.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/keyboards/qwertykeys/qk100/info.json b/keyboards/qwertykeys/qk100/info.json index b035e656958e..dbb269f7da27 100644 --- a/keyboards/qwertykeys/qk100/info.json +++ b/keyboards/qwertykeys/qk100/info.json @@ -37,5 +37,7 @@ "max_brightness": 120 }, - "dynamic_keymap.layer_count":2 + "dynamic_keymap": { + "layer_count": 2 + } } \ No newline at end of file From c541c94b24a17453d99be8f62b78cfbf8b992517 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Fri, 25 Aug 2023 16:43:45 +0800 Subject: [PATCH 07/13] keymap --- .../qk100/ansi/keymaps/default/keymap.c | 32 +++++++++---------- .../qk100/ansi/keymaps/via/keymap.c | 32 +++++++++---------- .../qk100/solder/keymaps/default/keymap.c | 32 +++++++++---------- .../qk100/solder/keymaps/via/keymap.c | 32 +++++++++---------- 4 files changed, 64 insertions(+), 64 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c index 4bf5ce25f27b..7236db3052bd 100644 --- a/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c @@ -19,20 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -  [0] = LAYOUT( -   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, -   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, -   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, -   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, -   KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, -   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT -  ), -  [1] = LAYOUT( -   KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -  ) + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) }; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c index 4bf5ce25f27b..7236db3052bd 100644 --- a/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c @@ -19,20 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -  [0] = LAYOUT( -   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, -   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, -   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, -   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, -   KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, -   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT -  ), -  [1] = LAYOUT( -   KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -  ) + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) }; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c b/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c index 7b71ea3bdc15..20d727431cbe 100644 --- a/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c +++ b/keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c @@ -19,20 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -  [0] = LAYOUT( -   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, -   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, -   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, -   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, -   KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, -   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT -  ), -  [1] = LAYOUT( -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -  ) + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) }; \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c b/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c index 7b71ea3bdc15..20d727431cbe 100644 --- a/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c +++ b/keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c @@ -19,20 +19,20 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -  [0] = LAYOUT( -   KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, -   KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, -   KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, -   KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, -   KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, -   KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT -  ), -  [1] = LAYOUT( -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, -   KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -  ) + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT + ), + [1] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) }; \ No newline at end of file From b862326ca68d061454c7bd4ac81a67bca681b85d Mon Sep 17 00:00:00 2001 From: owlab-git Date: Sat, 26 Aug 2023 18:46:12 +0800 Subject: [PATCH 08/13] Modified custom keycode --- keyboards/qwertykeys/qk100/ansi/ansi.c | 22 +++++++++---------- keyboards/qwertykeys/qk100/ansi/config.h | 1 - .../qk100/ansi/keymaps/default/keymap.c | 2 +- .../qk100/ansi/keymaps/via/keymap.c | 2 +- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.c b/keyboards/qwertykeys/qk100/ansi/ansi.c index ea157e794d99..758066d55541 100644 --- a/keyboards/qwertykeys/qk100/ansi/ansi.c +++ b/keyboards/qwertykeys/qk100/ansi/ansi.c @@ -130,47 +130,47 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { switch(keycode) { - case KC_F14: + case QK_KB_0: rgb_matrix_toggle(); break; - case KC_F15: + case QK_KB_1: rgb_matrix_step(); break; - case KC_F16: + case QK_KB_2: rgb_matrix_step_reverse(); break; - case KC_F17: + case QK_KB_3: rgb_matrix_increase_hue(); //Increase the hue for effect range LEDs break; - case KC_F18: + case QK_KB_4: rgb_matrix_decrease_hue(); //Decrease the hue for effect range LEDs break; - case KC_F19: + case QK_KB_5: rgb_matrix_increase_sat(); //Increase the saturation for effect range LEDs break; - case KC_F20: + case QK_KB_6: rgb_matrix_decrease_sat(); //Decrease the saturation for effect range LEDs break; - case KC_F21: + case QK_KB_7: rgb_matrix_increase_val(); //Increase the value for effect range LEDs break; - case KC_F22: + case QK_KB_8: rgb_matrix_decrease_val();//Decrease the value for effect range LEDs break; - case KC_F23: + case QK_KB_9: rgb_matrix_increase_speed();//Increase the speed of the animations break; - case KC_F24: + case QK_KB_10: rgb_matrix_decrease_speed();//Decrease the speed of the animations break; diff --git a/keyboards/qwertykeys/qk100/ansi/config.h b/keyboards/qwertykeys/qk100/ansi/config.h index 281df69a2b1d..bdae0afb9b4e 100644 --- a/keyboards/qwertykeys/qk100/ansi/config.h +++ b/keyboards/qwertykeys/qk100/ansi/config.h @@ -33,7 +33,6 @@ along with this program. If not, see . #define I2C1_CLOCK_SPEED 400000 #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 # define RGB_MATRIX_DISABLE_KEYCODES -# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended # define RGB_MATRIX_KEYPRESSES // reacts to keypresses # define RGB_MATRIX_FRAMEBUFFER_EFFECTS diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c index 7236db3052bd..f081299d50e7 100644 --- a/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c @@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT ), [1] = LAYOUT( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + QK_KB_0, QK_KB_1, QK_KB_2, QK_KB_3, QK_KB_4, QK_KB_5, QK_KB_6, QK_KB_7, QK_KB_8, QK_KB_9, QK_KB_10,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, diff --git a/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c index 7236db3052bd..f081299d50e7 100644 --- a/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c +++ b/keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c @@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT ), [1] = LAYOUT( - KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + QK_KB_0, QK_KB_1, QK_KB_2, QK_KB_3, QK_KB_4, QK_KB_5, QK_KB_6, QK_KB_7, QK_KB_8, QK_KB_9, QK_KB_10,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, From b6637e798cb230390d14547ef5a86e8798c00b21 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Wed, 30 Aug 2023 14:22:36 +0800 Subject: [PATCH 09/13] replace the tabs with spaces --- keyboards/qwertykeys/qk100/ansi/info.json | 24 +++++++++---------- keyboards/qwertykeys/qk100/info.json | 2 +- keyboards/qwertykeys/qk100/solder/info.json | 26 ++++++++++----------- 3 files changed, 25 insertions(+), 27 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/info.json b/keyboards/qwertykeys/qk100/ansi/info.json index 96580fba0a00..e08fe10cee64 100644 --- a/keyboards/qwertykeys/qk100/ansi/info.json +++ b/keyboards/qwertykeys/qk100/ansi/info.json @@ -176,8 +176,8 @@ {"matrix": [0, 12], "x":14, "y":0}, {"matrix": [0, 15], "x":16.5, "y":0}, {"matrix": [0, 16], "x":17.5, "y":0}, - {"matrix": [0, 17], "x":18.5, "y":0}, - {"matrix": [0, 18], "x":19.5, "y":0}, + {"matrix": [0, 17], "x":18.5, "y":0}, + {"matrix": [0, 18], "x":19.5, "y":0}, {"matrix": [1, 0], "x":0, "y":1.25}, {"matrix": [1, 1], "x":1, "y":1.25}, {"matrix": [1, 2], "x":2, "y":1.25}, @@ -192,8 +192,8 @@ {"matrix": [1, 11], "x":11, "y":1.25}, {"matrix": [1, 12], "x":12, "y":1.25}, {"matrix": [1, 13], "x":13, "y":1.25, "w":2}, - {"matrix": [1, 15], "x":16.5, "y":1.25}, - {"matrix": [1, 16], "x":17.5, "y":1.25}, + {"matrix": [1, 15], "x":16.5, "y":1.25}, + {"matrix": [1, 16], "x":17.5, "y":1.25}, {"matrix": [1, 17], "x":18.5, "y":1.25}, {"matrix": [1, 18], "x":19.5, "y":1.25}, {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, @@ -211,8 +211,8 @@ {"matrix": [2, 12], "x":12.5, "y":2.25}, {"matrix": [2, 13], "x":13.5, "y":2.25, "w":1.5}, {"matrix": [2, 14], "x":15.25, "y":2.25}, - {"matrix": [2, 15], "x":16.5, "y":2.25}, - {"matrix": [2, 16], "x":17.5, "y":2.25}, + {"matrix": [2, 15], "x":16.5, "y":2.25}, + {"matrix": [2, 16], "x":17.5, "y":2.25}, {"matrix": [2, 17], "x":18.5, "y":2.25}, {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, {"matrix": [3, 1], "x":1.75, "y":3.25}, @@ -228,8 +228,8 @@ {"matrix": [3, 11], "x":11.75, "y":3.25}, {"matrix": [3, 13], "x":12.75, "y":3.25, "w":2.25}, {"matrix": [3, 14], "x":15.25, "y":3.25}, - {"matrix": [3, 15], "x":16.5, "y":3.25}, - {"matrix": [3, 16], "x":17.5, "y":3.25}, + {"matrix": [3, 15], "x":16.5, "y":3.25}, + {"matrix": [3, 16], "x":17.5, "y":3.25}, {"matrix": [3, 17], "x":18.5, "y":3.25}, {"matrix": [3, 18], "x":19.5, "y":2.25, "h":2}, {"matrix": [4, 0], "x":0, "y":4.25, "w":2.25}, @@ -246,7 +246,7 @@ {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, {"matrix": [4, 13], "x":14.25, "y":4.5}, {"matrix": [4, 15], "x":16.5, "y":4.25}, - {"matrix": [4, 16], "x":17.5, "y":4.25}, + {"matrix": [4, 16], "x":17.5, "y":4.25}, {"matrix": [4, 17], "x":18.5, "y":4.25}, {"matrix": [4, 18], "x":19.5, "y":4.25, "h":2}, {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, @@ -255,10 +255,10 @@ {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, {"matrix": [5, 9], "x":10, "y":5.25, "w":1.5}, {"matrix": [5, 10], "x":11.5, "y":5.25, "w":1.5}, - {"matrix": [5, 12], "x":13.25, "y":5.5}, + {"matrix": [5, 12], "x":13.25, "y":5.5}, {"matrix": [5, 13], "x":14.25, "y":5.5}, - {"matrix": [5, 14], "x":15.25, "y":5.5}, - {"matrix": [5, 15], "x":16.5, "y":5.25, "w":2}, + {"matrix": [5, 14], "x":15.25, "y":5.5}, + {"matrix": [5, 15], "x":16.5, "y":5.25, "w":2}, {"matrix": [5, 17], "x":18.5, "y":5.25} ] } diff --git a/keyboards/qwertykeys/qk100/info.json b/keyboards/qwertykeys/qk100/info.json index dbb269f7da27..c8498f3eafc7 100644 --- a/keyboards/qwertykeys/qk100/info.json +++ b/keyboards/qwertykeys/qk100/info.json @@ -14,7 +14,7 @@ "bootmagic": true, "extrakey": true, "mousekey": true, - "rgblight": true, + "rgblight": true, "nkro": true }, "processor": "STM32F103", diff --git a/keyboards/qwertykeys/qk100/solder/info.json b/keyboards/qwertykeys/qk100/solder/info.json index 27f6733802ce..64f8945b7fd6 100644 --- a/keyboards/qwertykeys/qk100/solder/info.json +++ b/keyboards/qwertykeys/qk100/solder/info.json @@ -1,8 +1,6 @@ { "keyboard_name": "qk100 Solder", - "usb": { - "pid": "0x3053", "device_version": "0.0.1" }, @@ -24,8 +22,8 @@ {"matrix": [0, 12], "x":14, "y":0}, {"matrix": [0, 15], "x":16.5, "y":0}, {"matrix": [0, 16], "x":17.5, "y":0}, - {"matrix": [0, 17], "x":18.5, "y":0}, - {"matrix": [0, 18], "x":19.5, "y":0}, + {"matrix": [0, 17], "x":18.5, "y":0}, + {"matrix": [0, 18], "x":19.5, "y":0}, {"matrix": [1, 0], "x":0, "y":1.25}, {"matrix": [1, 1], "x":1, "y":1.25}, {"matrix": [1, 2], "x":2, "y":1.25}, @@ -42,8 +40,8 @@ {"matrix": [2, 13], "x":13, "y":1.25}, {"matrix": [1, 13], "x":14, "y":1.25}, {"matrix": [1, 15], "x":16.5, "y":1.25}, - {"matrix": [1, 16], "x":17.5, "y":1.25}, - {"matrix": [1, 17], "x":18.5, "y":1.25}, + {"matrix": [1, 16], "x":17.5, "y":1.25}, + {"matrix": [1, 17], "x":18.5, "y":1.25}, {"matrix": [1, 18], "x":19.5, "y":1.25}, {"matrix": [2, 0], "x":0, "y":2.25, "w":1.5}, {"matrix": [2, 1], "x":1.5, "y":2.25}, @@ -60,8 +58,8 @@ {"matrix": [2, 12], "x":12.5, "y":2.25}, {"matrix": [3, 12], "x":13.5, "y":2.25, "w":1.5}, {"matrix": [2, 14], "x":15.25, "y":2.25}, - {"matrix": [2, 15], "x":16.5, "y":2.25}, - {"matrix": [2, 16], "x":17.5, "y":2.25}, + {"matrix": [2, 15], "x":16.5, "y":2.25}, + {"matrix": [2, 16], "x":17.5, "y":2.25}, {"matrix": [2, 17], "x":18.5, "y":2.25}, {"matrix": [3, 0], "x":0, "y":3.25, "w":1.75}, {"matrix": [3, 1], "x":1.75, "y":3.25}, @@ -77,8 +75,8 @@ {"matrix": [3, 11], "x":11.75, "y":3.25}, {"matrix": [3, 13], "x":12.75, "y":3.25, "w":2.25}, {"matrix": [3, 14], "x":15.25, "y":3.25}, - {"matrix": [3, 15], "x":16.5, "y":3.25}, - {"matrix": [3, 16], "x":17.5, "y":3.25}, + {"matrix": [3, 15], "x":16.5, "y":3.25}, + {"matrix": [3, 16], "x":17.5, "y":3.25}, {"matrix": [3, 17], "x":18.5, "y":3.25}, {"matrix": [3, 18], "x":19.5, "y":2.25, "h":2}, {"matrix": [4, 0], "x":0, "y":4.25, "w":1.25}, @@ -96,7 +94,7 @@ {"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75}, {"matrix": [4, 13], "x":14.25, "y":4.5}, {"matrix": [4, 15], "x":16.5, "y":4.25}, - {"matrix": [4, 16], "x":17.5, "y":4.25}, + {"matrix": [4, 16], "x":17.5, "y":4.25}, {"matrix": [4, 17], "x":18.5, "y":4.25}, {"matrix": [4, 18], "x":19.5, "y":4.25, "h":2}, {"matrix": [5, 0], "x":0, "y":5.25, "w":1.25}, @@ -105,10 +103,10 @@ {"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25}, {"matrix": [5, 9], "x":10, "y":5.25, "w":1.5}, {"matrix": [5, 10], "x":11.5, "y":5.25, "w":1.5}, - {"matrix": [5, 12], "x":13.25, "y":5.5}, + {"matrix": [5, 12], "x":13.25, "y":5.5}, {"matrix": [5, 13], "x":14.25, "y":5.5}, - {"matrix": [5, 14], "x":15.25, "y":5.5}, - {"matrix": [5, 15], "x":16.5, "y":5.25, "w":2}, + {"matrix": [5, 14], "x":15.25, "y":5.5}, + {"matrix": [5, 15], "x":16.5, "y":5.25, "w":2}, {"matrix": [5, 17], "x":18.5, "y":5.25} ] } From d620233c29b5b7b41eb6a5f3023b5b7c92533111 Mon Sep 17 00:00:00 2001 From: owlab-git Date: Wed, 30 Aug 2023 20:03:30 +0800 Subject: [PATCH 10/13] format-c files --- keyboards/qwertykeys/qk100/ansi/ansi.c | 313 ++++++++++----------- keyboards/qwertykeys/qk100/ansi/config.h | 4 +- keyboards/qwertykeys/qk100/ansi/info.json | 2 +- keyboards/qwertykeys/qk100/ansi/rules.mk | 3 +- keyboards/qwertykeys/qk100/solder/rules.mk | 3 +- keyboards/qwertykeys/qk100/solder/solder.c | 20 +- 6 files changed, 157 insertions(+), 188 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/ansi.c b/keyboards/qwertykeys/qk100/ansi/ansi.c index 758066d55541..87e1b99e1b7e 100644 --- a/keyboards/qwertykeys/qk100/ansi/ansi.c +++ b/keyboards/qwertykeys/qk100/ansi/ansi.c @@ -1,4 +1,4 @@ -/* +/* Copyright 2023 Qwertykeys This program is free software: you can redistribute it and/or modify @@ -18,102 +18,97 @@ along with this program. If not, see . #ifdef RGB_MATRIX_ENABLE const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { - {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ - {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ - {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ - {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ - {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ - {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ - {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ - {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ - {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ - {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ - {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ - {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ - {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ - {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB13-Delete */ - {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-End */ - {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB15-Insert */ - {0, CS38_SW7, CS39_SW7, CS37_SW7}, /* RGB16-Home */ - - {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ - {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ - {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ - {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ - {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ - {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ - {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ - {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ - {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ - {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ - {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ - {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ - {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ - {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB30-BS */ - {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB31-Num Lock */ - {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB32- / */ - {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB33- * */ - {0, CS38_SW8, CS39_SW8, CS37_SW8}, /* RGB34- - */ - - {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB35-TAB ----ROW2*/ - {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB36-Q */ - {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB37-W */ - {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB38-E */ - {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB39-R */ - {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB40-T */ - {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB41-Y */ - {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB42-U */ - {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB43-I */ - {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB44-O */ - {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB45-P */ - {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB46-[ */ - {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB47-] */ - {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB48-\ */ - {0, CS29_SW9, CS30_SW9, CS28_SW9}, /* RGB49-page up */ - {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB50-7 */ - {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB51-8 */ - {0, CS38_SW9, CS39_SW9, CS37_SW9}, /* RGB52-9 */ - - {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB53-CAPS---ROW3*/ - {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB54-A-- */ - {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB55-S-- */ - {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB56-D */ - {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB57-F */ - {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB58-G */ - {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB59-H */ - {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB60-J */ - {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB61-K */ - {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB62-L */ - {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB63-;: */ - {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB64-'" */ - {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB65-ENTER */ - {0, CS11_SW7, CS12_SW7, CS10_SW7}, /* RGB66-Page Down */ - {0, CS14_SW7, CS15_SW7, CS13_SW7}, /* RGB67-4 */ - {0, CS17_SW7, CS18_SW7, CS16_SW7}, /* RGB68-5 */ - {0, CS20_SW7, CS21_SW7, CS19_SW7}, /* RGB69-6 */ - {0, CS23_SW7, CS24_SW7, CS22_SW7}, /* RGB70-+ */ - - {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB71-LSF --ROW4*/ - {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB72-Z */ - {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB73-X */ - {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB74-C */ - {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB75-V */ - {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB76-B */ - {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB77-N */ - {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB78-M */ - {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB79-,< */ - {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB80->. */ - {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB81-?/ */ - {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB82-RSF */ - {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB83-UP */ - {0, CS14_SW8, CS15_SW8, CS13_SW8}, /* RGB84-1*/ - {0, CS17_SW8, CS18_SW8, CS16_SW8}, /* RGB85-2 */ - {0, CS20_SW8, CS21_SW8, CS19_SW8}, /* RGB86-3 */ - {0, CS23_SW8, CS24_SW8, CS22_SW8}, /* RGB87-Enter */ - - {0, CS2_SW6, CS3_SW6, CS1_SW6}, /* RGB88-lct-- ROW5*/ - {0, CS5_SW6, CS6_SW6, CS4_SW6}, /* RGB89-lwin */ - {0, CS8_SW6, CS9_SW6, CS7_SW6}, /* RGB90-lalt */ + {0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/ + {0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */ + {0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */ + {0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */ + {0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */ + {0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */ + {0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */ + {0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */ + {0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */ + {0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */ + {0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */ + {0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */ + {0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */ + {0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB13-Delete */ + {0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-End */ + {0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB15-Insert */ + {0, CS38_SW7, CS39_SW7, CS37_SW7}, /* RGB16-Home */ + {0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/ + {0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */ + {0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */ + {0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */ + {0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */ + {0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */ + {0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */ + {0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */ + {0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */ + {0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */ + {0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */ + {0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */ + {0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */ + {0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB30-BS */ + {0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB31-Num Lock */ + {0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB32- / */ + {0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB33- * */ + {0, CS38_SW8, CS39_SW8, CS37_SW8}, /* RGB34- - */ + {0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB35-TAB ----ROW2*/ + {0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB36-Q */ + {0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB37-W */ + {0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB38-E */ + {0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB39-R */ + {0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB40-T */ + {0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB41-Y */ + {0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB42-U */ + {0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB43-I */ + {0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB44-O */ + {0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB45-P */ + {0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB46-[ */ + {0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB47-] */ + {0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB48-\ */ + {0, CS29_SW9, CS30_SW9, CS28_SW9}, /* RGB49-page up */ + {0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB50-7 */ + {0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB51-8 */ + {0, CS38_SW9, CS39_SW9, CS37_SW9}, /* RGB52-9 */ + {0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB53-CAPS---ROW3*/ + {0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB54-A-- */ + {0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB55-S-- */ + {0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB56-D */ + {0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB57-F */ + {0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB58-G */ + {0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB59-H */ + {0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB60-J */ + {0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB61-K */ + {0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB62-L */ + {0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB63-;: */ + {0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB64-'" */ + {0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB65-ENTER */ + {0, CS11_SW7, CS12_SW7, CS10_SW7}, /* RGB66-Page Down */ + {0, CS14_SW7, CS15_SW7, CS13_SW7}, /* RGB67-4 */ + {0, CS17_SW7, CS18_SW7, CS16_SW7}, /* RGB68-5 */ + {0, CS20_SW7, CS21_SW7, CS19_SW7}, /* RGB69-6 */ + {0, CS23_SW7, CS24_SW7, CS22_SW7}, /* RGB70-+ */ + {0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB71-LSF --ROW4*/ + {0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB72-Z */ + {0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB73-X */ + {0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB74-C */ + {0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB75-V */ + {0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB76-B */ + {0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB77-N */ + {0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB78-M */ + {0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB79-,< */ + {0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB80->. */ + {0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB81-?/ */ + {0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB82-RSF */ + {0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB83-UP */ + {0, CS14_SW8, CS15_SW8, CS13_SW8}, /* RGB84-1*/ + {0, CS17_SW8, CS18_SW8, CS16_SW8}, /* RGB85-2 */ + {0, CS20_SW8, CS21_SW8, CS19_SW8}, /* RGB86-3 */ + {0, CS23_SW8, CS24_SW8, CS22_SW8}, /* RGB87-Enter */ + {0, CS2_SW6, CS3_SW6, CS1_SW6}, /* RGB88-lct-- ROW5*/ + {0, CS5_SW6, CS6_SW6, CS4_SW6}, /* RGB89-lwin */ + {0, CS8_SW6, CS9_SW6, CS7_SW6}, /* RGB90-lalt */ {0, CS11_SW6, CS12_SW6, CS10_SW6}, /* RGB91-sp0 */ {0, CS17_SW6, CS18_SW6, CS16_SW6}, /* RGB92-sp */ {0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB93-sp2 */ @@ -122,93 +117,81 @@ const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { {0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB96-left */ {0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB97-down */ {0, CS11_SW9, CS12_SW9, CS10_SW9}, /* RGB98-right */ - {0, CS14_SW9, CS15_SW9, CS13_SW9}, /* RGB99- 0 */ + {0, CS14_SW9, CS15_SW9, CS13_SW9}, /* RGB99- 0 */ {0, CS20_SW9, CS21_SW9, CS19_SW9} /* RGB100- . */ }; -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - if (record->event.pressed) { - switch(keycode) { - - case QK_KB_0: - rgb_matrix_toggle(); - break; - - case QK_KB_1: - rgb_matrix_step(); - break; - - case QK_KB_2: - rgb_matrix_step_reverse(); - break; - - case QK_KB_3: - rgb_matrix_increase_hue(); //Increase the hue for effect range LEDs - break; - - case QK_KB_4: - rgb_matrix_decrease_hue(); //Decrease the hue for effect range LEDs - break; - - case QK_KB_5: - rgb_matrix_increase_sat(); //Increase the saturation for effect range LEDs - break; - - case QK_KB_6: - rgb_matrix_decrease_sat(); //Decrease the saturation for effect range LEDs - break; - - case QK_KB_7: - rgb_matrix_increase_val(); //Increase the value for effect range LEDs - break; - - case QK_KB_8: - rgb_matrix_decrease_val();//Decrease the value for effect range LEDs - break; - - case QK_KB_9: - rgb_matrix_increase_speed();//Increase the speed of the animations - break; - - case QK_KB_10: - rgb_matrix_decrease_speed();//Decrease the speed of the animations - break; - - default: - break; - } - } - return process_record_user(keycode, record); -} -#endif +bool process_record_kb(uint16_t keycode, keyrecord_t* record) { + if (record->event.pressed) { + switch (keycode) { + case QK_KB_0: + rgb_matrix_toggle(); + break; + + case QK_KB_1: + rgb_matrix_step(); + break; + + case QK_KB_2: + rgb_matrix_step_reverse(); + break; + + case QK_KB_3: + rgb_matrix_increase_hue(); // Increase the hue for effect range LEDs + break; + + case QK_KB_4: + rgb_matrix_decrease_hue(); // Decrease the hue for effect range LEDs + break; + case QK_KB_5: + rgb_matrix_increase_sat(); // Increase the saturation for effect range LEDs + break; -const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 3, HSV_WHITE} -); + case QK_KB_6: + rgb_matrix_decrease_sat(); // Decrease the saturation for effect range LEDs + break; + case QK_KB_7: + rgb_matrix_increase_val(); // Increase the value for effect range LEDs + break; -const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {3, 3, HSV_WHITE} -); + case QK_KB_8: + rgb_matrix_decrease_val(); // Decrease the value for effect range LEDs + break; + + case QK_KB_9: + rgb_matrix_increase_speed(); // Increase the speed of the animations + break; + + case QK_KB_10: + rgb_matrix_decrease_speed(); // Decrease the speed of the animations + break; + + default: + break; + } + } + return process_record_user(keycode, record); +} +#endif +const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS({0, 3, HSV_WHITE}); -const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( - my_capslock_layer, - my_numlock_layer -); +const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS({3, 3, HSV_WHITE}); +const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(my_capslock_layer, my_numlock_layer); void keyboard_post_init_kb(void) { rgblight_layers = my_rgb_layers; keyboard_post_init_user(); } -bool led_update_kb(led_t led_state) { +bool led_update_kb(led_t led_state) { bool res = led_update_user(led_state); if (res) { rgblight_set_layer_state(0, led_state.caps_lock); rgblight_set_layer_state(1, !led_state.num_lock); } - return res; + return res; } \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/config.h b/keyboards/qwertykeys/qk100/ansi/config.h index bdae0afb9b4e..6d0401a3dc80 100644 --- a/keyboards/qwertykeys/qk100/ansi/config.h +++ b/keyboards/qwertykeys/qk100/ansi/config.h @@ -29,7 +29,6 @@ along with this program. If not, see . # define RGBLIGHT_EFFECT_BREATHE_MAX 60 /* RGB matrix */ -#ifdef RGB_MATRIX_ENABLE #define I2C1_CLOCK_SPEED 400000 #define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 # define RGB_MATRIX_DISABLE_KEYCODES @@ -41,5 +40,4 @@ along with this program. If not, see . # define RGB_MATRIX_STARTUP_VAL 128 # define DRIVER_ADDR_1 0b0110000 # define DRIVER_COUNT 1 -# define RGB_MATRIX_LED_COUNT 101 -#endif \ No newline at end of file +# define RGB_MATRIX_LED_COUNT 101 \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/info.json b/keyboards/qwertykeys/qk100/ansi/info.json index e08fe10cee64..e9cd6ca3f204 100644 --- a/keyboards/qwertykeys/qk100/ansi/info.json +++ b/keyboards/qwertykeys/qk100/ansi/info.json @@ -8,7 +8,7 @@ "rgb_matrix": true }, "rgb_matrix": { - "driver": "IS31FL3741", + "driver": "is31fl3741", "max_brightness": 200, "layout": [ {"matrix": [0, 0], "x": 0, "y": 0, "flags": 1}, diff --git a/keyboards/qwertykeys/qk100/ansi/rules.mk b/keyboards/qwertykeys/qk100/ansi/rules.mk index 80b5a0b8f5a5..7ff128fa692e 100644 --- a/keyboards/qwertykeys/qk100/ansi/rules.mk +++ b/keyboards/qwertykeys/qk100/ansi/rules.mk @@ -1,2 +1 @@ -# Enter lower-power sleep mode when on the ChibiOS idle thread -OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE \ No newline at end of file +# This file intentionally left blank \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/rules.mk b/keyboards/qwertykeys/qk100/solder/rules.mk index 80b5a0b8f5a5..7ff128fa692e 100644 --- a/keyboards/qwertykeys/qk100/solder/rules.mk +++ b/keyboards/qwertykeys/qk100/solder/rules.mk @@ -1,2 +1 @@ -# Enter lower-power sleep mode when on the ChibiOS idle thread -OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE \ No newline at end of file +# This file intentionally left blank \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/solder/solder.c b/keyboards/qwertykeys/qk100/solder/solder.c index 35e7bde20c88..8a3e46dab798 100644 --- a/keyboards/qwertykeys/qk100/solder/solder.c +++ b/keyboards/qwertykeys/qk100/solder/solder.c @@ -1,4 +1,4 @@ -/* +/* Copyright 2023 Qwertykeys This program is free software: you can redistribute it and/or modify @@ -16,28 +16,18 @@ along with this program. If not, see . */ #include "quantum.h" -const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 3, HSV_WHITE} -); +const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS({0, 3, HSV_WHITE}); +const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS({3, 3, HSV_WHITE}); -const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {3, 3, HSV_WHITE} -); - - -const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( - my_capslock_layer, - my_numlock_layer -); - +const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(my_capslock_layer, my_numlock_layer); void keyboard_post_init_kb(void) { rgblight_layers = my_rgb_layers; keyboard_post_init_user(); } -bool led_update_kb(led_t led_state) { +bool led_update_kb(led_t led_state) { bool res = led_update_user(led_state); if (res) { rgblight_set_layer_state(0, led_state.caps_lock); From a22e81df50ab5c892700ffb0da1c3734dcc14af8 Mon Sep 17 00:00:00 2001 From: owlab-git <88034417+owlab-git@users.noreply.github.com> Date: Sat, 23 Sep 2023 14:08:38 +0800 Subject: [PATCH 11/13] Update keyboards/qwertykeys/qk100/ansi/mcuconf.h Co-authored-by: Drashna Jaelre --- keyboards/qwertykeys/qk100/ansi/mcuconf.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/mcuconf.h b/keyboards/qwertykeys/qk100/ansi/mcuconf.h index 3e2522755b6a..a8228a149f1f 100644 --- a/keyboards/qwertykeys/qk100/ansi/mcuconf.h +++ b/keyboards/qwertykeys/qk100/ansi/mcuconf.h @@ -22,9 +22,4 @@ * I2C driver system settings. */ #undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE - - - -#undef STM32_PWM_USE_TIM1 -#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file +#define STM32_I2C_USE_I2C1 TRUE \ No newline at end of file From ed27407091209aa4bc1521be583553fe3942e284 Mon Sep 17 00:00:00 2001 From: owlab-git <88034417+owlab-git@users.noreply.github.com> Date: Sat, 23 Sep 2023 14:08:57 +0800 Subject: [PATCH 12/13] Update keyboards/qwertykeys/qk100/ansi/halconf.h Co-authored-by: Drashna Jaelre --- keyboards/qwertykeys/qk100/ansi/halconf.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/qwertykeys/qk100/ansi/halconf.h b/keyboards/qwertykeys/qk100/ansi/halconf.h index 4943de500aba..0deaa06aa2e5 100644 --- a/keyboards/qwertykeys/qk100/ansi/halconf.h +++ b/keyboards/qwertykeys/qk100/ansi/halconf.h @@ -18,6 +18,4 @@ #define HAL_USE_I2C TRUE -#define HAL_USE_PWM TRUE - #include_next \ No newline at end of file From 3ebc1359db0001fd7a3d80ddf9da7507fca0fa6d Mon Sep 17 00:00:00 2001 From: owlab-git Date: Sat, 23 Sep 2023 14:14:05 +0800 Subject: [PATCH 13/13] delete ansi/chconf.h --- keyboards/qwertykeys/qk100/ansi/chconf.h | 24 ----------------------- keyboards/qwertykeys/qk100/ansi/halconf.h | 2 -- keyboards/qwertykeys/qk100/ansi/mcuconf.h | 7 +------ 3 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 keyboards/qwertykeys/qk100/ansi/chconf.h diff --git a/keyboards/qwertykeys/qk100/ansi/chconf.h b/keyboards/qwertykeys/qk100/ansi/chconf.h deleted file mode 100644 index 691723b77194..000000000000 --- a/keyboards/qwertykeys/qk100/ansi/chconf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2023 Qwertykeys - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - - -#pragma once - -#define CH_CFG_ST_TIMEDELTA 0 - -#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE - -#include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/halconf.h b/keyboards/qwertykeys/qk100/ansi/halconf.h index 4943de500aba..0deaa06aa2e5 100644 --- a/keyboards/qwertykeys/qk100/ansi/halconf.h +++ b/keyboards/qwertykeys/qk100/ansi/halconf.h @@ -18,6 +18,4 @@ #define HAL_USE_I2C TRUE -#define HAL_USE_PWM TRUE - #include_next \ No newline at end of file diff --git a/keyboards/qwertykeys/qk100/ansi/mcuconf.h b/keyboards/qwertykeys/qk100/ansi/mcuconf.h index 3e2522755b6a..a8228a149f1f 100644 --- a/keyboards/qwertykeys/qk100/ansi/mcuconf.h +++ b/keyboards/qwertykeys/qk100/ansi/mcuconf.h @@ -22,9 +22,4 @@ * I2C driver system settings. */ #undef STM32_I2C_USE_I2C1 -#define STM32_I2C_USE_I2C1 TRUE - - - -#undef STM32_PWM_USE_TIM1 -#define STM32_PWM_USE_TIM1 TRUE \ No newline at end of file +#define STM32_I2C_USE_I2C1 TRUE \ No newline at end of file