From 94ab372a487c3042e57836e5251a6f1246d505d9 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 16:48:54 +0800 Subject: [PATCH 01/39] submit sk60 submit sk60 --- keyboards/swagkeys/sk60/config.h | 1 + keyboards/swagkeys/sk60/halconf.h | 24 ++++++ keyboards/swagkeys/sk60/info.json | 139 ++++++++++++++++++++++++++++++ keyboards/swagkeys/sk60/mcuconf.h | 22 +++++ keyboards/swagkeys/sk60/readme.md | 12 +++ keyboards/swagkeys/sk60/rules.mk | 17 ++++ 6 files changed, 215 insertions(+) create mode 100644 keyboards/swagkeys/sk60/config.h create mode 100644 keyboards/swagkeys/sk60/halconf.h create mode 100644 keyboards/swagkeys/sk60/info.json create mode 100644 keyboards/swagkeys/sk60/mcuconf.h create mode 100644 keyboards/swagkeys/sk60/readme.md create mode 100644 keyboards/swagkeys/sk60/rules.mk diff --git a/keyboards/swagkeys/sk60/config.h b/keyboards/swagkeys/sk60/config.h new file mode 100644 index 00000000000..e939a33765a --- /dev/null +++ b/keyboards/swagkeys/sk60/config.h @@ -0,0 +1 @@ +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 //定义VIA层数 \ No newline at end of file diff --git a/keyboards/swagkeys/sk60/halconf.h b/keyboards/swagkeys/sk60/halconf.h new file mode 100644 index 00000000000..75cb4d4405e --- /dev/null +++ b/keyboards/swagkeys/sk60/halconf.h @@ -0,0 +1,24 @@ +/* Copyright 2020 QMK + * + * 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_PWM TRUE +// #define HAL_USE_PAL TRUE +#define HAL_USE_I2C TRUE + +#include_next + diff --git a/keyboards/swagkeys/sk60/info.json b/keyboards/swagkeys/sk60/info.json new file mode 100644 index 00000000000..6b7734dca3f --- /dev/null +++ b/keyboards/swagkeys/sk60/info.json @@ -0,0 +1,139 @@ +{ + "keyboard_name": "Swagkeys_SK60", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "Swagkeys", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4E21", + "pid": "0x4F21", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": false, + "rgblight": false + }, + "indicators": { + "caps_lock": "B15", + "on_state":0 +}, + "matrix_pins": { + "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], + "rows": ["B9", "C13", "B12", "B11", "B10"] + }, + "encoder": { + "pin_a": "B8", + "pin_b": "B9" + }, + "bootmagic": { + "matrix" : [11,4] + }, + "ws2812": { + "pin": "B13" + }, + "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, + "hue_steps": 10, + "led_count": 35, + "sleep": true, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"`~", "matrix": [ 0, 0], "x":0, "y":1.25 }, + {"label":"1!", "matrix": [ 0, 1], "x":1, "y":1.25 }, + {"label":"2@", "matrix": [ 0, 2], "x":2, "y":1.25 }, + {"label":"3#", "matrix": [ 0, 3], "x":3, "y":1.25 }, + {"label":"4$", "matrix": [ 0, 4], "x":4, "y":1.25 }, + {"label":"5%", "matrix": [ 0, 5], "x":5, "y":1.25 }, + {"label":"6^", "matrix": [ 0, 6], "x":6, "y":1.25 }, + {"label":"7&", "matrix": [ 0, 7], "x":7, "y":1.25 }, + {"label":"8*", "matrix": [ 0, 8], "x":8, "y":1.25 }, + {"label":"9(", "matrix": [ 0, 9], "x":9, "y":1.25 }, + {"label":"0)", "matrix": [ 0, 10], "x":10, "y":1.25 }, + {"label":"-_", "matrix": [ 0, 11], "x":11, "y":1.25 }, + {"label":"=+", "matrix": [ 0, 12], "x":12, "y":1.25 }, + {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":1.25, "w":2 }, + {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":1.25, "w":2 }, + {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":1.25, "w":2 }, + + + {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":2.25, "w":1.5 }, + {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":2.25 }, + {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":2.25 }, + {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":2.25 }, + {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":2.25 }, + {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":2.25 }, + {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":2.25 }, + {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":2.25 }, + {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":2.25 }, + {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":2.25 }, + {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":2.25 }, + {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":2.25 }, + {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":2.25 }, + {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":2.25, "w":1.5 }, + + {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":3.25, "w":1.75}, + {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":3.25 }, + {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":3.25 }, + {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":3.25 }, + {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":3.25 }, + {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":3.25 }, + {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":3.25 }, + {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":3.25 }, + {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":3.25 }, + {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":3.25 }, + {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":3.25 }, + {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":3.25 }, + {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":3.25, "w":2.25}, + + {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":4.25, "w":2.25}, + {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":4.25 }, + {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":4.25 }, + {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":4.25 }, + {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":4.25 }, + {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":4.25 }, + {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":4.25 }, + {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":4.25 }, + {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":4.25 }, + {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":4.25 }, + {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":4.25 }, + {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":4.25, "w":2.75}, + {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":4.25, "w":2.75}, + {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":4.25, "w":2.75}, + + {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":5.25, "w":1.25 }, + {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":5.25, "w":1.25 }, + {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":5.25, "w":1.25 }, + {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":5.25, "w":6.25 }, + {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":5.25, "w":1.25 }, + + {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":5.25, "w":1.25 }, + {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":5.25, "w":1.25 } + + ] + } + } + + } diff --git a/keyboards/swagkeys/sk60/mcuconf.h b/keyboards/swagkeys/sk60/mcuconf.h new file mode 100644 index 00000000000..7db5568c3b1 --- /dev/null +++ b/keyboards/swagkeys/sk60/mcuconf.h @@ -0,0 +1,22 @@ +/* Copyright 2020 QMK + * + * 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 + +#undef STM32_I2C_USE_I2C2 +#define STM32_I2C_USE_I2C2 TRUE diff --git a/keyboards/swagkeys/sk60/readme.md b/keyboards/swagkeys/sk60/readme.md new file mode 100644 index 00000000000..f1d4d22507f --- /dev/null +++ b/keyboards/swagkeys/sk60/readme.md @@ -0,0 +1,12 @@ +# mao ds 17 + +A Blue Pill STM32F103CBT6-based 9x9 nono 87 keyboard. + +Keyboard Maintainer: [Tab](https://tabkb.com/nono/link65ec) +Hardware Supported: Blue Pill STM32F103CBT6 + +Make example for this keyboard (after setting up your build environment): + + make tab/mao/ds17:default + +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). diff --git a/keyboards/swagkeys/sk60/rules.mk b/keyboards/swagkeys/sk60/rules.mk new file mode 100644 index 00000000000..1747277dc68 --- /dev/null +++ b/keyboards/swagkeys/sk60/rules.mk @@ -0,0 +1,17 @@ +# Build Options +# change yes to no to disable + +# MCU_LDSCRIPT = STM32F103xB + +# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +# MOUSEKEY_ENABLE = yes # Mouse keys +# EXTRAKEY_ENABLE = yes # Audio control and System control +# CONSOLE_ENABLE = yes # Console for debug +# COMMAND_ENABLE = yes # Commands for debug and configuration +# NKRO_ENABLE = yes # Enable N-Key Rollover +# BACKLIGHT_ENABLE = no +# RGBLIGHT_ENABLE = yes +# SLEEP_LED_ENABLE = no + +# Enter lower-power sleep mode when on the ChibiOS idle thread +# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE From 97c44d048dd5b932cf003ab2267f8f2da7ad290a Mon Sep 17 00:00:00 2001 From: Micah <45813290+micahyy@users.noreply.github.com> Date: Sun, 8 Sep 2024 16:51:52 +0800 Subject: [PATCH 02/39] Update readme.md --- keyboards/swagkeys/sk60/readme.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/keyboards/swagkeys/sk60/readme.md b/keyboards/swagkeys/sk60/readme.md index f1d4d22507f..87b648fffb0 100644 --- a/keyboards/swagkeys/sk60/readme.md +++ b/keyboards/swagkeys/sk60/readme.md @@ -1,12 +1,4 @@ -# mao ds 17 +# swagkeys sk60 -A Blue Pill STM32F103CBT6-based 9x9 nono 87 keyboard. +Based on STM32F103CBT6 60 keyboard. -Keyboard Maintainer: [Tab](https://tabkb.com/nono/link65ec) -Hardware Supported: Blue Pill STM32F103CBT6 - -Make example for this keyboard (after setting up your build environment): - - make tab/mao/ds17:default - -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). From 790a00706ded1f86a1ba7d01714d5514eddf3a7f Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 17:17:20 +0800 Subject: [PATCH 03/39] update sk60 --- keyboards/swagkeys/sk60/info.json | 130 +++++++++--------- .../swagkeys/sk60/keymaps/default/keymap.c | 49 +++++++ keyboards/swagkeys/sk60/readme.md | 13 +- 3 files changed, 116 insertions(+), 76 deletions(-) create mode 100644 keyboards/swagkeys/sk60/keymaps/default/keymap.c diff --git a/keyboards/swagkeys/sk60/info.json b/keyboards/swagkeys/sk60/info.json index 6b7734dca3f..d8ced26a31e 100644 --- a/keyboards/swagkeys/sk60/info.json +++ b/keyboards/swagkeys/sk60/info.json @@ -34,7 +34,7 @@ "pin_b": "B9" }, "bootmagic": { - "matrix" : [11,4] + "matrix" : [4,10] }, "ws2812": { "pin": "B13" @@ -61,76 +61,76 @@ "layouts": { "LAYOUT": { "layout": [ - {"label":"`~", "matrix": [ 0, 0], "x":0, "y":1.25 }, - {"label":"1!", "matrix": [ 0, 1], "x":1, "y":1.25 }, - {"label":"2@", "matrix": [ 0, 2], "x":2, "y":1.25 }, - {"label":"3#", "matrix": [ 0, 3], "x":3, "y":1.25 }, - {"label":"4$", "matrix": [ 0, 4], "x":4, "y":1.25 }, - {"label":"5%", "matrix": [ 0, 5], "x":5, "y":1.25 }, - {"label":"6^", "matrix": [ 0, 6], "x":6, "y":1.25 }, - {"label":"7&", "matrix": [ 0, 7], "x":7, "y":1.25 }, - {"label":"8*", "matrix": [ 0, 8], "x":8, "y":1.25 }, - {"label":"9(", "matrix": [ 0, 9], "x":9, "y":1.25 }, - {"label":"0)", "matrix": [ 0, 10], "x":10, "y":1.25 }, - {"label":"-_", "matrix": [ 0, 11], "x":11, "y":1.25 }, - {"label":"=+", "matrix": [ 0, 12], "x":12, "y":1.25 }, - {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":1.25, "w":2 }, - {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":1.25, "w":2 }, - {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":1.25, "w":2 }, + {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, + {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, + {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, + {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, + {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, + {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, + {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, + {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, + {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, + {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, + {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, + {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, + {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, + {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, - {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":2.25, "w":1.5 }, - {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":2.25 }, - {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":2.25 }, - {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":2.25 }, - {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":2.25 }, - {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":2.25 }, - {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":2.25 }, - {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":2.25 }, - {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":2.25 }, - {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":2.25 }, - {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":2.25 }, - {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":2.25 }, - {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":2.25 }, - {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":2.25, "w":1.5 }, + {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, + {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, + {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, + {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, + {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, + {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, + {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, + {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, + {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, + {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, + {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, + {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, + {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, + {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, - {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":3.25, "w":1.75}, - {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":3.25 }, - {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":3.25 }, - {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":3.25 }, - {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":3.25 }, - {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":3.25 }, - {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":3.25 }, - {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":3.25 }, - {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":3.25 }, - {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":3.25 }, - {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":3.25 }, - {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":3.25 }, - {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":3.25, "w":2.25}, + {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, + {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, + {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, + {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, + {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, + {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, + {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, + {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, + {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, + {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, + {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, + {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, + {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, - {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":4.25, "w":2.25}, - {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":4.25 }, - {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":4.25 }, - {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":4.25 }, - {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":4.25 }, - {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":4.25 }, - {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":4.25 }, - {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":4.25 }, - {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":4.25 }, - {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":4.25 }, - {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":4.25 }, - {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":4.25, "w":2.75}, - {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":4.25, "w":2.75}, - {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":4.25, "w":2.75}, + {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, + {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, + {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, + {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, + {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, + {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, + {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, + {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, + {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, + {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, + {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, + {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, + {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, + {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, - {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":5.25, "w":1.25 }, - {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":5.25, "w":1.25 }, - {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":5.25, "w":1.25 }, - {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":5.25, "w":6.25 }, - {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":5.25, "w":1.25 }, + {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, + {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, + {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, + {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, + {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, - {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":5.25, "w":1.25 }, - {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":5.25, "w":1.25 } + {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, + {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } ] } diff --git a/keyboards/swagkeys/sk60/keymaps/default/keymap.c b/keyboards/swagkeys/sk60/keymaps/default/keymap.c new file mode 100644 index 00000000000..907abb17af5 --- /dev/null +++ b/keyboards/swagkeys/sk60/keymaps/default/keymap.c @@ -0,0 +1,49 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ), + [1] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ) + +}; diff --git a/keyboards/swagkeys/sk60/readme.md b/keyboards/swagkeys/sk60/readme.md index f1d4d22507f..c23e744e465 100644 --- a/keyboards/swagkeys/sk60/readme.md +++ b/keyboards/swagkeys/sk60/readme.md @@ -1,12 +1,3 @@ -# mao ds 17 +# Swagkeys SK60 -A Blue Pill STM32F103CBT6-based 9x9 nono 87 keyboard. - -Keyboard Maintainer: [Tab](https://tabkb.com/nono/link65ec) -Hardware Supported: Blue Pill STM32F103CBT6 - -Make example for this keyboard (after setting up your build environment): - - make tab/mao/ds17:default - -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). +A keyboard base on STM32F103C8T6 60 keyboard. From ab019cb1a8e40a8a308a0c3fe5ebccdd94177e08 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 17:24:51 +0800 Subject: [PATCH 04/39] delete sk60 --- keyboards/swagkeys/sk60/config.h | 1 - keyboards/swagkeys/sk60/halconf.h | 24 --- keyboards/swagkeys/sk60/info.json | 139 ------------------ .../swagkeys/sk60/keymaps/default/keymap.c | 49 ------ keyboards/swagkeys/sk60/mcuconf.h | 22 --- keyboards/swagkeys/sk60/readme.md | 3 - keyboards/swagkeys/sk60/rules.mk | 17 --- 7 files changed, 255 deletions(-) delete mode 100644 keyboards/swagkeys/sk60/config.h delete mode 100644 keyboards/swagkeys/sk60/halconf.h delete mode 100644 keyboards/swagkeys/sk60/info.json delete mode 100644 keyboards/swagkeys/sk60/keymaps/default/keymap.c delete mode 100644 keyboards/swagkeys/sk60/mcuconf.h delete mode 100644 keyboards/swagkeys/sk60/readme.md delete mode 100644 keyboards/swagkeys/sk60/rules.mk diff --git a/keyboards/swagkeys/sk60/config.h b/keyboards/swagkeys/sk60/config.h deleted file mode 100644 index e939a33765a..00000000000 --- a/keyboards/swagkeys/sk60/config.h +++ /dev/null @@ -1 +0,0 @@ -#define DYNAMIC_KEYMAP_LAYER_COUNT 3 //定义VIA层数 \ No newline at end of file diff --git a/keyboards/swagkeys/sk60/halconf.h b/keyboards/swagkeys/sk60/halconf.h deleted file mode 100644 index 75cb4d4405e..00000000000 --- a/keyboards/swagkeys/sk60/halconf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2020 QMK - * - * 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_PWM TRUE -// #define HAL_USE_PAL TRUE -#define HAL_USE_I2C TRUE - -#include_next - diff --git a/keyboards/swagkeys/sk60/info.json b/keyboards/swagkeys/sk60/info.json deleted file mode 100644 index d8ced26a31e..00000000000 --- a/keyboards/swagkeys/sk60/info.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "keyboard_name": "Swagkeys_SK60", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "Swagkeys", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4E21", - "pid": "0x4F21", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "command": true, - "console": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": false, - "rgblight": false - }, - "indicators": { - "caps_lock": "B15", - "on_state":0 -}, - "matrix_pins": { - "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], - "rows": ["B9", "C13", "B12", "B11", "B10"] - }, - "encoder": { - "pin_a": "B8", - "pin_b": "B9" - }, - "bootmagic": { - "matrix" : [4,10] - }, - "ws2812": { - "pin": "B13" - }, - "rgblight": { - "saturation_steps": 8, - "brightness_steps": 8, - "hue_steps": 10, - "led_count": 35, - "sleep": true, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, - {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, - {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, - {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, - {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, - {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, - {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, - {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, - {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, - {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, - {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, - {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, - {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, - {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, - - - {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, - {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, - {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, - {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, - {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, - {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, - {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, - {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, - {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, - {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, - {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, - {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, - {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, - {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, - - {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, - {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, - {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, - {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, - {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, - {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, - {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, - {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, - {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, - {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, - {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, - {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, - {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, - - {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, - {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, - {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, - {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, - {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, - {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, - {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, - {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, - {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, - {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, - {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, - {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, - {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, - {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, - - {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, - {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, - {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, - {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, - {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, - - {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, - {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } - - ] - } - } - - } diff --git a/keyboards/swagkeys/sk60/keymaps/default/keymap.c b/keyboards/swagkeys/sk60/keymaps/default/keymap.c deleted file mode 100644 index 907abb17af5..00000000000 --- a/keyboards/swagkeys/sk60/keymaps/default/keymap.c +++ /dev/null @@ -1,49 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ), - [1] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ) - -}; diff --git a/keyboards/swagkeys/sk60/mcuconf.h b/keyboards/swagkeys/sk60/mcuconf.h deleted file mode 100644 index 7db5568c3b1..00000000000 --- a/keyboards/swagkeys/sk60/mcuconf.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 - -#undef STM32_I2C_USE_I2C2 -#define STM32_I2C_USE_I2C2 TRUE diff --git a/keyboards/swagkeys/sk60/readme.md b/keyboards/swagkeys/sk60/readme.md deleted file mode 100644 index c23e744e465..00000000000 --- a/keyboards/swagkeys/sk60/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Swagkeys SK60 - -A keyboard base on STM32F103C8T6 60 keyboard. diff --git a/keyboards/swagkeys/sk60/rules.mk b/keyboards/swagkeys/sk60/rules.mk deleted file mode 100644 index 1747277dc68..00000000000 --- a/keyboards/swagkeys/sk60/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# Build Options -# change yes to no to disable - -# MCU_LDSCRIPT = STM32F103xB - -# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -# MOUSEKEY_ENABLE = yes # Mouse keys -# EXTRAKEY_ENABLE = yes # Audio control and System control -# CONSOLE_ENABLE = yes # Console for debug -# COMMAND_ENABLE = yes # Commands for debug and configuration -# NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = no -# RGBLIGHT_ENABLE = yes -# SLEEP_LED_ENABLE = no - -# Enter lower-power sleep mode when on the ChibiOS idle thread -# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE From b7215e462a67390f279e7ee92981c409e06f3486 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 17:25:21 +0800 Subject: [PATCH 05/39] new sk60 --- keyboards/swagkeys/sk60/config.h | 1 + keyboards/swagkeys/sk60/halconf.h | 24 +++ keyboards/swagkeys/sk60/info.json | 139 ++++++++++++++++++ .../swagkeys/sk60/keymaps/default/keymap.c | 49 ++++++ keyboards/swagkeys/sk60/mcuconf.h | 22 +++ keyboards/swagkeys/sk60/readme.md | 3 + keyboards/swagkeys/sk60/rules.mk | 17 +++ 7 files changed, 255 insertions(+) create mode 100644 keyboards/swagkeys/sk60/config.h create mode 100644 keyboards/swagkeys/sk60/halconf.h create mode 100644 keyboards/swagkeys/sk60/info.json create mode 100644 keyboards/swagkeys/sk60/keymaps/default/keymap.c create mode 100644 keyboards/swagkeys/sk60/mcuconf.h create mode 100644 keyboards/swagkeys/sk60/readme.md create mode 100644 keyboards/swagkeys/sk60/rules.mk diff --git a/keyboards/swagkeys/sk60/config.h b/keyboards/swagkeys/sk60/config.h new file mode 100644 index 00000000000..e939a33765a --- /dev/null +++ b/keyboards/swagkeys/sk60/config.h @@ -0,0 +1 @@ +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 //定义VIA层数 \ No newline at end of file diff --git a/keyboards/swagkeys/sk60/halconf.h b/keyboards/swagkeys/sk60/halconf.h new file mode 100644 index 00000000000..75cb4d4405e --- /dev/null +++ b/keyboards/swagkeys/sk60/halconf.h @@ -0,0 +1,24 @@ +/* Copyright 2020 QMK + * + * 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_PWM TRUE +// #define HAL_USE_PAL TRUE +#define HAL_USE_I2C TRUE + +#include_next + diff --git a/keyboards/swagkeys/sk60/info.json b/keyboards/swagkeys/sk60/info.json new file mode 100644 index 00000000000..d8ced26a31e --- /dev/null +++ b/keyboards/swagkeys/sk60/info.json @@ -0,0 +1,139 @@ +{ + "keyboard_name": "Swagkeys_SK60", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "Swagkeys", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4E21", + "pid": "0x4F21", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": false, + "rgblight": false + }, + "indicators": { + "caps_lock": "B15", + "on_state":0 +}, + "matrix_pins": { + "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], + "rows": ["B9", "C13", "B12", "B11", "B10"] + }, + "encoder": { + "pin_a": "B8", + "pin_b": "B9" + }, + "bootmagic": { + "matrix" : [4,10] + }, + "ws2812": { + "pin": "B13" + }, + "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, + "hue_steps": 10, + "led_count": 35, + "sleep": true, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, + {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, + {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, + {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, + {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, + {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, + {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, + {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, + {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, + {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, + {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, + {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, + {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, + {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, + + + {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, + {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, + {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, + {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, + {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, + {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, + {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, + {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, + {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, + {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, + {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, + {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, + {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, + {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, + + {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, + {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, + {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, + {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, + {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, + {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, + {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, + {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, + {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, + {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, + {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, + {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, + {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, + + {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, + {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, + {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, + {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, + {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, + {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, + {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, + {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, + {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, + {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, + {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, + {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, + {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, + {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, + + {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, + {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, + {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, + {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, + {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, + + {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, + {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } + + ] + } + } + + } diff --git a/keyboards/swagkeys/sk60/keymaps/default/keymap.c b/keyboards/swagkeys/sk60/keymaps/default/keymap.c new file mode 100644 index 00000000000..907abb17af5 --- /dev/null +++ b/keyboards/swagkeys/sk60/keymaps/default/keymap.c @@ -0,0 +1,49 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ), + [1] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ) + +}; diff --git a/keyboards/swagkeys/sk60/mcuconf.h b/keyboards/swagkeys/sk60/mcuconf.h new file mode 100644 index 00000000000..7db5568c3b1 --- /dev/null +++ b/keyboards/swagkeys/sk60/mcuconf.h @@ -0,0 +1,22 @@ +/* Copyright 2020 QMK + * + * 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 + +#undef STM32_I2C_USE_I2C2 +#define STM32_I2C_USE_I2C2 TRUE diff --git a/keyboards/swagkeys/sk60/readme.md b/keyboards/swagkeys/sk60/readme.md new file mode 100644 index 00000000000..c23e744e465 --- /dev/null +++ b/keyboards/swagkeys/sk60/readme.md @@ -0,0 +1,3 @@ +# Swagkeys SK60 + +A keyboard base on STM32F103C8T6 60 keyboard. diff --git a/keyboards/swagkeys/sk60/rules.mk b/keyboards/swagkeys/sk60/rules.mk new file mode 100644 index 00000000000..1747277dc68 --- /dev/null +++ b/keyboards/swagkeys/sk60/rules.mk @@ -0,0 +1,17 @@ +# Build Options +# change yes to no to disable + +# MCU_LDSCRIPT = STM32F103xB + +# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +# MOUSEKEY_ENABLE = yes # Mouse keys +# EXTRAKEY_ENABLE = yes # Audio control and System control +# CONSOLE_ENABLE = yes # Console for debug +# COMMAND_ENABLE = yes # Commands for debug and configuration +# NKRO_ENABLE = yes # Enable N-Key Rollover +# BACKLIGHT_ENABLE = no +# RGBLIGHT_ENABLE = yes +# SLEEP_LED_ENABLE = no + +# Enter lower-power sleep mode when on the ChibiOS idle thread +# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE From 74f33a8b5c1cf1fc9ccee205eb647c86027b68a4 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 17:43:49 +0800 Subject: [PATCH 06/39] delete --- keyboards/swagkeys/sk60/config.h | 1 - keyboards/swagkeys/sk60/halconf.h | 24 --- keyboards/swagkeys/sk60/info.json | 139 ------------------ .../swagkeys/sk60/keymaps/default/keymap.c | 49 ------ keyboards/swagkeys/sk60/mcuconf.h | 22 --- keyboards/swagkeys/sk60/rules.mk | 17 --- 6 files changed, 252 deletions(-) delete mode 100644 keyboards/swagkeys/sk60/config.h delete mode 100644 keyboards/swagkeys/sk60/halconf.h delete mode 100644 keyboards/swagkeys/sk60/info.json delete mode 100644 keyboards/swagkeys/sk60/keymaps/default/keymap.c delete mode 100644 keyboards/swagkeys/sk60/mcuconf.h delete mode 100644 keyboards/swagkeys/sk60/rules.mk diff --git a/keyboards/swagkeys/sk60/config.h b/keyboards/swagkeys/sk60/config.h deleted file mode 100644 index e939a33765a..00000000000 --- a/keyboards/swagkeys/sk60/config.h +++ /dev/null @@ -1 +0,0 @@ -#define DYNAMIC_KEYMAP_LAYER_COUNT 3 //定义VIA层数 \ No newline at end of file diff --git a/keyboards/swagkeys/sk60/halconf.h b/keyboards/swagkeys/sk60/halconf.h deleted file mode 100644 index 75cb4d4405e..00000000000 --- a/keyboards/swagkeys/sk60/halconf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2020 QMK - * - * 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_PWM TRUE -// #define HAL_USE_PAL TRUE -#define HAL_USE_I2C TRUE - -#include_next - diff --git a/keyboards/swagkeys/sk60/info.json b/keyboards/swagkeys/sk60/info.json deleted file mode 100644 index d8ced26a31e..00000000000 --- a/keyboards/swagkeys/sk60/info.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "keyboard_name": "Swagkeys_SK60", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "Swagkeys", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4E21", - "pid": "0x4F21", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "command": true, - "console": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": false, - "rgblight": false - }, - "indicators": { - "caps_lock": "B15", - "on_state":0 -}, - "matrix_pins": { - "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], - "rows": ["B9", "C13", "B12", "B11", "B10"] - }, - "encoder": { - "pin_a": "B8", - "pin_b": "B9" - }, - "bootmagic": { - "matrix" : [4,10] - }, - "ws2812": { - "pin": "B13" - }, - "rgblight": { - "saturation_steps": 8, - "brightness_steps": 8, - "hue_steps": 10, - "led_count": 35, - "sleep": true, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, - {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, - {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, - {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, - {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, - {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, - {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, - {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, - {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, - {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, - {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, - {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, - {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, - {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, - - - {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, - {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, - {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, - {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, - {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, - {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, - {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, - {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, - {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, - {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, - {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, - {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, - {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, - {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, - - {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, - {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, - {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, - {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, - {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, - {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, - {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, - {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, - {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, - {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, - {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, - {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, - {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, - - {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, - {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, - {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, - {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, - {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, - {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, - {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, - {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, - {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, - {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, - {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, - {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, - {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, - {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, - - {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, - {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, - {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, - {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, - {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, - - {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, - {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } - - ] - } - } - - } diff --git a/keyboards/swagkeys/sk60/keymaps/default/keymap.c b/keyboards/swagkeys/sk60/keymaps/default/keymap.c deleted file mode 100644 index 907abb17af5..00000000000 --- a/keyboards/swagkeys/sk60/keymaps/default/keymap.c +++ /dev/null @@ -1,49 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ), - [1] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ) - -}; diff --git a/keyboards/swagkeys/sk60/mcuconf.h b/keyboards/swagkeys/sk60/mcuconf.h deleted file mode 100644 index 7db5568c3b1..00000000000 --- a/keyboards/swagkeys/sk60/mcuconf.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 - -#undef STM32_I2C_USE_I2C2 -#define STM32_I2C_USE_I2C2 TRUE diff --git a/keyboards/swagkeys/sk60/rules.mk b/keyboards/swagkeys/sk60/rules.mk deleted file mode 100644 index 1747277dc68..00000000000 --- a/keyboards/swagkeys/sk60/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# Build Options -# change yes to no to disable - -# MCU_LDSCRIPT = STM32F103xB - -# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -# MOUSEKEY_ENABLE = yes # Mouse keys -# EXTRAKEY_ENABLE = yes # Audio control and System control -# CONSOLE_ENABLE = yes # Console for debug -# COMMAND_ENABLE = yes # Commands for debug and configuration -# NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = no -# RGBLIGHT_ENABLE = yes -# SLEEP_LED_ENABLE = no - -# Enter lower-power sleep mode when on the ChibiOS idle thread -# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE From 9914af9a4342a35877dede671f1c5a2696efcd3f Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 17:44:19 +0800 Subject: [PATCH 07/39] sk60 --- keyboards/swagkeys/sk60/config.h | 1 + keyboards/swagkeys/sk60/halconf.h | 24 +++ keyboards/swagkeys/sk60/info.json | 139 ++++++++++++++++++ .../swagkeys/sk60/keymaps/default/keymap.c | 49 ++++++ keyboards/swagkeys/sk60/mcuconf.h | 22 +++ keyboards/swagkeys/sk60/readme.md | 3 + keyboards/swagkeys/sk60/rules.mk | 17 +++ 7 files changed, 255 insertions(+) create mode 100644 keyboards/swagkeys/sk60/config.h create mode 100644 keyboards/swagkeys/sk60/halconf.h create mode 100644 keyboards/swagkeys/sk60/info.json create mode 100644 keyboards/swagkeys/sk60/keymaps/default/keymap.c create mode 100644 keyboards/swagkeys/sk60/mcuconf.h create mode 100644 keyboards/swagkeys/sk60/readme.md create mode 100644 keyboards/swagkeys/sk60/rules.mk diff --git a/keyboards/swagkeys/sk60/config.h b/keyboards/swagkeys/sk60/config.h new file mode 100644 index 00000000000..e939a33765a --- /dev/null +++ b/keyboards/swagkeys/sk60/config.h @@ -0,0 +1 @@ +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 //定义VIA层数 \ No newline at end of file diff --git a/keyboards/swagkeys/sk60/halconf.h b/keyboards/swagkeys/sk60/halconf.h new file mode 100644 index 00000000000..75cb4d4405e --- /dev/null +++ b/keyboards/swagkeys/sk60/halconf.h @@ -0,0 +1,24 @@ +/* Copyright 2020 QMK + * + * 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_PWM TRUE +// #define HAL_USE_PAL TRUE +#define HAL_USE_I2C TRUE + +#include_next + diff --git a/keyboards/swagkeys/sk60/info.json b/keyboards/swagkeys/sk60/info.json new file mode 100644 index 00000000000..d8ced26a31e --- /dev/null +++ b/keyboards/swagkeys/sk60/info.json @@ -0,0 +1,139 @@ +{ + "keyboard_name": "Swagkeys_SK60", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "Swagkeys", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4E21", + "pid": "0x4F21", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": false, + "rgblight": false + }, + "indicators": { + "caps_lock": "B15", + "on_state":0 +}, + "matrix_pins": { + "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], + "rows": ["B9", "C13", "B12", "B11", "B10"] + }, + "encoder": { + "pin_a": "B8", + "pin_b": "B9" + }, + "bootmagic": { + "matrix" : [4,10] + }, + "ws2812": { + "pin": "B13" + }, + "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, + "hue_steps": 10, + "led_count": 35, + "sleep": true, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, + {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, + {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, + {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, + {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, + {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, + {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, + {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, + {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, + {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, + {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, + {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, + {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, + {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, + + + {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, + {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, + {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, + {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, + {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, + {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, + {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, + {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, + {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, + {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, + {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, + {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, + {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, + {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, + + {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, + {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, + {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, + {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, + {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, + {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, + {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, + {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, + {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, + {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, + {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, + {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, + {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, + + {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, + {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, + {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, + {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, + {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, + {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, + {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, + {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, + {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, + {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, + {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, + {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, + {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, + {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, + + {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, + {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, + {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, + {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, + {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, + + {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, + {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } + + ] + } + } + + } diff --git a/keyboards/swagkeys/sk60/keymaps/default/keymap.c b/keyboards/swagkeys/sk60/keymaps/default/keymap.c new file mode 100644 index 00000000000..907abb17af5 --- /dev/null +++ b/keyboards/swagkeys/sk60/keymaps/default/keymap.c @@ -0,0 +1,49 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ), + [1] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ) + +}; diff --git a/keyboards/swagkeys/sk60/mcuconf.h b/keyboards/swagkeys/sk60/mcuconf.h new file mode 100644 index 00000000000..7db5568c3b1 --- /dev/null +++ b/keyboards/swagkeys/sk60/mcuconf.h @@ -0,0 +1,22 @@ +/* Copyright 2020 QMK + * + * 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 + +#undef STM32_I2C_USE_I2C2 +#define STM32_I2C_USE_I2C2 TRUE diff --git a/keyboards/swagkeys/sk60/readme.md b/keyboards/swagkeys/sk60/readme.md new file mode 100644 index 00000000000..c23e744e465 --- /dev/null +++ b/keyboards/swagkeys/sk60/readme.md @@ -0,0 +1,3 @@ +# Swagkeys SK60 + +A keyboard base on STM32F103C8T6 60 keyboard. diff --git a/keyboards/swagkeys/sk60/rules.mk b/keyboards/swagkeys/sk60/rules.mk new file mode 100644 index 00000000000..1747277dc68 --- /dev/null +++ b/keyboards/swagkeys/sk60/rules.mk @@ -0,0 +1,17 @@ +# Build Options +# change yes to no to disable + +# MCU_LDSCRIPT = STM32F103xB + +# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +# MOUSEKEY_ENABLE = yes # Mouse keys +# EXTRAKEY_ENABLE = yes # Audio control and System control +# CONSOLE_ENABLE = yes # Console for debug +# COMMAND_ENABLE = yes # Commands for debug and configuration +# NKRO_ENABLE = yes # Enable N-Key Rollover +# BACKLIGHT_ENABLE = no +# RGBLIGHT_ENABLE = yes +# SLEEP_LED_ENABLE = no + +# Enter lower-power sleep mode when on the ChibiOS idle thread +# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE From 87e8fcdb18fc4a0cdc683cf909312e61612e24e6 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 17:55:33 +0800 Subject: [PATCH 08/39] Delete config.h --- keyboards/swagkeys/sk60/config.h | 1 - 1 file changed, 1 deletion(-) delete mode 100644 keyboards/swagkeys/sk60/config.h diff --git a/keyboards/swagkeys/sk60/config.h b/keyboards/swagkeys/sk60/config.h deleted file mode 100644 index e939a33765a..00000000000 --- a/keyboards/swagkeys/sk60/config.h +++ /dev/null @@ -1 +0,0 @@ -#define DYNAMIC_KEYMAP_LAYER_COUNT 3 //定义VIA层数 \ No newline at end of file From e339335a0e8e18f1dea445fd988a4f20f253c058 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 18:52:01 +0800 Subject: [PATCH 09/39] submit ds17 --- keyboards/czmao/ds17/config.h | 3 + keyboards/czmao/ds17/halconf.h | 24 +++++ keyboards/czmao/ds17/info.json | 89 +++++++++++++++++++ keyboards/czmao/ds17/keymaps/default/keymap.c | 64 +++++++++++++ keyboards/czmao/ds17/mcuconf.h | 19 ++++ keyboards/czmao/ds17/readme.md | 12 +++ keyboards/czmao/ds17/rules.mk | 17 ++++ 7 files changed, 228 insertions(+) create mode 100644 keyboards/czmao/ds17/config.h create mode 100644 keyboards/czmao/ds17/halconf.h create mode 100644 keyboards/czmao/ds17/info.json create mode 100644 keyboards/czmao/ds17/keymaps/default/keymap.c create mode 100644 keyboards/czmao/ds17/mcuconf.h create mode 100644 keyboards/czmao/ds17/readme.md create mode 100644 keyboards/czmao/ds17/rules.mk diff --git a/keyboards/czmao/ds17/config.h b/keyboards/czmao/ds17/config.h new file mode 100644 index 00000000000..b0ee5bdc32f --- /dev/null +++ b/keyboards/czmao/ds17/config.h @@ -0,0 +1,3 @@ +#define DYNAMIC_KEYMAP_LAYER_COUNT 8 //定义VIA层数 + + diff --git a/keyboards/czmao/ds17/halconf.h b/keyboards/czmao/ds17/halconf.h new file mode 100644 index 00000000000..97743254021 --- /dev/null +++ b/keyboards/czmao/ds17/halconf.h @@ -0,0 +1,24 @@ +/* Copyright 2020 QMK + * + * 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_PWM TRUE +// #define HAL_USE_PAL TRUE +// #define HAL_USE_I2C TRUE + +#include_next + diff --git a/keyboards/czmao/ds17/info.json b/keyboards/czmao/ds17/info.json new file mode 100644 index 00000000000..e9864656617 --- /dev/null +++ b/keyboards/czmao/ds17/info.json @@ -0,0 +1,89 @@ +{ + "keyboard_name": "mao_10_DS17_ST", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4E17", + "pid": "0x4E17", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": false, + "rgblight": true, + "encoder": false + }, + + "bootmagic": { + "matrix" : [0,0] + }, + + "matrix_pins": { + "cols": ["B12", "B14", "B15", "A8"], + "rows": ["A9", "A10", "A15", "B3", "B4"] + }, + + "ws2812": { + "pin": "B13" + }, + "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, + "hue_steps": 10, + "led_count": 25, + "sleep": true, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"FN","matrix": [ 0,0],"x":0,"y":0}, + {"label":"PSLS","matrix": [ 0,1],"x":1,"y":0}, + {"label":"PAST","matrix": [ 0,2],"x":2,"y":0}, + {"label":"PMNS","matrix": [ 0,3],"x":3,"y":0}, + + {"label":"P7","matrix": [ 1,0],"x":0,"y":1}, + {"label":"P8","matrix": [ 1,1],"x":1,"y":1}, + {"label":"P9","matrix": [ 1,2],"x":2,"y":1}, + {"label":"PPLS","matrix": [ 1,3],"x":3,"y":1}, + + {"label":"P4","matrix": [ 2,0],"x":2,"y":1}, + {"label":"P5","matrix": [ 2,1],"x":3,"y":1}, + {"label":"P6","matrix": [ 2,2],"x":4,"y":1}, + + {"label":"P1","matrix": [ 3,0],"x":0,"y":2}, + {"label":"P2","matrix": [ 3,1],"x":1,"y":2}, + {"label":"P3","matrix": [ 3,2],"x":2,"y":2}, + {"label":"PENT","matrix": [ 3,3],"x":3,"y":2}, + + {"label":"P0","matrix": [ 4,0],"x":0,"y":3}, + {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3} + + + + + ] + } + } + + } diff --git a/keyboards/czmao/ds17/keymaps/default/keymap.c b/keyboards/czmao/ds17/keymaps/default/keymap.c new file mode 100644 index 00000000000..38c8b2e338b --- /dev/null +++ b/keyboards/czmao/ds17/keymaps/default/keymap.c @@ -0,0 +1,64 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +MO(1), KC_PSLS, KC_PAST, KC_PMNS, +KC_P7, KC_P8, KC_P9, KC_PPLS, +KC_P4, KC_P5, KC_P6, +KC_P1, KC_P2, KC_P3, KC_PENT, +KC_P0, KC_PDOT + + + ), + [1] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +MO(1), KC_NUM, MO(2), KC_CALC, +KC_HOME, KC_UP, KC_PGUP, KC_TRNS, +KC_LEFT, KC_TRNS, KC_RGHT, +KC_END, KC_DOWN, KC_PGDN, KC_TRNS, +KC_TRNS, KC_TRNS + + + ), + [2] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, +RGB_TOG, RGB_SAI, KC_TRNS, RGB_VAD, +RGB_HUD, KC_TRNS, RGB_HUI, +KC_TRNS, RGB_SAD, KC_TRNS, KC_TRNS, +RGB_MOD, KC_TRNS + + + ) + + +}; diff --git a/keyboards/czmao/ds17/mcuconf.h b/keyboards/czmao/ds17/mcuconf.h new file mode 100644 index 00000000000..11820dd3de4 --- /dev/null +++ b/keyboards/czmao/ds17/mcuconf.h @@ -0,0 +1,19 @@ +/* Copyright 2020 QMK + * + * 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 + diff --git a/keyboards/czmao/ds17/readme.md b/keyboards/czmao/ds17/readme.md new file mode 100644 index 00000000000..f1d4d22507f --- /dev/null +++ b/keyboards/czmao/ds17/readme.md @@ -0,0 +1,12 @@ +# mao ds 17 + +A Blue Pill STM32F103CBT6-based 9x9 nono 87 keyboard. + +Keyboard Maintainer: [Tab](https://tabkb.com/nono/link65ec) +Hardware Supported: Blue Pill STM32F103CBT6 + +Make example for this keyboard (after setting up your build environment): + + make tab/mao/ds17:default + +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). diff --git a/keyboards/czmao/ds17/rules.mk b/keyboards/czmao/ds17/rules.mk new file mode 100644 index 00000000000..1747277dc68 --- /dev/null +++ b/keyboards/czmao/ds17/rules.mk @@ -0,0 +1,17 @@ +# Build Options +# change yes to no to disable + +# MCU_LDSCRIPT = STM32F103xB + +# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +# MOUSEKEY_ENABLE = yes # Mouse keys +# EXTRAKEY_ENABLE = yes # Audio control and System control +# CONSOLE_ENABLE = yes # Console for debug +# COMMAND_ENABLE = yes # Commands for debug and configuration +# NKRO_ENABLE = yes # Enable N-Key Rollover +# BACKLIGHT_ENABLE = no +# RGBLIGHT_ENABLE = yes +# SLEEP_LED_ENABLE = no + +# Enter lower-power sleep mode when on the ChibiOS idle thread +# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE From 4690b1856fe67d1ee1d2a0be1382dbf101c427bc Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 18:55:41 +0800 Subject: [PATCH 10/39] Update readme.md --- keyboards/czmao/ds17/readme.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/keyboards/czmao/ds17/readme.md b/keyboards/czmao/ds17/readme.md index f1d4d22507f..0e9334202e5 100644 --- a/keyboards/czmao/ds17/readme.md +++ b/keyboards/czmao/ds17/readme.md @@ -1,12 +1,6 @@ # mao ds 17 -A Blue Pill STM32F103CBT6-based 9x9 nono 87 keyboard. -Keyboard Maintainer: [Tab](https://tabkb.com/nono/link65ec) -Hardware Supported: Blue Pill STM32F103CBT6 - -Make example for this keyboard (after setting up your build environment): - - make tab/mao/ds17:default + make czmao/ds17:default 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). From 37ed8c6d6f2f89ea5ea5823a00495e4712e58659 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 19:43:47 +0800 Subject: [PATCH 11/39] =?UTF-8?q?change=20SK60=20and=20ds17=20to=20?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC=E5=9B=BA=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboards/czmao/ds17/config.h | 3 --- keyboards/czmao/ds17/halconf.h | 24 ------------------- .../czmao/ds17/{info.json => keyboard.json} | 0 keyboards/czmao/ds17/mcuconf.h | 19 --------------- keyboards/czmao/ds17/rules.mk | 17 ------------- keyboards/swagkeys/sk60/halconf.h | 24 ------------------- .../sk60/{info.json => keyboard.json} | 0 keyboards/swagkeys/sk60/mcuconf.h | 22 ----------------- keyboards/swagkeys/sk60/rules.mk | 17 ------------- 9 files changed, 126 deletions(-) delete mode 100644 keyboards/czmao/ds17/config.h delete mode 100644 keyboards/czmao/ds17/halconf.h rename keyboards/czmao/ds17/{info.json => keyboard.json} (100%) delete mode 100644 keyboards/czmao/ds17/mcuconf.h delete mode 100644 keyboards/czmao/ds17/rules.mk delete mode 100644 keyboards/swagkeys/sk60/halconf.h rename keyboards/swagkeys/sk60/{info.json => keyboard.json} (100%) delete mode 100644 keyboards/swagkeys/sk60/mcuconf.h delete mode 100644 keyboards/swagkeys/sk60/rules.mk diff --git a/keyboards/czmao/ds17/config.h b/keyboards/czmao/ds17/config.h deleted file mode 100644 index b0ee5bdc32f..00000000000 --- a/keyboards/czmao/ds17/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#define DYNAMIC_KEYMAP_LAYER_COUNT 8 //定义VIA层数 - - diff --git a/keyboards/czmao/ds17/halconf.h b/keyboards/czmao/ds17/halconf.h deleted file mode 100644 index 97743254021..00000000000 --- a/keyboards/czmao/ds17/halconf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2020 QMK - * - * 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_PWM TRUE -// #define HAL_USE_PAL TRUE -// #define HAL_USE_I2C TRUE - -#include_next - diff --git a/keyboards/czmao/ds17/info.json b/keyboards/czmao/ds17/keyboard.json similarity index 100% rename from keyboards/czmao/ds17/info.json rename to keyboards/czmao/ds17/keyboard.json diff --git a/keyboards/czmao/ds17/mcuconf.h b/keyboards/czmao/ds17/mcuconf.h deleted file mode 100644 index 11820dd3de4..00000000000 --- a/keyboards/czmao/ds17/mcuconf.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 - diff --git a/keyboards/czmao/ds17/rules.mk b/keyboards/czmao/ds17/rules.mk deleted file mode 100644 index 1747277dc68..00000000000 --- a/keyboards/czmao/ds17/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# Build Options -# change yes to no to disable - -# MCU_LDSCRIPT = STM32F103xB - -# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -# MOUSEKEY_ENABLE = yes # Mouse keys -# EXTRAKEY_ENABLE = yes # Audio control and System control -# CONSOLE_ENABLE = yes # Console for debug -# COMMAND_ENABLE = yes # Commands for debug and configuration -# NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = no -# RGBLIGHT_ENABLE = yes -# SLEEP_LED_ENABLE = no - -# Enter lower-power sleep mode when on the ChibiOS idle thread -# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE diff --git a/keyboards/swagkeys/sk60/halconf.h b/keyboards/swagkeys/sk60/halconf.h deleted file mode 100644 index 75cb4d4405e..00000000000 --- a/keyboards/swagkeys/sk60/halconf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2020 QMK - * - * 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_PWM TRUE -// #define HAL_USE_PAL TRUE -#define HAL_USE_I2C TRUE - -#include_next - diff --git a/keyboards/swagkeys/sk60/info.json b/keyboards/swagkeys/sk60/keyboard.json similarity index 100% rename from keyboards/swagkeys/sk60/info.json rename to keyboards/swagkeys/sk60/keyboard.json diff --git a/keyboards/swagkeys/sk60/mcuconf.h b/keyboards/swagkeys/sk60/mcuconf.h deleted file mode 100644 index 7db5568c3b1..00000000000 --- a/keyboards/swagkeys/sk60/mcuconf.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2020 QMK - * - * 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 - -#undef STM32_I2C_USE_I2C2 -#define STM32_I2C_USE_I2C2 TRUE diff --git a/keyboards/swagkeys/sk60/rules.mk b/keyboards/swagkeys/sk60/rules.mk deleted file mode 100644 index 1747277dc68..00000000000 --- a/keyboards/swagkeys/sk60/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# Build Options -# change yes to no to disable - -# MCU_LDSCRIPT = STM32F103xB - -# BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -# MOUSEKEY_ENABLE = yes # Mouse keys -# EXTRAKEY_ENABLE = yes # Audio control and System control -# CONSOLE_ENABLE = yes # Console for debug -# COMMAND_ENABLE = yes # Commands for debug and configuration -# NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = no -# RGBLIGHT_ENABLE = yes -# SLEEP_LED_ENABLE = no - -# Enter lower-power sleep mode when on the ChibiOS idle thread -# OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE From 4c18328bef76e3ef7a40d5259e6b3bc852543495 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 20:11:08 +0800 Subject: [PATCH 12/39] =?UTF-8?q?DS17=E5=B1=8210=EF=BC=8CSK60=E6=94=B9?= =?UTF-8?q?=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboards/czmao/ds17/keyboard.json | 8 ++++++-- keyboards/swagkeys/{sk60 => Integral}/keyboard.json | 2 +- .../swagkeys/{sk60 => Integral}/keymaps/default/keymap.c | 0 keyboards/swagkeys/{sk60 => Integral}/readme.md | 0 4 files changed, 7 insertions(+), 3 deletions(-) rename keyboards/swagkeys/{sk60 => Integral}/keyboard.json (99%) rename keyboards/swagkeys/{sk60 => Integral}/keymaps/default/keymap.c (100%) rename keyboards/swagkeys/{sk60 => Integral}/readme.md (100%) diff --git a/keyboards/czmao/ds17/keyboard.json b/keyboards/czmao/ds17/keyboard.json index e9864656617..ffc3fccf7f0 100644 --- a/keyboards/czmao/ds17/keyboard.json +++ b/keyboards/czmao/ds17/keyboard.json @@ -22,11 +22,15 @@ "rgblight": true, "encoder": false }, - + "dynamic_keymap": { + "layer_count": 10 + }, + "bootmagic": { "matrix" : [0,0] }, - + + "matrix_pins": { "cols": ["B12", "B14", "B15", "A8"], "rows": ["A9", "A10", "A15", "B3", "B4"] diff --git a/keyboards/swagkeys/sk60/keyboard.json b/keyboards/swagkeys/Integral/keyboard.json similarity index 99% rename from keyboards/swagkeys/sk60/keyboard.json rename to keyboards/swagkeys/Integral/keyboard.json index d8ced26a31e..38749500481 100644 --- a/keyboards/swagkeys/sk60/keyboard.json +++ b/keyboards/swagkeys/Integral/keyboard.json @@ -1,5 +1,5 @@ { - "keyboard_name": "Swagkeys_SK60", + "keyboard_name": "Integral", "manufacturer": "CZMAO", "url": "NONE", "maintainer": "Swagkeys", diff --git a/keyboards/swagkeys/sk60/keymaps/default/keymap.c b/keyboards/swagkeys/Integral/keymaps/default/keymap.c similarity index 100% rename from keyboards/swagkeys/sk60/keymaps/default/keymap.c rename to keyboards/swagkeys/Integral/keymaps/default/keymap.c diff --git a/keyboards/swagkeys/sk60/readme.md b/keyboards/swagkeys/Integral/readme.md similarity index 100% rename from keyboards/swagkeys/sk60/readme.md rename to keyboards/swagkeys/Integral/readme.md From d50b8ed98290c8f17e76e75800faa7cea38c81ee Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 20:15:21 +0800 Subject: [PATCH 13/39] Update readme.md --- keyboards/swagkeys/Integral/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/swagkeys/Integral/readme.md b/keyboards/swagkeys/Integral/readme.md index c23e744e465..779c085b9e2 100644 --- a/keyboards/swagkeys/Integral/readme.md +++ b/keyboards/swagkeys/Integral/readme.md @@ -1,3 +1,3 @@ -# Swagkeys SK60 +# integral A keyboard base on STM32F103C8T6 60 keyboard. From dd7bb6d0fa44465087c6642b87b80cf5b7f2d3a4 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 20:27:06 +0800 Subject: [PATCH 14/39] delete I --- keyboards/swagkeys/Integral/keyboard.json | 139 ------------------ .../Integral/keymaps/default/keymap.c | 49 ------ keyboards/swagkeys/Integral/readme.md | 3 - 3 files changed, 191 deletions(-) delete mode 100644 keyboards/swagkeys/Integral/keyboard.json delete mode 100644 keyboards/swagkeys/Integral/keymaps/default/keymap.c delete mode 100644 keyboards/swagkeys/Integral/readme.md diff --git a/keyboards/swagkeys/Integral/keyboard.json b/keyboards/swagkeys/Integral/keyboard.json deleted file mode 100644 index 38749500481..00000000000 --- a/keyboards/swagkeys/Integral/keyboard.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "keyboard_name": "Integral", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "Swagkeys", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4E21", - "pid": "0x4F21", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "command": true, - "console": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": false, - "rgblight": false - }, - "indicators": { - "caps_lock": "B15", - "on_state":0 -}, - "matrix_pins": { - "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], - "rows": ["B9", "C13", "B12", "B11", "B10"] - }, - "encoder": { - "pin_a": "B8", - "pin_b": "B9" - }, - "bootmagic": { - "matrix" : [4,10] - }, - "ws2812": { - "pin": "B13" - }, - "rgblight": { - "saturation_steps": 8, - "brightness_steps": 8, - "hue_steps": 10, - "led_count": 35, - "sleep": true, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, - {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, - {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, - {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, - {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, - {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, - {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, - {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, - {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, - {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, - {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, - {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, - {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, - {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, - - - {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, - {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, - {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, - {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, - {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, - {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, - {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, - {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, - {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, - {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, - {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, - {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, - {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, - {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, - - {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, - {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, - {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, - {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, - {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, - {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, - {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, - {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, - {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, - {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, - {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, - {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, - {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, - - {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, - {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, - {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, - {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, - {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, - {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, - {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, - {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, - {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, - {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, - {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, - {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, - {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, - {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, - - {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, - {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, - {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, - {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, - {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, - - {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, - {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } - - ] - } - } - - } diff --git a/keyboards/swagkeys/Integral/keymaps/default/keymap.c b/keyboards/swagkeys/Integral/keymaps/default/keymap.c deleted file mode 100644 index 907abb17af5..00000000000 --- a/keyboards/swagkeys/Integral/keymaps/default/keymap.c +++ /dev/null @@ -1,49 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ), - [1] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ) - -}; diff --git a/keyboards/swagkeys/Integral/readme.md b/keyboards/swagkeys/Integral/readme.md deleted file mode 100644 index 779c085b9e2..00000000000 --- a/keyboards/swagkeys/Integral/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# integral - -A keyboard base on STM32F103C8T6 60 keyboard. From afc8f0a2187cc5deece7964f42e4f769d0bdf39d Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 20:27:47 +0800 Subject: [PATCH 15/39] upload integral --- keyboards/swagkeys/integral/keyboard.json | 139 ++++++++++++++++++ .../integral/keymaps/default/keymap.c | 49 ++++++ keyboards/swagkeys/integral/readme.md | 3 + 3 files changed, 191 insertions(+) create mode 100644 keyboards/swagkeys/integral/keyboard.json create mode 100644 keyboards/swagkeys/integral/keymaps/default/keymap.c create mode 100644 keyboards/swagkeys/integral/readme.md diff --git a/keyboards/swagkeys/integral/keyboard.json b/keyboards/swagkeys/integral/keyboard.json new file mode 100644 index 00000000000..38749500481 --- /dev/null +++ b/keyboards/swagkeys/integral/keyboard.json @@ -0,0 +1,139 @@ +{ + "keyboard_name": "Integral", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "Swagkeys", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4E21", + "pid": "0x4F21", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": false, + "rgblight": false + }, + "indicators": { + "caps_lock": "B15", + "on_state":0 +}, + "matrix_pins": { + "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], + "rows": ["B9", "C13", "B12", "B11", "B10"] + }, + "encoder": { + "pin_a": "B8", + "pin_b": "B9" + }, + "bootmagic": { + "matrix" : [4,10] + }, + "ws2812": { + "pin": "B13" + }, + "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, + "hue_steps": 10, + "led_count": 35, + "sleep": true, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, + {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, + {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, + {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, + {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, + {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, + {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, + {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, + {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, + {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, + {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, + {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, + {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, + {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, + {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, + + + {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, + {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, + {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, + {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, + {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, + {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, + {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, + {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, + {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, + {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, + {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, + {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, + {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, + {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, + + {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, + {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, + {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, + {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, + {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, + {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, + {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, + {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, + {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, + {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, + {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, + {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, + {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, + + {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, + {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, + {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, + {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, + {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, + {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, + {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, + {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, + {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, + {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, + {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, + {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, + {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, + {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, + + {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, + {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, + {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, + {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, + {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, + + {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, + {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } + + ] + } + } + + } diff --git a/keyboards/swagkeys/integral/keymaps/default/keymap.c b/keyboards/swagkeys/integral/keymaps/default/keymap.c new file mode 100644 index 00000000000..907abb17af5 --- /dev/null +++ b/keyboards/swagkeys/integral/keymaps/default/keymap.c @@ -0,0 +1,49 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ), + [1] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 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_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_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL + ) + +}; diff --git a/keyboards/swagkeys/integral/readme.md b/keyboards/swagkeys/integral/readme.md new file mode 100644 index 00000000000..779c085b9e2 --- /dev/null +++ b/keyboards/swagkeys/integral/readme.md @@ -0,0 +1,3 @@ +# integral + +A keyboard base on STM32F103C8T6 60 keyboard. From bf09550108934c648cd8cca09bf08a928d402618 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 8 Sep 2024 22:28:47 +0800 Subject: [PATCH 16/39] update ds17 RGB_Matrix --- keyboards/czmao/ds17/keyboard.json | 72 +++++++++++++++++++++++++++++- keyboards/dc01/numpad/matrix.c | 2 +- 2 files changed, 71 insertions(+), 3 deletions(-) diff --git a/keyboards/czmao/ds17/keyboard.json b/keyboards/czmao/ds17/keyboard.json index ffc3fccf7f0..c9f2b93a2bb 100644 --- a/keyboards/czmao/ds17/keyboard.json +++ b/keyboards/czmao/ds17/keyboard.json @@ -18,8 +18,8 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": false, - "rgblight": true, + "rgb_matrix": true, + "rgblight": false, "encoder": false }, "dynamic_keymap": { @@ -58,6 +58,74 @@ "twinkle": true } }, + + "rgb_matrix": { + "animations": { + "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, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": 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, + "typing_heatmap": 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 + }, + "driver": "ws2812", + "layout": [ + { "flags": 2, "matrix": [0, 0], "x": 0, "y": 0 }, + { "flags": 2, "matrix": [0, 1], "x": 75, "y": 0 }, + { "flags": 2, "matrix": [0, 2], "x": 150, "y": 0 }, + { "flags": 2, "matrix": [0, 3], "x": 224, "y": 0 }, + + { "flags": 2, "matrix": [1, 3], "x": 224, "y": 32 }, + { "flags": 2, "matrix": [3, 3], "x": 224, "y": 50 }, + { "flags": 2, "matrix": [4, 2], "x": 150, "y": 64 }, + { "flags": 2, "matrix": [4, 0], "x": 100, "y": 64 }, + + { "flags": 2, "matrix": [3, 0], "x": 0, "y": 48 }, + { "flags": 2, "matrix": [2, 0], "x": 0, "y": 32 }, + { "flags": 2, "matrix": [1, 0], "x": 0, "y": 16 }, + { "flags": 2, "matrix": [1, 1], "x": 75, "y": 16 }, + + { "flags": 2, "matrix": [1, 2], "x": 150, "y": 16 }, + { "flags": 2, "matrix": [2, 2], "x": 150, "y": 32 }, + { "flags": 2, "matrix": [3, 2], "x": 150, "y": 48 }, + { "flags": 2, "matrix": [3, 1], "x": 75, "y": 48 }, + + { "flags": 2, "matrix": [2, 1], "x": 75, "y": 32 } + ], + "sleep": true + }, + "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/dc01/numpad/matrix.c b/keyboards/dc01/numpad/matrix.c index 73b245f56e8..4338018c637 100644 --- a/keyboards/dc01/numpad/matrix.c +++ b/keyboards/dc01/numpad/matrix.c @@ -29,7 +29,7 @@ along with this program. If not, see . #include "util.h" #include "matrix.h" #include "timer.h" -#include "i2c_slave.h" +#include "_slave.h" #include "lufa.h" #define SLAVE_I2C_ADDRESS 0x36 From 64ed6ded4314a71035c084178acb6282fd28013d Mon Sep 17 00:00:00 2001 From: Micah Date: Wed, 11 Sep 2024 16:51:42 +0800 Subject: [PATCH 17/39] delete sk60 --- keyboards/.vscode/settings.json | 5 + keyboards/czmao/ds17/readme.md | 4 + keyboards/swagkeys/integral/keyboard.json | 139 ------------------ .../integral/keymaps/default/keymap.c | 49 ------ keyboards/swagkeys/integral/readme.md | 3 - 5 files changed, 9 insertions(+), 191 deletions(-) create mode 100644 keyboards/.vscode/settings.json delete mode 100644 keyboards/swagkeys/integral/keyboard.json delete mode 100644 keyboards/swagkeys/integral/keymaps/default/keymap.c delete mode 100644 keyboards/swagkeys/integral/readme.md diff --git a/keyboards/.vscode/settings.json b/keyboards/.vscode/settings.json new file mode 100644 index 00000000000..114c50391a9 --- /dev/null +++ b/keyboards/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "rev_a.h": "c" + } +} \ No newline at end of file diff --git a/keyboards/czmao/ds17/readme.md b/keyboards/czmao/ds17/readme.md index 0e9334202e5..1e3cfe9868e 100644 --- a/keyboards/czmao/ds17/readme.md +++ b/keyboards/czmao/ds17/readme.md @@ -1,5 +1,9 @@ # mao ds 17 +3D print case , taobao link below + +[link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) + make czmao/ds17:default diff --git a/keyboards/swagkeys/integral/keyboard.json b/keyboards/swagkeys/integral/keyboard.json deleted file mode 100644 index 38749500481..00000000000 --- a/keyboards/swagkeys/integral/keyboard.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "keyboard_name": "Integral", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "Swagkeys", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4E21", - "pid": "0x4F21", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "command": true, - "console": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": false, - "rgblight": false - }, - "indicators": { - "caps_lock": "B15", - "on_state":0 -}, - "matrix_pins": { - "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14","A6", "A5", "A4", "A3", "B14", "A1", "A0" ], - "rows": ["B9", "C13", "B12", "B11", "B10"] - }, - "encoder": { - "pin_a": "B8", - "pin_b": "B9" - }, - "bootmagic": { - "matrix" : [4,10] - }, - "ws2812": { - "pin": "B13" - }, - "rgblight": { - "saturation_steps": 8, - "brightness_steps": 8, - "hue_steps": 10, - "led_count": 35, - "sleep": true, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"`~", "matrix": [ 0, 0], "x":0, "y":0 }, - {"label":"1!", "matrix": [ 0, 1], "x":1, "y":0 }, - {"label":"2@", "matrix": [ 0, 2], "x":2, "y":0 }, - {"label":"3#", "matrix": [ 0, 3], "x":3, "y":0 }, - {"label":"4$", "matrix": [ 0, 4], "x":4, "y":0 }, - {"label":"5%", "matrix": [ 0, 5], "x":5, "y":0 }, - {"label":"6^", "matrix": [ 0, 6], "x":6, "y":0 }, - {"label":"7&", "matrix": [ 0, 7], "x":7, "y":0 }, - {"label":"8*", "matrix": [ 0, 8], "x":8, "y":0 }, - {"label":"9(", "matrix": [ 0, 9], "x":9, "y":0 }, - {"label":"0)", "matrix": [ 0, 10], "x":10, "y":0 }, - {"label":"-_", "matrix": [ 0, 11], "x":11, "y":0 }, - {"label":"=+", "matrix": [ 0, 12], "x":12, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 13], "x":13, "y":0, "w":2 }, - {"label":"BSLS", "matrix": [ 0, 14], "x":13, "y":0 }, - {"label":"Backspace", "matrix": [ 0, 15], "x":13, "y":0 }, - - - {"label":"Tab", "matrix": [ 1, 0], "x":0, "y":1, "w":1.5 }, - {"label":"Q", "matrix": [ 1, 1], "x":1.5, "y":1 }, - {"label":"W", "matrix": [ 1, 2], "x":2.5, "y":1 }, - {"label":"E", "matrix": [ 1, 3], "x":3.5, "y":1 }, - {"label":"R", "matrix": [ 1, 4], "x":4.5, "y":1 }, - {"label":"T", "matrix": [ 1, 5], "x":5.5, "y":1 }, - {"label":"Y", "matrix": [ 1, 6], "x":6.5, "y":1 }, - {"label":"U", "matrix": [ 1, 7], "x":7.5, "y":1 }, - {"label":"I", "matrix": [ 1, 8], "x":8.5, "y":1 }, - {"label":"O", "matrix": [ 1, 9], "x":9.5, "y":1 }, - {"label":"P", "matrix": [ 1, 10], "x":10.5, "y":1 }, - {"label":"[{", "matrix": [ 1, 11], "x":11.5, "y":1 }, - {"label":"]}", "matrix": [ 1, 12], "x":12.5, "y":1 }, - {"label":"\\|", "matrix": [ 1, 13], "x":13.5, "y":1, "w":1.5 }, - - {"label":"Caps Lock", "matrix": [ 2, 0], "x":0, "y":2, "w":1.75}, - {"label":"A", "matrix": [ 2, 1], "x":1.75, "y":2 }, - {"label":"S", "matrix": [ 2, 2], "x":2.75, "y":2 }, - {"label":"D", "matrix": [ 2, 3], "x":3.75, "y":2 }, - {"label":"F", "matrix": [ 2, 4], "x":4.75, "y":2 }, - {"label":"G", "matrix": [ 2, 5], "x":5.75, "y":2 }, - {"label":"H", "matrix": [ 2, 6], "x":6.75, "y":2 }, - {"label":"J", "matrix": [ 2, 7], "x":7.75, "y":2 }, - {"label":"K", "matrix": [ 2, 8], "x":8.75, "y":2 }, - {"label":"L", "matrix": [ 2, 9], "x":9.75, "y":2 }, - {"label":";:", "matrix": [ 2, 10], "x":10.75, "y":2 }, - {"label":"'\"", "matrix": [ 2, 11], "x":11.75, "y":2 }, - {"label":"Enter", "matrix": [ 2, 12], "x":12.75, "y":2, "w":2.25}, - - {"label":"Shift", "matrix": [ 3, 0], "x":0, "y":3, "w":2.25}, - {"label":"Z", "matrix": [ 3, 1], "x":2.25, "y":3 }, - {"label":"X", "matrix": [ 3, 2], "x":3.25, "y":3 }, - {"label":"C", "matrix": [ 3, 3], "x":4.25, "y":3 }, - {"label":"V", "matrix": [ 3, 4], "x":5.25, "y":3 }, - {"label":"B", "matrix": [ 3, 5], "x":6.25, "y":3 }, - {"label":"N", "matrix": [ 3, 6], "x":7.25, "y":3 }, - {"label":"M", "matrix": [ 3, 7], "x":8.25, "y":3 }, - {"label":",<", "matrix": [ 3, 8], "x":9.25, "y":3 }, - {"label":".>", "matrix": [ 3, 9], "x":10.25, "y":3 }, - {"label":"/?", "matrix": [ 3, 10], "x":11.25, "y":3 }, - {"label":"Shift", "matrix": [ 3, 11], "x":12.25, "y":3, "w":2.75}, - {"label":"MO", "matrix": [ 3, 12], "x":12.25, "y":3, "w":2.75}, - {"label":"Shift", "matrix": [ 3, 14], "x":12.25, "y":3, "w":2.75}, - - {"label":"Ctrl", "matrix": [ 4, 0], "x":0, "y":4, "w":1.25 }, - {"label":"GUI", "matrix": [ 4, 1], "x":1.25, "y":4, "w":1.25 }, - {"label":"Alt", "matrix": [ 4, 2], "x":2.5, "y":4, "w":1.25 }, - {"label":"Space", "matrix": [ 4, 5], "x":3.75, "y":4, "w":6.25 }, - {"label":"Alt", "matrix": [ 4, 9], "x":10, "y":4, "w":1.25 }, - - {"label":"FN", "matrix": [ 4, 10], "x":12.5, "y":4, "w":1.25 }, - {"label":"Ctrl", "matrix": [ 4, 11], "x":13.75, "y":4, "w":1.25 } - - ] - } - } - - } diff --git a/keyboards/swagkeys/integral/keymaps/default/keymap.c b/keyboards/swagkeys/integral/keymaps/default/keymap.c deleted file mode 100644 index 907abb17af5..00000000000 --- a/keyboards/swagkeys/integral/keymaps/default/keymap.c +++ /dev/null @@ -1,49 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ), - [1] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 - 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_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_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL - ) - -}; diff --git a/keyboards/swagkeys/integral/readme.md b/keyboards/swagkeys/integral/readme.md deleted file mode 100644 index 779c085b9e2..00000000000 --- a/keyboards/swagkeys/integral/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# integral - -A keyboard base on STM32F103C8T6 60 keyboard. From 6559da777e787731ad66dc452039445454ea8de4 Mon Sep 17 00:00:00 2001 From: Micah Date: Wed, 11 Sep 2024 16:58:07 +0800 Subject: [PATCH 18/39] Update readme.md --- keyboards/czmao/ds17/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keyboards/czmao/ds17/readme.md b/keyboards/czmao/ds17/readme.md index 1e3cfe9868e..81f458d90f5 100644 --- a/keyboards/czmao/ds17/readme.md +++ b/keyboards/czmao/ds17/readme.md @@ -1,5 +1,7 @@ # mao ds 17 + +![alt text](IMG_2936.jpg) 3D print case , taobao link below [link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) From f3cd0cfd2485e874b01ec8a3acd5837967f01827 Mon Sep 17 00:00:00 2001 From: Micah Date: Wed, 11 Sep 2024 17:48:35 +0800 Subject: [PATCH 19/39] update ds17 --- keyboards/czmao/ds17/keyboard.json | 19 ------- keyboards/czmao/ds17/keymaps/default/keymap.c | 52 ++++++++++++++++++- 2 files changed, 51 insertions(+), 20 deletions(-) diff --git a/keyboards/czmao/ds17/keyboard.json b/keyboards/czmao/ds17/keyboard.json index c9f2b93a2bb..19da75056fa 100644 --- a/keyboards/czmao/ds17/keyboard.json +++ b/keyboards/czmao/ds17/keyboard.json @@ -39,25 +39,6 @@ "ws2812": { "pin": "B13" }, - "rgblight": { - "saturation_steps": 8, - "brightness_steps": 8, - "hue_steps": 10, - "led_count": 25, - "sleep": true, - "animations": { - "breathing": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "snake": true, - "knight": true, - "christmas": true, - "static_gradient": true, - "rgb_test": true, - "alternating": true, - "twinkle": true - } - }, "rgb_matrix": { "animations": { diff --git a/keyboards/czmao/ds17/keymaps/default/keymap.c b/keyboards/czmao/ds17/keymaps/default/keymap.c index 38c8b2e338b..8730a586d1e 100644 --- a/keyboards/czmao/ds17/keymaps/default/keymap.c +++ b/keyboards/czmao/ds17/keymaps/default/keymap.c @@ -45,7 +45,7 @@ MO(1), KC_NUM, MO(2), KC_CALC, KC_HOME, KC_UP, KC_PGUP, KC_TRNS, KC_LEFT, KC_TRNS, KC_RGHT, KC_END, KC_DOWN, KC_PGDN, KC_TRNS, -KC_TRNS, KC_TRNS +QK_RBT, KC_TRNS ), @@ -58,6 +58,56 @@ KC_TRNS, RGB_SAD, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS + ), + [3] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [4] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [5] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [6] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [7] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + ) From c170d43d917400df315fcdfd695b40a9a88ce923 Mon Sep 17 00:00:00 2001 From: Micah Date: Wed, 11 Sep 2024 17:55:00 +0800 Subject: [PATCH 20/39] Update readme.md --- keyboards/czmao/ds17/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/czmao/ds17/readme.md b/keyboards/czmao/ds17/readme.md index 81f458d90f5..49ddb45220f 100644 --- a/keyboards/czmao/ds17/readme.md +++ b/keyboards/czmao/ds17/readme.md @@ -1,7 +1,6 @@ # mao ds 17 -![alt text](IMG_2936.jpg) 3D print case , taobao link below [link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) From e950864e9978adb20219fef8bc624cee180b3fc6 Mon Sep 17 00:00:00 2001 From: Micah Date: Wed, 11 Sep 2024 18:07:10 +0800 Subject: [PATCH 21/39] update ds17 --- keyboards/czmao/ds17/keymaps/default/keymap.c | 114 ------------------ keyboards/dc01/numpad/matrix.c | 2 +- 2 files changed, 1 insertion(+), 115 deletions(-) delete mode 100644 keyboards/czmao/ds17/keymaps/default/keymap.c diff --git a/keyboards/czmao/ds17/keymaps/default/keymap.c b/keyboards/czmao/ds17/keymaps/default/keymap.c deleted file mode 100644 index 8730a586d1e..00000000000 --- a/keyboards/czmao/ds17/keymaps/default/keymap.c +++ /dev/null @@ -1,114 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -MO(1), KC_PSLS, KC_PAST, KC_PMNS, -KC_P7, KC_P8, KC_P9, KC_PPLS, -KC_P4, KC_P5, KC_P6, -KC_P1, KC_P2, KC_P3, KC_PENT, -KC_P0, KC_PDOT - - - ), - [1] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -MO(1), KC_NUM, MO(2), KC_CALC, -KC_HOME, KC_UP, KC_PGUP, KC_TRNS, -KC_LEFT, KC_TRNS, KC_RGHT, -KC_END, KC_DOWN, KC_PGDN, KC_TRNS, -QK_RBT, KC_TRNS - - - ), - [2] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, -RGB_TOG, RGB_SAI, KC_TRNS, RGB_VAD, -RGB_HUD, KC_TRNS, RGB_HUI, -KC_TRNS, RGB_SAD, KC_TRNS, KC_TRNS, -RGB_MOD, KC_TRNS - - - ), - [3] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [4] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [5] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [6] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [7] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ) - - -}; diff --git a/keyboards/dc01/numpad/matrix.c b/keyboards/dc01/numpad/matrix.c index 4338018c637..73b245f56e8 100644 --- a/keyboards/dc01/numpad/matrix.c +++ b/keyboards/dc01/numpad/matrix.c @@ -29,7 +29,7 @@ along with this program. If not, see . #include "util.h" #include "matrix.h" #include "timer.h" -#include "_slave.h" +#include "i2c_slave.h" #include "lufa.h" #define SLAVE_I2C_ADDRESS 0x36 From 5d7a3a9735119bdab32b64eab70e2766b5a06d78 Mon Sep 17 00:00:00 2001 From: Micah Date: Wed, 11 Sep 2024 18:12:22 +0800 Subject: [PATCH 22/39] update DS17 default keymap --- keyboards/czmao/ds17/keymaps/default/keymap.c | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 keyboards/czmao/ds17/keymaps/default/keymap.c diff --git a/keyboards/czmao/ds17/keymaps/default/keymap.c b/keyboards/czmao/ds17/keymaps/default/keymap.c new file mode 100644 index 00000000000..8730a586d1e --- /dev/null +++ b/keyboards/czmao/ds17/keymaps/default/keymap.c @@ -0,0 +1,114 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +MO(1), KC_PSLS, KC_PAST, KC_PMNS, +KC_P7, KC_P8, KC_P9, KC_PPLS, +KC_P4, KC_P5, KC_P6, +KC_P1, KC_P2, KC_P3, KC_PENT, +KC_P0, KC_PDOT + + + ), + [1] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +MO(1), KC_NUM, MO(2), KC_CALC, +KC_HOME, KC_UP, KC_PGUP, KC_TRNS, +KC_LEFT, KC_TRNS, KC_RGHT, +KC_END, KC_DOWN, KC_PGDN, KC_TRNS, +QK_RBT, KC_TRNS + + + ), + [2] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, +RGB_TOG, RGB_SAI, KC_TRNS, RGB_VAD, +RGB_HUD, KC_TRNS, RGB_HUI, +KC_TRNS, RGB_SAD, KC_TRNS, KC_TRNS, +RGB_MOD, KC_TRNS + + + ), + [3] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [4] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [5] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [6] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ), + [7] = LAYOUT( + //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +KC_TRNS, KC_TRNS, KC_TRNS, 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 + + + ) + + +}; From fa0d72f989824439bc7242281380c5b61d6a17b8 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 16 Sep 2024 17:58:50 +0800 Subject: [PATCH 23/39] update Ds17 --- keyboards/czmao/ds17/keyboard.json | 2 +- keyboards/czmao/ds17/keymaps/default/keymap.c | 48 ++----------------- 2 files changed, 5 insertions(+), 45 deletions(-) diff --git a/keyboards/czmao/ds17/keyboard.json b/keyboards/czmao/ds17/keyboard.json index 19da75056fa..81323e719ff 100644 --- a/keyboards/czmao/ds17/keyboard.json +++ b/keyboards/czmao/ds17/keyboard.json @@ -108,7 +108,7 @@ }, "layouts": { - "LAYOUT": { + "LAYOUT_numberpad_5x4": { "layout": [ {"label":"FN","matrix": [ 0,0],"x":0,"y":0}, {"label":"PSLS","matrix": [ 0,1],"x":1,"y":0}, diff --git a/keyboards/czmao/ds17/keymaps/default/keymap.c b/keyboards/czmao/ds17/keymaps/default/keymap.c index 8730a586d1e..fe208cef520 100644 --- a/keyboards/czmao/ds17/keymaps/default/keymap.c +++ b/keyboards/czmao/ds17/keymaps/default/keymap.c @@ -29,7 +29,7 @@ along with this program. If not, see . // }; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( + [0] = LAYOUT_numberpad_5x4( //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 MO(1), KC_PSLS, KC_PAST, KC_PMNS, KC_P7, KC_P8, KC_P9, KC_PPLS, @@ -39,7 +39,7 @@ KC_P0, KC_PDOT ), - [1] = LAYOUT( + [1] = LAYOUT_numberpad_5x4( //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 MO(1), KC_NUM, MO(2), KC_CALC, KC_HOME, KC_UP, KC_PGUP, KC_TRNS, @@ -49,7 +49,7 @@ QK_RBT, KC_TRNS ), - [2] = LAYOUT( + [2] = LAYOUT_numberpad_5x4( //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, RGB_TOG, RGB_SAI, KC_TRNS, RGB_VAD, @@ -59,47 +59,7 @@ RGB_MOD, KC_TRNS ), - [3] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [4] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [5] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [6] = LAYOUT( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 -KC_TRNS, KC_TRNS, KC_TRNS, 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 - - - ), - [7] = LAYOUT( + [3] = LAYOUT_numberpad_5x4( //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, From cc746de87c44d044aa1932b75aa1718cfac84f5a Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 16 Sep 2024 18:03:01 +0800 Subject: [PATCH 24/39] update ds17 rgb maxbrightness to 180 --- keyboards/czmao/ds17/keyboard.json | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/czmao/ds17/keyboard.json b/keyboards/czmao/ds17/keyboard.json index 81323e719ff..88e505b9b3b 100644 --- a/keyboards/czmao/ds17/keyboard.json +++ b/keyboards/czmao/ds17/keyboard.json @@ -81,6 +81,7 @@ "solid_multisplash": true }, "driver": "ws2812", + "max_brightness":180, "layout": [ { "flags": 2, "matrix": [0, 0], "x": 0, "y": 0 }, { "flags": 2, "matrix": [0, 1], "x": 75, "y": 0 }, From 4dcca8f3a5877407fcf73ce7572457f5f68f8d21 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 23 Sep 2024 11:50:59 +0800 Subject: [PATCH 25/39] update DS17 --- keyboards/czmao/ds17/keyboard.json | 24 +++++++++++------------- keyboards/czmao/ds17/readme.md | 25 ++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 14 deletions(-) diff --git a/keyboards/czmao/ds17/keyboard.json b/keyboards/czmao/ds17/keyboard.json index 88e505b9b3b..33844a9540a 100644 --- a/keyboards/czmao/ds17/keyboard.json +++ b/keyboards/czmao/ds17/keyboard.json @@ -1,14 +1,14 @@ { - "keyboard_name": "mao_10_DS17_ST", + "keyboard_name": "mao_11_DS17R2_A14", "manufacturer": "CZMAO", - "url": "NONE", + "url": "https://github.com/micahyy/czmao/tree/main/ds17_solder", "maintainer": "MAOKB", "diode_direction": "COL2ROW", "processor": "STM32F103", "bootloader": "stm32duino", "usb": { - "vid": "0x4E17", - "pid": "0x4E17", + "vid": "0x4A14", + "pid": "0x4A14", "device_version": "1.0.0" }, "features": { @@ -18,17 +18,13 @@ "extrakey": true, "mousekey": true, "nkro": true, - "rgb_matrix": true, - "rgblight": false, - "encoder": false + "rgb_matrix": true }, "dynamic_keymap": { "layer_count": 10 }, - "bootmagic": { - "matrix" : [0,0] - }, + "matrix_pins": { @@ -119,19 +115,21 @@ {"label":"P7","matrix": [ 1,0],"x":0,"y":1}, {"label":"P8","matrix": [ 1,1],"x":1,"y":1}, {"label":"P9","matrix": [ 1,2],"x":2,"y":1}, - {"label":"PPLS","matrix": [ 1,3],"x":3,"y":1}, + {"label":"P4","matrix": [ 2,0],"x":2,"y":1}, {"label":"P5","matrix": [ 2,1],"x":3,"y":1}, {"label":"P6","matrix": [ 2,2],"x":4,"y":1}, + {"label":"PPLS","matrix": [ 1,3],"x":3,"y":1,"h":2}, {"label":"P1","matrix": [ 3,0],"x":0,"y":2}, {"label":"P2","matrix": [ 3,1],"x":1,"y":2}, {"label":"P3","matrix": [ 3,2],"x":2,"y":2}, - {"label":"PENT","matrix": [ 3,3],"x":3,"y":2}, + {"label":"P0","matrix": [ 4,0],"x":0,"y":3}, - {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3} + {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3}, + {"label":"PENT","matrix": [ 3,3],"x":3,"y":2,"h":2} diff --git a/keyboards/czmao/ds17/readme.md b/keyboards/czmao/ds17/readme.md index 49ddb45220f..c563babeda4 100644 --- a/keyboards/czmao/ds17/readme.md +++ b/keyboards/czmao/ds17/readme.md @@ -1,7 +1,7 @@ # mao ds 17 -3D print case , taobao link below +3D print case , taobao link below [link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) @@ -9,3 +9,26 @@ make czmao/ds17:default 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). + + + + +* Keyboard Maintainer: [CZMAO](https://github.com/smollchungus) +* Hardware Supported: *Project W PCB* +* Hardware Availability: *CZMAO Keyboards* + +Make example for this keyboard (after setting up your build environment): + + make czmao/ds17:default + + + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available From 5389b80ca2b00ffc0b85b2d7529d8e83fc2cf20e Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 3 Nov 2024 20:42:41 +0800 Subject: [PATCH 26/39] upadte ds17 upadte ds17 --- keyboards/czmao/ds17r2/keyboard.json | 141 +++++++++++++++++ .../czmao/ds17r2/keymaps/default/keymap.c | 63 ++++++++ keyboards/czmao/ds17r2/readme.md | 34 +++++ keyboards/czmao/ds17r3l/keyboard.json | 143 ++++++++++++++++++ .../czmao/ds17r3l/keymaps/default/keymap.c | 63 ++++++++ keyboards/czmao/ds17r3l/readme.md | 34 +++++ 6 files changed, 478 insertions(+) create mode 100644 keyboards/czmao/ds17r2/keyboard.json create mode 100644 keyboards/czmao/ds17r2/keymaps/default/keymap.c create mode 100644 keyboards/czmao/ds17r2/readme.md create mode 100644 keyboards/czmao/ds17r3l/keyboard.json create mode 100644 keyboards/czmao/ds17r3l/keymaps/default/keymap.c create mode 100644 keyboards/czmao/ds17r3l/readme.md diff --git a/keyboards/czmao/ds17r2/keyboard.json b/keyboards/czmao/ds17r2/keyboard.json new file mode 100644 index 00000000000..a793d4c4d62 --- /dev/null +++ b/keyboards/czmao/ds17r2/keyboard.json @@ -0,0 +1,141 @@ +{ + "keyboard_name": "mao_11_DS17R2_A14", + "manufacturer": "CZMAO", + "url": "https://github.com/micahyy/czmao/tree/main/ds17_solder", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4A14", + "pid": "0x4A14", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "dynamic_keymap": { + "layer_count": 8 + }, + + + + + "matrix_pins": { + "cols": ["B12", "B14", "B15", "A8"], + "rows": ["A9", "A10", "A15", "B3", "B4"] + }, + + "ws2812": { + "pin": "B13" + }, + + "rgb_matrix": { + "animations": { + "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, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": 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, + "typing_heatmap": 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 + }, + "driver": "ws2812", + "max_brightness":180, + "layout": [ + { "flags": 2, "matrix": [0, 0], "x": 0, "y": 0 }, + { "flags": 2, "matrix": [0, 1], "x": 75, "y": 0 }, + { "flags": 2, "matrix": [0, 2], "x": 150, "y": 0 }, + { "flags": 2, "matrix": [0, 3], "x": 224, "y": 0 }, + + { "flags": 2, "matrix": [1, 3], "x": 224, "y": 32 }, + { "flags": 2, "matrix": [3, 3], "x": 224, "y": 50 }, + { "flags": 2, "matrix": [4, 2], "x": 150, "y": 64 }, + { "flags": 2, "matrix": [4, 0], "x": 100, "y": 64 }, + + { "flags": 2, "matrix": [3, 0], "x": 0, "y": 48 }, + { "flags": 2, "matrix": [2, 0], "x": 0, "y": 32 }, + { "flags": 2, "matrix": [1, 0], "x": 0, "y": 16 }, + { "flags": 2, "matrix": [1, 1], "x": 75, "y": 16 }, + + { "flags": 2, "matrix": [1, 2], "x": 150, "y": 16 }, + { "flags": 2, "matrix": [2, 2], "x": 150, "y": 32 }, + { "flags": 2, "matrix": [3, 2], "x": 150, "y": 48 }, + { "flags": 2, "matrix": [3, 1], "x": 75, "y": 48 }, + + { "flags": 2, "matrix": [2, 1], "x": 75, "y": 32 } + ], + "sleep": true + }, + + "layouts": { + "LAYOUT_numberpad_5x4": { + "layout": [ + {"label":"FN","matrix": [ 0,0],"x":0,"y":0}, + {"label":"PSLS","matrix": [ 0,1],"x":1,"y":0}, + {"label":"PAST","matrix": [ 0,2],"x":2,"y":0}, + {"label":"PMNS","matrix": [ 0,3],"x":3,"y":0}, + + {"label":"P7","matrix": [ 1,0],"x":0,"y":1}, + {"label":"P8","matrix": [ 1,1],"x":1,"y":1}, + {"label":"P9","matrix": [ 1,2],"x":2,"y":1}, + + + {"label":"P4","matrix": [ 2,0],"x":2,"y":1}, + {"label":"P5","matrix": [ 2,1],"x":3,"y":1}, + {"label":"P6","matrix": [ 2,2],"x":4,"y":1}, + {"label":"PPLS","matrix": [ 1,3],"x":3,"y":1,"h":2}, + + {"label":"P1","matrix": [ 3,0],"x":0,"y":2}, + {"label":"P2","matrix": [ 3,1],"x":1,"y":2}, + {"label":"P3","matrix": [ 3,2],"x":2,"y":2}, + + + {"label":"P0","matrix": [ 4,0],"x":0,"y":3}, + {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3}, + {"label":"PENT","matrix": [ 3,3],"x":3,"y":2,"h":2} + + + + + ] + } + } + + } diff --git a/keyboards/czmao/ds17r2/keymaps/default/keymap.c b/keyboards/czmao/ds17r2/keymaps/default/keymap.c new file mode 100644 index 00000000000..f96229af930 --- /dev/null +++ b/keyboards/czmao/ds17r2/keymaps/default/keymap.c @@ -0,0 +1,63 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_numberpad_5x4( +//1 2 3 4 +MO(1), KC_PSLS, KC_PAST, KC_PMNS, +KC_P7, KC_P8, KC_P9, +KC_P4, KC_P5, KC_P6, KC_PPLS, +KC_P1, KC_P2, KC_P3, +KC_P0, KC_PDOT, KC_PENT + ), + [1] = LAYOUT_numberpad_5x4( +MO(1), KC_NUM, MO(2), KC_CALC, +KC_HOME, KC_UP, KC_PGUP, +KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, +KC_END, KC_DOWN, KC_PGDN, +QK_RBT, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_numberpad_5x4( +KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, +RGB_TOG, RGB_SAI, KC_TRNS, +RGB_HUD, KC_TRNS, RGB_HUI, RGB_VAD, +KC_TRNS, RGB_SAD, KC_TRNS, +RGB_MOD, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_numberpad_5x4( +KC_TRNS, KC_TRNS, KC_TRNS, 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 + ) + + +}; diff --git a/keyboards/czmao/ds17r2/readme.md b/keyboards/czmao/ds17r2/readme.md new file mode 100644 index 00000000000..574042920e2 --- /dev/null +++ b/keyboards/czmao/ds17r2/readme.md @@ -0,0 +1,34 @@ +# mao ds 17 + + +3D print case , taobao link below + +[link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) + + + make czmao/ds17:default + +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). + + + + +* Keyboard Maintainer: [CZMAO](https://github.com/smollchungus) +* Hardware Supported: *CZMAO* +* Hardware Availability: *CZMAO Keyboards* + +Make example for this keyboard (after setting up your build environment): + + make czmao/ds17r2:default + + + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/czmao/ds17r3l/keyboard.json b/keyboards/czmao/ds17r3l/keyboard.json new file mode 100644 index 00000000000..5cee4d88ed5 --- /dev/null +++ b/keyboards/czmao/ds17r3l/keyboard.json @@ -0,0 +1,143 @@ +{ + "keyboard_name": "mao_DS17R3_lefthand", + "manufacturer": "CZMAO", + "url": "https://github.com/micahyy/czmao/tree/main/ds17_solder", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4A15", + "pid": "0x4A15", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "dynamic_keymap": { + "layer_count": 8 + }, + + + + + "matrix_pins": { + "cols": ["B12", "B14", "B15", "A8"], + "rows": ["A9", "A10", "A15", "B3", "B4"] + }, + + "ws2812": { + "pin": "B13" + }, + + "rgb_matrix": { + "animations": { + "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, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": 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, + "typing_heatmap": 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 + }, + "driver": "ws2812", + "max_brightness":180, + "layout": [ + { "flags": 2, "matrix": [0, 0], "x": 224, "y": 0 }, + { "flags": 2, "matrix": [0, 1], "x": 150, "y": 0 }, + { "flags": 2, "matrix": [0, 2], "x": 75, "y": 0 }, + { "flags": 2, "matrix": [0, 3], "x": 0, "y": 0 }, + + { "flags": 2, "matrix": [1, 0], "x": 224, "y": 16 }, + { "flags": 2, "matrix": [1, 1], "x": 150, "y": 16 }, + { "flags": 2, "matrix": [1, 2], "x": 75, "y": 16 }, + { "flags": 2, "matrix": [1, 3], "x": 0, "y": 24 }, + + { "flags": 2, "matrix": [2, 0], "x": 224, "y": 32 }, + { "flags": 2, "matrix": [2, 1], "x": 150, "y": 32 }, + { "flags": 2, "matrix": [2, 2], "x": 75, "y": 32 }, + + + { "flags": 2, "matrix": [3, 0], "x": 224, "y": 48 }, + { "flags": 2, "matrix": [3, 1], "x": 150, "y": 48 }, + { "flags": 2, "matrix": [3, 2], "x": 75, "y": 48 }, + { "flags": 2, "matrix": [3, 3], "x": 0, "y": 56 }, + + { "flags": 2, "matrix": [4, 0], "x": 187, "y": 64 }, + { "flags": 2, "matrix": [4, 2], "x": 75, "y": 64 } + + ], + "sleep": true + }, + + "layouts": { + "LAYOUT_numberpad_5x4": { + "layout": [ + {"label":"FN", "matrix": [ 0,0],"x":0,"y":0}, + {"label":"PSLS", "matrix": [ 0,1],"x":1,"y":0}, + {"label":"PAST", "matrix": [ 0,2],"x":2,"y":0}, + {"label":"PMNS", "matrix": [ 0,3],"x":3,"y":0}, + + {"label":"P7", "matrix": [ 1,0],"x":0,"y":1}, + {"label":"P8", "matrix": [ 1,1],"x":1,"y":1}, + {"label":"P9", "matrix": [ 1,2],"x":2,"y":1}, + + + {"label":"P4", "matrix": [2,0],"x":2,"y":1}, + {"label":"P5", "matrix": [2,1],"x":3,"y":1}, + {"label":"P6", "matrix": [2,2],"x":4,"y":1}, + {"label":"PPLS", "matrix": [1,3],"x":3,"y":1,"h":2}, + + {"label":"P1", "matrix": [ 3,0],"x":0,"y":2}, + {"label":"P2", "matrix": [ 3,1],"x":1,"y":2}, + {"label":"P3", "matrix": [ 3,2],"x":2,"y":2}, + + + {"label":"P0", "matrix": [ 4,0],"x":0,"y":3}, + {"label":"PDOT", "matrix": [ 4,2],"x":1,"y":3}, + {"label":"PENT", "matrix": [ 3,3],"x":3,"y":2,"h":2} + + + + + ] + } + } + + } diff --git a/keyboards/czmao/ds17r3l/keymaps/default/keymap.c b/keyboards/czmao/ds17r3l/keymaps/default/keymap.c new file mode 100644 index 00000000000..f96229af930 --- /dev/null +++ b/keyboards/czmao/ds17r3l/keymaps/default/keymap.c @@ -0,0 +1,63 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_numberpad_5x4( +//1 2 3 4 +MO(1), KC_PSLS, KC_PAST, KC_PMNS, +KC_P7, KC_P8, KC_P9, +KC_P4, KC_P5, KC_P6, KC_PPLS, +KC_P1, KC_P2, KC_P3, +KC_P0, KC_PDOT, KC_PENT + ), + [1] = LAYOUT_numberpad_5x4( +MO(1), KC_NUM, MO(2), KC_CALC, +KC_HOME, KC_UP, KC_PGUP, +KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, +KC_END, KC_DOWN, KC_PGDN, +QK_RBT, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_numberpad_5x4( +KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, +RGB_TOG, RGB_SAI, KC_TRNS, +RGB_HUD, KC_TRNS, RGB_HUI, RGB_VAD, +KC_TRNS, RGB_SAD, KC_TRNS, +RGB_MOD, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_numberpad_5x4( +KC_TRNS, KC_TRNS, KC_TRNS, 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 + ) + + +}; diff --git a/keyboards/czmao/ds17r3l/readme.md b/keyboards/czmao/ds17r3l/readme.md new file mode 100644 index 00000000000..574042920e2 --- /dev/null +++ b/keyboards/czmao/ds17r3l/readme.md @@ -0,0 +1,34 @@ +# mao ds 17 + + +3D print case , taobao link below + +[link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) + + + make czmao/ds17:default + +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). + + + + +* Keyboard Maintainer: [CZMAO](https://github.com/smollchungus) +* Hardware Supported: *CZMAO* +* Hardware Availability: *CZMAO Keyboards* + +Make example for this keyboard (after setting up your build environment): + + make czmao/ds17r2:default + + + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available From 91926a70408b67afc709cb1de341b3b6aa8f8cc0 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 3 Nov 2024 20:43:38 +0800 Subject: [PATCH 27/39] submit --- keyboards/czmao/ds17/keyboard.json | 141 --------- keyboards/czmao/ds87/keyboard.json | 292 ++++++++++++++++++ keyboards/czmao/ds87/keymaps/default/keymap.c | 49 +++ keyboards/czmao/ds87/readme.md | 6 + keyboards/czmao/dz19/keyboard.json | 66 ++++ .../{ds17 => dz19}/keymaps/default/keymap.c | 43 +-- keyboards/czmao/{ds17 => dz19}/readme.md | 4 +- keyboards/czmao/mao60ansi/keyboard.json | 240 ++++++++++++++ .../czmao/mao60ansi/keymaps/default/keymap.c | 55 ++++ keyboards/czmao/mao60ansi/readme.md | 6 + keyboards/czmao/tab_hhkb_v2/keyboard.json | 252 +++++++++++++++ .../tab_hhkb_v2/keymaps/default/keymap.c | 49 +++ keyboards/czmao/tab_hhkb_v2/readme.md | 6 + keyboards/swagkeys/sw65/keyboard.json | 122 ++++++++ .../swagkeys/sw65/keymaps/default/keymap.c | 42 +++ keyboards/swagkeys/sw65/readme.md | 6 + 16 files changed, 1209 insertions(+), 170 deletions(-) delete mode 100644 keyboards/czmao/ds17/keyboard.json create mode 100644 keyboards/czmao/ds87/keyboard.json create mode 100644 keyboards/czmao/ds87/keymaps/default/keymap.c create mode 100644 keyboards/czmao/ds87/readme.md create mode 100644 keyboards/czmao/dz19/keyboard.json rename keyboards/czmao/{ds17 => dz19}/keymaps/default/keymap.c (54%) rename keyboards/czmao/{ds17 => dz19}/readme.md (95%) create mode 100644 keyboards/czmao/mao60ansi/keyboard.json create mode 100644 keyboards/czmao/mao60ansi/keymaps/default/keymap.c create mode 100644 keyboards/czmao/mao60ansi/readme.md create mode 100644 keyboards/czmao/tab_hhkb_v2/keyboard.json create mode 100644 keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c create mode 100644 keyboards/czmao/tab_hhkb_v2/readme.md create mode 100644 keyboards/swagkeys/sw65/keyboard.json create mode 100644 keyboards/swagkeys/sw65/keymaps/default/keymap.c create mode 100644 keyboards/swagkeys/sw65/readme.md diff --git a/keyboards/czmao/ds17/keyboard.json b/keyboards/czmao/ds17/keyboard.json deleted file mode 100644 index 33844a9540a..00000000000 --- a/keyboards/czmao/ds17/keyboard.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "keyboard_name": "mao_11_DS17R2_A14", - "manufacturer": "CZMAO", - "url": "https://github.com/micahyy/czmao/tree/main/ds17_solder", - "maintainer": "MAOKB", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4A14", - "pid": "0x4A14", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "command": true, - "console": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": true - }, - "dynamic_keymap": { - "layer_count": 10 - }, - - - - - "matrix_pins": { - "cols": ["B12", "B14", "B15", "A8"], - "rows": ["A9", "A10", "A15", "B3", "B4"] - }, - - "ws2812": { - "pin": "B13" - }, - - "rgb_matrix": { - "animations": { - "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, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": 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, - "typing_heatmap": 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 - }, - "driver": "ws2812", - "max_brightness":180, - "layout": [ - { "flags": 2, "matrix": [0, 0], "x": 0, "y": 0 }, - { "flags": 2, "matrix": [0, 1], "x": 75, "y": 0 }, - { "flags": 2, "matrix": [0, 2], "x": 150, "y": 0 }, - { "flags": 2, "matrix": [0, 3], "x": 224, "y": 0 }, - - { "flags": 2, "matrix": [1, 3], "x": 224, "y": 32 }, - { "flags": 2, "matrix": [3, 3], "x": 224, "y": 50 }, - { "flags": 2, "matrix": [4, 2], "x": 150, "y": 64 }, - { "flags": 2, "matrix": [4, 0], "x": 100, "y": 64 }, - - { "flags": 2, "matrix": [3, 0], "x": 0, "y": 48 }, - { "flags": 2, "matrix": [2, 0], "x": 0, "y": 32 }, - { "flags": 2, "matrix": [1, 0], "x": 0, "y": 16 }, - { "flags": 2, "matrix": [1, 1], "x": 75, "y": 16 }, - - { "flags": 2, "matrix": [1, 2], "x": 150, "y": 16 }, - { "flags": 2, "matrix": [2, 2], "x": 150, "y": 32 }, - { "flags": 2, "matrix": [3, 2], "x": 150, "y": 48 }, - { "flags": 2, "matrix": [3, 1], "x": 75, "y": 48 }, - - { "flags": 2, "matrix": [2, 1], "x": 75, "y": 32 } - ], - "sleep": true - }, - - "layouts": { - "LAYOUT_numberpad_5x4": { - "layout": [ - {"label":"FN","matrix": [ 0,0],"x":0,"y":0}, - {"label":"PSLS","matrix": [ 0,1],"x":1,"y":0}, - {"label":"PAST","matrix": [ 0,2],"x":2,"y":0}, - {"label":"PMNS","matrix": [ 0,3],"x":3,"y":0}, - - {"label":"P7","matrix": [ 1,0],"x":0,"y":1}, - {"label":"P8","matrix": [ 1,1],"x":1,"y":1}, - {"label":"P9","matrix": [ 1,2],"x":2,"y":1}, - - - {"label":"P4","matrix": [ 2,0],"x":2,"y":1}, - {"label":"P5","matrix": [ 2,1],"x":3,"y":1}, - {"label":"P6","matrix": [ 2,2],"x":4,"y":1}, - {"label":"PPLS","matrix": [ 1,3],"x":3,"y":1,"h":2}, - - {"label":"P1","matrix": [ 3,0],"x":0,"y":2}, - {"label":"P2","matrix": [ 3,1],"x":1,"y":2}, - {"label":"P3","matrix": [ 3,2],"x":2,"y":2}, - - - {"label":"P0","matrix": [ 4,0],"x":0,"y":3}, - {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3}, - {"label":"PENT","matrix": [ 3,3],"x":3,"y":2,"h":2} - - - - - ] - } - } - - } diff --git a/keyboards/czmao/ds87/keyboard.json b/keyboards/czmao/ds87/keyboard.json new file mode 100644 index 00000000000..962779963c2 --- /dev/null +++ b/keyboards/czmao/ds87/keyboard.json @@ -0,0 +1,292 @@ +{ + "keyboard_name": "mao_10_DS87", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "atmega32u4", + "bootloader": "caterina", + "usb": { + "vid": "0x4A13", + "pid": "0x4A13", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + + "mousekey": false, + "nkro": true, + "rgb_matrix": true, + "rgblight": false, + "encoder": false + }, + "dynamic_keymap": { + "layer_count": 4 + }, + + "bootmagic": { + "matrix" : [0,0] + }, + + + "matrix_pins": { + "cols": ["F0", "B2", "B3", "C6", "B6", "B4","D7","D6","D4","D5","D3","D2","D1","D0","F6","F5"], + "rows": ["B0", "B1", "B7", "C7", "F7", "F4"] + }, + + "ws2812": { + "pin": "E6" + }, + + + "rgb_matrix": { + "max_brightness":180, + "default":{ + "animation":"typing_heatmap" + }, + + "animations": { + "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, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": 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, + "typing_heatmap": 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 + }, + "driver": "ws2812", + "layout": [ + {"flags":1, "x":6, "y":0, "matrix": [0,0] }, +{"flags":1, "x":0, "y":0, "matrix": [0,1] }, +{"flags":1, "x":44, "y":0, "matrix": [0,2] }, +{"flags":1, "x":57, "y":0, "matrix": [0,3] }, +{"flags":1, "x":69, "y":0, "matrix": [0,4] }, +{"flags":1, "x":88, "y":0, "matrix": [0,5] }, +{"flags":1, "x":101, "y":0, "matrix": [0,6] }, +{"flags":1, "x":114, "y":0, "matrix": [0,7] }, +{"flags":1, "x":126, "y":0, "matrix": [0,8] }, +{"flags":1, "x":145, "y":0, "matrix": [0,9] }, +{"flags":1, "x":158, "y":0, "matrix": [0,10] }, +{"flags":1, "x":170, "y":0, "matrix": [0,11] }, +{"flags":1, "x":183, "y":0, "matrix": [0,12] }, +{"flags":1, "x":199, "y":0, "matrix": [0,14] }, +{"flags":1, "x":211, "y":0, "matrix": [0,15] }, +{"flags":1, "x":224, "y":0, "matrix": [4,15] }, +{"flags":1, "x":0, "y":13, "matrix": [1,0] }, +{"flags":1, "x":15, "y":13, "matrix": [1,1] }, +{"flags":1, "x":30, "y":13, "matrix": [1,2] }, +{"flags":1, "x":45, "y":13, "matrix": [1,3] }, +{"flags":1, "x":60, "y":13, "matrix": [1,4] }, +{"flags":1, "x":75, "y":13, "matrix": [1,5] }, +{"flags":1, "x":90, "y":13, "matrix": [1,6] }, +{"flags":1, "x":105, "y":13, "matrix": [1,7] }, +{"flags":1, "x":110, "y":13, "matrix": [1,8] }, +{"flags":1, "x":125, "y":13, "matrix": [1,9] }, +{"flags":1, "x":140, "y":13, "matrix": [1,10] }, +{"flags":1, "x":155, "y":13, "matrix": [1,11] }, +{"flags":1, "x":160, "y":13, "matrix": [1,12] }, +{"flags":1, "x":175, "y":13, "matrix": [1,13] }, +{"flags":1, "x":190, "y":13, "matrix": [1,14] }, +{"flags":1, "x":205, "y":13, "matrix": [1,15] }, +{"flags":1, "x":224, "y":13, "matrix": [3,14] }, +{"flags":1, "x":9, "y":26, "matrix": [2,0] }, +{"flags":1, "x":25, "y":26, "matrix": [2,1] }, +{"flags":1, "x":38, "y":26, "matrix": [2,2] }, +{"flags":1, "x":50, "y":26, "matrix": [2,3] }, +{"flags":1, "x":63, "y":26, "matrix": [2,4] }, +{"flags":1, "x":76, "y":26, "matrix": [2,5] }, +{"flags":1, "x":88, "y":26, "matrix": [2,6] }, +{"flags":1, "x":101, "y":26, "matrix": [2,7] }, +{"flags":1, "x":114, "y":26, "matrix": [2,8] }, +{"flags":1, "x":126, "y":26, "matrix": [2,9] }, +{"flags":1, "x":139, "y":26, "matrix": [2,10] }, +{"flags":1, "x":151, "y":26, "matrix": [2,11] }, +{"flags":1, "x":164, "y":26, "matrix": [2,12] }, +{"flags":1, "x":180, "y":26, "matrix": [2,13] }, +{"flags":1, "x":199, "y":26, "matrix": [2,14] }, +{"flags":1, "x":211, "y":26, "matrix": [2,15] }, +{"flags":1, "x":224, "y":26, "matrix": [3,15] }, +{"flags":1, "x":11, "y":38, "matrix": [3,0] }, +{"flags":1, "x":28, "y":38, "matrix": [3,1] }, +{"flags":1, "x":41, "y":38, "matrix": [3,2] }, +{"flags":1, "x":54, "y":38, "matrix": [3,3] }, +{"flags":1, "x":66, "y":38, "matrix": [3,4] }, +{"flags":1, "x":79, "y":38, "matrix": [3,5] }, +{"flags":1, "x":91, "y":38, "matrix": [3,6] }, +{"flags":1, "x":104, "y":38, "matrix": [3,7] }, +{"flags":1, "x":117, "y":38, "matrix": [3,8] }, +{"flags":1, "x":129, "y":38, "matrix": [3,9] }, +{"flags":1, "x":142, "y":38, "matrix": [3,10] }, +{"flags":1, "x":155, "y":38, "matrix": [3,11] }, +{"flags":1, "x":175, "y":38, "matrix": [3,12] }, +{"flags":1, "x":14, "y":51, "matrix": [4,0] }, +{"flags":1, "x":35, "y":51, "matrix": [4,1] }, +{"flags":1, "x":47, "y":51, "matrix": [4,2] }, +{"flags":1, "x":60, "y":51, "matrix": [4,3] }, +{"flags":1, "x":73, "y":51, "matrix": [4,4] }, +{"flags":1, "x":85, "y":51, "matrix": [4,5] }, +{"flags":1, "x":98, "y":51, "matrix": [4,6] }, +{"flags":1, "x":110, "y":51, "matrix": [4,7] }, +{"flags":1, "x":123, "y":51, "matrix": [4,8] }, +{"flags":1, "x":136, "y":51, "matrix": [4,9] }, +{"flags":1, "x":148, "y":51, "matrix": [4,10] }, +{"flags":1, "x":172, "y":51, "matrix": [4,11] }, +{"flags":1, "x":211, "y":51, "matrix": [4,14] }, +{"flags":1, "x":8, "y":64, "matrix": [5,0] }, +{"flags":1, "x":22, "y":64, "matrix": [5,1] }, +{"flags":1, "x":36, "y":64, "matrix": [5,2] }, +{"flags":1, "x":54, "y":64, "matrix": [5,4] }, +{"flags":1, "x":70, "y":64, "matrix": [5,4] }, +{"flags":1, "x":84, "y":64, "matrix": [5,5] }, +{"flags":1, "x":100, "y":64, "matrix": [5,6] }, +{"flags":1, "x":114, "y":64, "matrix": [5,6] }, +{"flags":1, "x":131, "y":64, "matrix": [5,9] }, +{"flags":1, "x":147, "y":64, "matrix": [5,10] }, +{"flags":1, "x":162, "y":64, "matrix": [5,11] }, +{"flags":1, "x":178, "y":64, "matrix": [5,12] }, +{"flags":1, "x":199, "y":64, "matrix": [5,13] }, +{"flags":1, "x":211, "y":64, "matrix": [5,14] }, +{"flags":1, "x":224, "y":64, "matrix": [5,15] } + + + + + ], + "sleep": true + }, + + "layouts": { + "LAYOUT": { + "layout": [ + {"label": "Esc", "x": 0, "y": 0, "matrix": [0, 0]}, + {"label": "F1", "x": 2, "y": 0, "matrix": [0, 1]}, + {"label": "F2", "x": 3, "y": 0, "matrix": [0, 2]}, + {"label": "F3", "x": 4, "y": 0, "matrix": [0, 3]}, + {"label": "F4", "x": 5, "y": 0, "matrix": [0, 4]}, + {"label": "F5", "x": 6.5, "y": 0, "matrix": [0, 5]}, + {"label": "F6", "x": 7.5, "y": 0, "matrix": [0, 6]}, + {"label": "F7", "x": 8.5, "y": 0, "matrix": [0, 7]}, + {"label": "F8", "x": 9.5, "y": 0, "matrix": [0, 8]}, + {"label": "F9", "x": 11, "y": 0, "matrix": [0, 9]}, + {"label": "F10", "x": 12, "y": 0, "matrix": [0, 10]}, + {"label": "F11", "x": 13, "y": 0, "matrix": [0, 11]}, + {"label": "F12", "x": 14, "y": 0, "matrix": [0, 12]}, + {"label": "PrtSc", "x": 15.25, "y": 0, "matrix": [0, 14]}, + {"label": "Scroll Lock", "x": 16.25, "y": 0, "matrix": [0, 15]}, + {"label": "Pause", "x": 17.25, "y": 0, "matrix": [4, 15]}, + + {"label": "~", "x": 0, "y": 1.25, "matrix": [1, 0]}, + {"label": "!", "x": 1, "y": 1.25, "matrix": [1, 1]}, + {"label": "@", "x": 2, "y": 1.25, "matrix": [1, 2]}, + {"label": "#", "x": 3, "y": 1.25, "matrix": [1, 3]}, + {"label": "$", "x": 4, "y": 1.25, "matrix": [1, 4]}, + {"label": "%", "x": 5, "y": 1.25, "matrix": [1, 5]}, + {"label": "^", "x": 6, "y": 1.25, "matrix": [1, 6]}, + {"label": "&", "x": 7, "y": 1.25, "matrix": [1, 7]}, + {"label": "*", "x": 8, "y": 1.25, "matrix": [1, 8]}, + {"label": "(", "x": 9, "y": 1.25, "matrix": [1, 9]}, + {"label": ")", "x": 10, "y": 1.25, "matrix": [1, 10]}, + {"label": "_", "x": 11, "y": 1.25, "matrix": [1, 11]}, + {"label": "+", "x": 12, "y": 1.25, "matrix": [1, 12]}, + {"label": "Backspace", "x": 13, "y": 1.25, "w": 2, "h": 0.5, "matrix": [1, 13]}, + {"label": "Insert", "x": 15.25, "y": 1.25, "matrix": [1, 14]}, + {"label": "Home", "x": 16.25, "y": 1.25, "matrix": [1, 15]}, + {"label": "PgUp", "x": 17.25, "y": 1.25, "matrix": [3, 14]}, + + {"label": "Tab", "x": 0, "y": 2.25, "w": 1.5, "matrix": [2, 0]}, + {"label": "Q", "x": 1.5, "y": 2.25, "matrix": [2, 1]}, + {"label": "W", "x": 2.5, "y": 2.25, "matrix": [2, 2]}, + {"label": "E", "x": 3.5, "y": 2.25, "matrix": [2, 3]}, + {"label": "R", "x": 4.5, "y": 2.25, "matrix": [2, 4]}, + {"label": "T", "x": 5.5, "y": 2.25, "matrix": [2, 5]}, + {"label": "Y", "x": 6.5, "y": 2.25, "matrix": [2, 6]}, + {"label": "U", "x": 7.5, "y": 2.25, "matrix": [2, 7]}, + {"label": "I", "x": 8.5, "y": 2.25, "matrix": [2, 8]}, + {"label": "O", "x": 9.5, "y": 2.25, "matrix": [2, 9]}, + {"label": "P", "x": 10.5, "y": 2.25, "matrix": [2, 10]}, + {"label": "{", "x": 11.5, "y": 2.25, "matrix": [2, 11]}, + {"label": "}", "x": 12.5, "y": 2.25, "matrix": [2, 12]}, + {"label": "|", "x": 13.5, "y": 2.25, "w": 1.5, "matrix": [2, 13]}, + {"label": "Delete", "x": 15.25, "y": 2.25, "matrix": [2, 14]}, + {"label": "End", "x": 16.25, "y": 2.25, "matrix": [2, 15]}, + {"label": "PgDn", "x": 17.25, "y": 2.25, "matrix": [3, 15]}, + + {"label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75, "matrix": [3, 0]}, + {"label": "A", "x": 1.75, "y": 3.25, "matrix": [3, 1]}, + {"label": "S", "x": 2.75, "y": 3.25, "matrix": [3, 2]}, + {"label": "D", "x": 3.75, "y": 3.25, "matrix": [3, 3]}, + {"label": "F", "x": 4.75, "y": 3.25, "matrix": [3, 4]}, + {"label": "G", "x": 5.75, "y": 3.25, "matrix": [3, 5]}, + {"label": "H", "x": 6.75, "y": 3.25, "matrix": [3, 6]}, + {"label": "J", "x": 7.75, "y": 3.25, "matrix": [3, 7]}, + {"label": "K", "x": 8.75, "y": 3.25, "matrix": [3, 8]}, + {"label": "L", "x": 9.75, "y": 3.25, "matrix": [3, 9]}, + {"label": ":", "x": 10.75, "y": 3.25, "matrix": [3, 10]}, + {"label": "\"", "x": 11.75, "y": 3.25, "matrix": [3, 11]}, + {"label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25, "matrix": [3, 13]}, + + + {"label": "Shift", "x": 0, "y": 4.25, "w": 2.25, "matrix": [4, 0]}, + {"label": "Z", "x": 2.25, "y": 4.25, "matrix": [4, 1]}, + {"label": "X", "x": 3.25, "y": 4.25, "matrix": [4, 2]}, + {"label": "C", "x": 4.25, "y": 4.25, "matrix": [4, 3]}, + {"label": "V", "x": 5.25, "y": 4.25, "matrix": [4, 4]}, + {"label": "B", "x": 6.25, "y": 4.25, "matrix": [4, 5]}, + {"label": "N", "x": 7.25, "y": 4.25, "matrix": [4, 6]}, + {"label": "M", "x": 8.25, "y": 4.25, "matrix": [4, 7]}, + {"label": "<", "x": 9.25, "y": 4.25, "matrix": [4, 8]}, + {"label": ">", "x": 10.25, "y": 4.25, "matrix": [4, 9]}, + {"label": "?", "x": 11.25, "y": 4.25, "matrix": [4, 10]}, + {"label": "Shift", "x": 12.25, "y": 4.25, "w": 2.75, "matrix": [4, 11]}, + {"label": "Up", "x": 16.25, "y": 4.25, "matrix": [4, 14]}, + + {"label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25, "matrix": [5, 0]}, + {"label": "Win", "x": 1.25, "y": 5.25, "w": 1.25, "matrix": [5, 1]}, + {"label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25, "matrix": [5, 2]}, + {"label": "Space", "x": 3.75, "y": 5.25, "w": 6.25, "matrix": [5, 5]}, + + {"label": "Alt", "x": 11.25, "y": 5.25, "w": 1.25, "matrix": [5, 9]}, + {"label": "Menu", "x": 10, "y": 5.25, "w": 1.25, "matrix": [5, 10]}, + {"label": "Fn", "x": 12.5, "y": 5.25, "w": 1.25, "matrix": [5, 11]}, + {"label": "Ctrl", "x": 13.75, "y": 5.25, "w": 1.25, "matrix": [5, 12]}, + {"label": "Left", "x": 15.25, "y": 5.25, "matrix": [5, 13]}, + {"label": "Down", "x": 16.25, "y": 5.25, "matrix": [5, 14]}, + {"label": "Right", "x": 17.25, "y": 5.25, "matrix": [5, 15]} + + + + ] + } + } + + } diff --git a/keyboards/czmao/ds87/keymaps/default/keymap.c b/keyboards/czmao/ds87/keymaps/default/keymap.c new file mode 100644 index 00000000000..a13922b7701 --- /dev/null +++ b/keyboards/czmao/ds87/keymaps/default/keymap.c @@ -0,0 +1,49 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +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_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_APP, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), + [1] = 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_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, RGB_MOD, RGB_MOD, MO(2), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT) +}; + + + diff --git a/keyboards/czmao/ds87/readme.md b/keyboards/czmao/ds87/readme.md new file mode 100644 index 00000000000..0e9334202e5 --- /dev/null +++ b/keyboards/czmao/ds87/readme.md @@ -0,0 +1,6 @@ +# mao ds 17 + + + make czmao/ds17:default + +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). diff --git a/keyboards/czmao/dz19/keyboard.json b/keyboards/czmao/dz19/keyboard.json new file mode 100644 index 00000000000..2a43e7b364d --- /dev/null +++ b/keyboards/czmao/dz19/keyboard.json @@ -0,0 +1,66 @@ +{ + "keyboard_name": "dz19", + "manufacturer": "CZMAO", + "url": "https://github.com/micahyy/czmao/tree/main/ds17_solder", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4A99", + "pid": "0x4A99", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + }, + "dynamic_keymap": { + "layer_count": 8 + }, + + + + + "matrix_pins": { + "cols": ["B12", "B14", "B15", "A8"], + "rows": ["A9", "A10", "A15", "B3", "B4"] + }, + + "layouts": { + "LAYOUT_numberpad_5x4": { + "layout": [ + {"label":"F1", "matrix": [ 0,0],"x":0,"y":0}, + {"label":"UP", "matrix": [ 0,1],"x":1,"y":0}, + {"label":"DOWN", "matrix": [ 0,2],"x":2,"y":0}, + {"label":"F2", "matrix": [ 0,3],"x":3,"y":0}, + + {"label":"P7", "matrix": [ 1,0],"x":0,"y":1}, + {"label":"P8", "matrix": [ 1,1],"x":1,"y":1}, + {"label":"P9", "matrix": [ 1,2],"x":2,"y":1}, + {"label":"DEL", "matrix": [ 1,3],"x":2,"y":1}, + + {"label":"P4", "matrix": [ 2,0],"x":2,"y":1}, + {"label":"P5", "matrix": [ 2,1],"x":3,"y":1}, + {"label":"P6", "matrix": [ 2,2],"x":4,"y":1}, + {"label":"ESC", "matrix": [ 2,3],"x":3,"y":1,"h":2}, + + {"label":"P1", "matrix": [ 3,0],"x":0,"y":2}, + {"label":"P2", "matrix": [ 3,1],"x":1,"y":2}, + {"label":"P3", "matrix": [ 3,2],"x":2,"y":2}, + + {"label":"P0", "matrix": [ 4,0],"x":0,"y":3}, + {"label":"PDOT", "matrix": [ 4,1],"x":1,"y":3}, + {"label":"P+", "matrix": [ 4,2],"x":3,"y":2,"h":2}, + {"label":"P9", "matrix": [ 4,3],"x":2,"y":1} + + + + + ] + } + } + + } diff --git a/keyboards/czmao/ds17/keymaps/default/keymap.c b/keyboards/czmao/dz19/keymaps/default/keymap.c similarity index 54% rename from keyboards/czmao/ds17/keymaps/default/keymap.c rename to keyboards/czmao/dz19/keymaps/default/keymap.c index fe208cef520..f96229af930 100644 --- a/keyboards/czmao/ds17/keymaps/default/keymap.c +++ b/keyboards/czmao/dz19/keymaps/default/keymap.c @@ -30,44 +30,33 @@ along with this program. If not, see . const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_numberpad_5x4( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 +//1 2 3 4 MO(1), KC_PSLS, KC_PAST, KC_PMNS, -KC_P7, KC_P8, KC_P9, KC_PPLS, -KC_P4, KC_P5, KC_P6, -KC_P1, KC_P2, KC_P3, KC_PENT, -KC_P0, KC_PDOT - - +KC_P7, KC_P8, KC_P9, +KC_P4, KC_P5, KC_P6, KC_PPLS, +KC_P1, KC_P2, KC_P3, +KC_P0, KC_PDOT, KC_PENT ), [1] = LAYOUT_numberpad_5x4( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 MO(1), KC_NUM, MO(2), KC_CALC, -KC_HOME, KC_UP, KC_PGUP, KC_TRNS, -KC_LEFT, KC_TRNS, KC_RGHT, -KC_END, KC_DOWN, KC_PGDN, KC_TRNS, -QK_RBT, KC_TRNS - - +KC_HOME, KC_UP, KC_PGUP, +KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, +KC_END, KC_DOWN, KC_PGDN, +QK_RBT, KC_TRNS, KC_TRNS ), [2] = LAYOUT_numberpad_5x4( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, -RGB_TOG, RGB_SAI, KC_TRNS, RGB_VAD, -RGB_HUD, KC_TRNS, RGB_HUI, -KC_TRNS, RGB_SAD, KC_TRNS, KC_TRNS, -RGB_MOD, KC_TRNS - - +RGB_TOG, RGB_SAI, KC_TRNS, +RGB_HUD, KC_TRNS, RGB_HUI, RGB_VAD, +KC_TRNS, RGB_SAD, KC_TRNS, +RGB_MOD, KC_TRNS, KC_TRNS ), [3] = LAYOUT_numberpad_5x4( - //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 KC_TRNS, KC_TRNS, KC_TRNS, 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, KC_TRNS, +KC_TRNS, KC_TRNS, KC_TRNS ) diff --git a/keyboards/czmao/ds17/readme.md b/keyboards/czmao/dz19/readme.md similarity index 95% rename from keyboards/czmao/ds17/readme.md rename to keyboards/czmao/dz19/readme.md index c563babeda4..574042920e2 100644 --- a/keyboards/czmao/ds17/readme.md +++ b/keyboards/czmao/dz19/readme.md @@ -14,12 +14,12 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to * Keyboard Maintainer: [CZMAO](https://github.com/smollchungus) -* Hardware Supported: *Project W PCB* +* Hardware Supported: *CZMAO* * Hardware Availability: *CZMAO Keyboards* Make example for this keyboard (after setting up your build environment): - make czmao/ds17:default + make czmao/ds17r2:default diff --git a/keyboards/czmao/mao60ansi/keyboard.json b/keyboards/czmao/mao60ansi/keyboard.json new file mode 100644 index 00000000000..b362d7fa4ae --- /dev/null +++ b/keyboards/czmao/mao60ansi/keyboard.json @@ -0,0 +1,240 @@ +{ + "keyboard_name": "mao_14_DS60_ansi", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "atmega32u4", + "bootloader": "caterina", + "usb": { + "vid": "0x4A14", + "pid": "0x4A14", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + + "mousekey": false, + "nkro": true, + "rgb_matrix": true, + "rgblight": false, + "encoder": false + }, + "dynamic_keymap": { + "layer_count": 4 + }, + + "bootmagic": { + "matrix" : [0,0] + }, + + + "matrix_pins": { + "cols": ["F0", "B2", "B3", "C6", "B6", "B4","D7","D6","D4","D5","D3","D2","D1","D0"], + "rows": ["B0", "B1", "B7", "C7", "F7"] + }, + + "ws2812": { + "pin": "B5" + }, + + + "rgb_matrix": { + "max_brightness":180, + "default":{ + "animation":"cycle_all" + }, + + "animations": { + "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, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": 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, + "typing_heatmap": 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 + }, + "driver": "ws2812", + "layout": [ + {"flags":1, "x":0, "y":0, "matrix": [0,0] }, + {"flags":1, "x":17, "y":0, "matrix": [0,1] }, + {"flags":1, "x":34, "y":0, "matrix": [0,2] }, + {"flags":1, "x":51, "y":0, "matrix": [0,3] }, + {"flags":1, "x":68, "y":0, "matrix": [0,4] }, + {"flags":1, "x":85, "y":0, "matrix": [0,5] }, + {"flags":1, "x":102, "y":0, "matrix": [0,6] }, + {"flags":1, "x":119, "y":0, "matrix": [0,7] }, + {"flags":1, "x":136, "y":0, "matrix": [0,8] }, + {"flags":1, "x":153, "y":0, "matrix": [0,9] }, + {"flags":1, "x":170, "y":0, "matrix": [0,10] }, + {"flags":1, "x":187, "y":0, "matrix": [0,11] }, + {"flags":1, "x":204, "y":0, "matrix": [0,12] }, + {"flags":1, "x":224, "y":0, "matrix": [0,13] }, + + {"flags":1, "x":0, "y":13, "matrix": [1,0] }, + {"flags":1, "x":17, "y":13, "matrix": [1,1] }, + {"flags":1, "x":34, "y":13, "matrix": [1,2] }, + {"flags":1, "x":51, "y":13, "matrix": [1,3] }, + {"flags":1, "x":68, "y":13, "matrix": [1,4] }, + {"flags":1, "x":85, "y":13, "matrix": [1,5] }, + {"flags":1, "x":102, "y":13, "matrix": [1,6] }, + {"flags":1, "x":119, "y":13, "matrix": [1,7] }, + {"flags":1, "x":136, "y":13, "matrix": [1,8] }, + {"flags":1, "x":153, "y":13, "matrix": [1,9] }, + {"flags":1, "x":170, "y":13, "matrix": [1,10] }, + {"flags":1, "x":187, "y":13, "matrix": [1,11] }, + {"flags":1, "x":202, "y":13, "matrix": [1,12] }, + {"flags":1, "x":224, "y":13, "matrix": [1,13] }, + + {"flags":1, "x":0, "y":26, "matrix": [2,0] }, + {"flags":1, "x":19, "y":26, "matrix": [2,1] }, + {"flags":1, "x":38, "y":26, "matrix": [2,2] }, + {"flags":1, "x":57, "y":26, "matrix": [2,3] }, + {"flags":1, "x":76, "y":26, "matrix": [2,4] }, + {"flags":1, "x":95, "y":26, "matrix": [2,5] }, + {"flags":1, "x":114, "y":26, "matrix": [2,6] }, + {"flags":1, "x":133, "y":26, "matrix": [2,7] }, + {"flags":1, "x":152, "y":26, "matrix": [2,8] }, + {"flags":1, "x":171, "y":26, "matrix": [2,9] }, + {"flags":1, "x":190, "y":26, "matrix": [2,10] }, + {"flags":1, "x":209, "y":26, "matrix": [2,11] }, + {"flags":1, "x":224, "y":26, "matrix": [2,12] }, + + {"flags":1, "x":0, "y":38, "matrix": [3,0] }, + {"flags":1, "x":20, "y":38, "matrix": [3,1] }, + {"flags":1, "x":40, "y":38, "matrix": [3,2] }, + {"flags":1, "x":60, "y":38, "matrix": [3,3] }, + {"flags":1, "x":80, "y":38, "matrix": [3,4] }, + {"flags":1, "x":100, "y":38, "matrix": [3,5] }, + {"flags":1, "x":120, "y":38, "matrix": [3,6] }, + {"flags":1, "x":140, "y":38, "matrix": [3,7] }, + {"flags":1, "x":160, "y":38, "matrix": [3,8] }, + {"flags":1, "x":180, "y":38, "matrix": [3,9] }, + {"flags":1, "x":200, "y":38, "matrix": [3,10] }, + {"flags":1, "x":224, "y":38, "matrix": [3,11] }, + + {"flags":1, "x":0, "y":51, "matrix": [4,0] }, + {"flags":1, "x":20, "y":51, "matrix": [4,1] }, + {"flags":1, "x":40, "y":51, "matrix": [4,2] }, + {"flags":1, "x":60, "y":51, "matrix": [4,5] }, + {"flags":1, "x":80, "y":51, "matrix": [4,5] }, + {"flags":1, "x":100, "y":51, "matrix": [4,5] }, + {"flags":1, "x":120, "y":51, "matrix": [4,5] }, + {"flags":1, "x":140, "y":51, "matrix": [4,5] }, + {"flags":1, "x":160, "y":51, "matrix": [4,8] }, + {"flags":1, "x":180, "y":51, "matrix": [4,9] }, + {"flags":1, "x":200, "y":51, "matrix": [4,10] }, + {"flags":1, "x":220, "y":51, "matrix": [4,11] } + ], + "sleep": true + }, + + "layouts": { + "LAYOUT_60_ansi": { + "layout": [ + {"label": "GRV", "x": 0, "y": 0, "matrix": [0, 0]}, + {"label": "!", "x": 1, "y": 0, "matrix": [0, 1]}, + {"label": "@", "x": 2, "y": 0, "matrix": [0, 2]}, + {"label": "#", "x": 3, "y": 0, "matrix": [0, 3]}, + {"label": "$", "x": 4, "y": 0, "matrix": [0, 4]}, + {"label": "%", "x": 5, "y": 0, "matrix": [0, 5]}, + {"label": "^", "x": 6, "y": 0, "matrix": [0, 6]}, + {"label": "&", "x": 7, "y": 0, "matrix": [0, 7]}, + {"label": "*", "x": 8, "y": 0, "matrix": [0, 8]}, + {"label": "(", "x": 9, "y": 0, "matrix": [0, 9]}, + {"label": ")", "x": 10, "y": 0, "matrix": [0, 10]}, + {"label": "_", "x": 11, "y": 0, "matrix": [0, 11]}, + {"label": "+", "x": 12, "y": 0, "matrix": [0, 12]}, + {"label": "Back", "x": 13, "y": 0, "w": 2, "h": 0.5, "matrix": [0, 13]}, + + {"label": "Tab", "x": 0, "y": 1, "w": 1.5, "matrix": [1, 0]}, + {"label": "Q", "x": 1.5, "y": 1, "matrix": [1, 1]}, + {"label": "W", "x": 2.5, "y": 1, "matrix": [1, 2]}, + {"label": "E", "x": 3.5, "y": 1, "matrix": [1, 3]}, + {"label": "R", "x": 4.5, "y": 1, "matrix": [1, 4]}, + {"label": "T", "x": 5.5, "y": 1, "matrix": [1, 5]}, + {"label": "Y", "x": 6.5, "y": 1, "matrix": [1, 6]}, + {"label": "U", "x": 7.5, "y": 1, "matrix": [1, 7]}, + {"label": "I", "x": 8.5, "y": 1, "matrix": [1, 8]}, + {"label": "O", "x": 9.5, "y": 1, "matrix": [1, 9]}, + {"label": "P", "x": 10.5, "y": 1, "matrix": [1, 10]}, + {"label": "{", "x": 11.5, "y": 1, "matrix": [1, 11]}, + {"label": "}", "x": 12.5, "y": 1, "matrix": [1, 12]}, + {"label": "|", "x": 13.5, "y": 1, "w": 1.5, "matrix": [1, 13]}, + + + {"label": "Caps Lock", "x": 0, "y": 2, "w": 1.75, "matrix": [2, 0]}, + {"label": "A", "x": 1.75, "y": 2, "matrix": [2, 1]}, + {"label": "S", "x": 2.75, "y": 2, "matrix": [2, 2]}, + {"label": "D", "x": 3.75, "y": 2, "matrix": [2, 3]}, + {"label": "F", "x": 4.75, "y": 2, "matrix": [2, 4]}, + {"label": "G", "x": 5.75, "y": 2, "matrix": [2, 5]}, + {"label": "H", "x": 6.75, "y": 2, "matrix": [2, 6]}, + {"label": "J", "x": 7.75, "y": 2, "matrix": [2, 7]}, + {"label": "K", "x": 8.75, "y": 2, "matrix": [2, 8]}, + {"label": "L", "x": 9.75, "y": 2, "matrix": [2, 9]}, + {"label": ":", "x": 10.75, "y": 2, "matrix": [2, 10]}, + {"label": "\"", "x": 11.75, "y": 2, "matrix": [2, 11]}, + {"label": "Enter", "x": 12.75, "y": 2, "w": 2.25, "matrix": [2, 12]}, + + + {"label": "Shift", "x": 0, "y": 3, "w": 2.25, "matrix": [3, 0]}, + {"label": "Z", "x": 2, "y": 3, "matrix": [3, 1]}, + {"label": "X", "x": 3, "y": 3, "matrix": [3, 2]}, + {"label": "C", "x": 4, "y": 3, "matrix": [3, 3]}, + {"label": "V", "x": 5, "y": 3, "matrix": [3, 4]}, + {"label": "B", "x": 6, "y": 3, "matrix": [3, 5]}, + {"label": "N", "x": 7, "y": 3, "matrix": [3, 6]}, + {"label": "M", "x": 8, "y": 3, "matrix": [3, 7]}, + {"label": "<", "x": 9, "y": 3, "matrix": [3, 8]}, + {"label": ">", "x": 10, "y": 3, "matrix": [3, 9]}, + {"label": "?", "x": 11, "y": 3, "matrix": [3, 10]}, + {"label": "Shift", "x": 12.75, "y": 3, "w": 2.75, "matrix": [3, 11]}, + + {"label": "Ctrl", "x": 0, "y": 4, "w": 1.25, "matrix": [4, 0]}, + {"label": "Win", "x": 1.25, "y": 4, "w": 1.25, "matrix": [4, 1]}, + {"label": "Alt", "x": 2.5, "y": 4, "w": 1.25, "matrix": [4, 2]}, + {"label": "Space", "x": 3.75, "y": 4, "w": 6.25, "matrix": [4, 5]}, + + {"label": "Alt", "x": 11.25, "y": 4, "w": 1.25, "matrix": [4, 8]}, + {"label": "Rwin", "x": 12.5, "y": 4, "w": 1.25, "matrix": [4, 9]}, + {"label": "Fn", "x": 15.25, "y": 4, "matrix": [4, 10]}, + {"label": "Rctl", "x": 16.25, "y": 4, "matrix": [4, 11]} + + + + ] + } + } + + } diff --git a/keyboards/czmao/mao60ansi/keymaps/default/keymap.c b/keyboards/czmao/mao60ansi/keymaps/default/keymap.c new file mode 100644 index 00000000000..2fb33ff98c8 --- /dev/null +++ b/keyboards/czmao/mao60ansi/keymaps/default/keymap.c @@ -0,0 +1,55 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_60_ansi( + 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_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, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, MO(1), KC_RCTL), + [1] = LAYOUT_60_ansi( + 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_DEL, + KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, QK_LOCK, KC_TRNS, KC_TRNS, MO(2), KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_60_ansi( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, 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_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, KC_TRNS, 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/czmao/mao60ansi/readme.md b/keyboards/czmao/mao60ansi/readme.md new file mode 100644 index 00000000000..0e9334202e5 --- /dev/null +++ b/keyboards/czmao/mao60ansi/readme.md @@ -0,0 +1,6 @@ +# mao ds 17 + + + make czmao/ds17:default + +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). diff --git a/keyboards/czmao/tab_hhkb_v2/keyboard.json b/keyboards/czmao/tab_hhkb_v2/keyboard.json new file mode 100644 index 00000000000..0459c413b33 --- /dev/null +++ b/keyboards/czmao/tab_hhkb_v2/keyboard.json @@ -0,0 +1,252 @@ +{ + "keyboard_name": "tab_hacking_v2", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "atmega32u4", + "bootloader": "caterina", + "usb": { + "vid": "0x4A13", + "pid": "0x4A13", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + + "mousekey": false, + "nkro": true, + "rgb_matrix": true, + "rgblight": false, + "encoder": false + }, + "dynamic_keymap": { + "layer_count": 4 + }, + + "bootmagic": { + "matrix" : [0,0] + }, + + + "matrix_pins": { + "cols": ["B0", "F0", "B1", "B2", "B5", "E2","D6","B6","D7","B4"], + "rows": ["E6", "D2", "D0", "D4", "C7", "B7", "B3","C6","D1"] + }, + + "ws2812": { + "pin": "F1" + }, + + + "rgb_matrix": { + "max_brightness":180, + "default":{ + "animation":"typing_heatmap" + }, + + "animations": { + "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, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": 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, + "typing_heatmap": 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 + }, + "driver": "ws2812", + "layout": [ + {"flags":1, "x":6, "y":0, "matrix": [0,0] }, +{"flags":1, "x":0, "y":0, "matrix": [0,1] }, +{"flags":1, "x":44, "y":0, "matrix": [1,0] }, +{"flags":1, "x":57, "y":0, "matrix": [1,1] }, +{"flags":1, "x":69, "y":0, "matrix": [2,0] }, +{"flags":1, "x":88, "y":0, "matrix": [2,1] }, +{"flags":1, "x":101, "y":0, "matrix": [3,0] }, +{"flags":1, "x":114, "y":0, "matrix": [3,1] }, +{"flags":1, "x":126, "y":0, "matrix": [4,0] }, +{"flags":1, "x":145, "y":0, "matrix": [4,1] }, +{"flags":1, "x":158, "y":0, "matrix": [5,0] }, +{"flags":1, "x":170, "y":0, "matrix": [5,1] }, +{"flags":1, "x":183, "y":0, "matrix": [6,0] }, +{"flags":1, "x":199, "y":0, "matrix": [6,1] }, +{"flags":1, "x":211, "y":0, "matrix": [7,1] }, + +{"flags":1, "x":0, "y":13, "matrix": [0,3] }, +{"flags":1, "x":15, "y":13, "matrix": [1,2] }, +{"flags":1, "x":30, "y":13, "matrix": [1,3] }, +{"flags":1, "x":45, "y":13, "matrix": [2,2] }, +{"flags":1, "x":60, "y":13, "matrix": [2,3] }, +{"flags":1, "x":75, "y":13, "matrix": [3,2] }, +{"flags":1, "x":90, "y":13, "matrix": [3,3] }, +{"flags":1, "x":105, "y":13, "matrix": [4,2] }, +{"flags":1, "x":110, "y":13, "matrix": [4,3] }, +{"flags":1, "x":125, "y":13, "matrix": [5,2] }, +{"flags":1, "x":140, "y":13, "matrix": [5,3] }, +{"flags":1, "x":155, "y":13, "matrix": [6,2] }, +{"flags":1, "x":160, "y":13, "matrix": [6,3] }, +{"flags":1, "x":175, "y":13, "matrix": [7,2] }, + +{"flags":1, "x":9, "y":26, "matrix": [0,5] }, +{"flags":1, "x":25, "y":26, "matrix": [1,4] }, +{"flags":1, "x":38, "y":26, "matrix": [1,5] }, +{"flags":1, "x":50, "y":26, "matrix": [2,4] }, +{"flags":1, "x":63, "y":26, "matrix": [2,5] }, +{"flags":1, "x":76, "y":26, "matrix": [3,4] }, +{"flags":1, "x":88, "y":26, "matrix": [3,5] }, +{"flags":1, "x":101, "y":26, "matrix": [4,4] }, +{"flags":1, "x":114, "y":26, "matrix": [4,5] }, +{"flags":1, "x":126, "y":26, "matrix": [5,4] }, +{"flags":1, "x":139, "y":26, "matrix": [5,5] }, +{"flags":1, "x":151, "y":26, "matrix": [6,4] }, +{"flags":1, "x":164, "y":26, "matrix": [7,5] }, + + + + +{"flags":1, "x":11, "y":38, "matrix": [0,7] }, +{"flags":1, "x":28, "y":38, "matrix": [1,7] }, +{"flags":1, "x":41, "y":38, "matrix": [2,6] }, +{"flags":1, "x":54, "y":38, "matrix": [2,7] }, +{"flags":1, "x":66, "y":38, "matrix": [3,6] }, +{"flags":1, "x":79, "y":38, "matrix": [3,7] }, +{"flags":1, "x":91, "y":38, "matrix": [4,6] }, +{"flags":1, "x":104, "y":38, "matrix": [4,7] }, +{"flags":1, "x":117, "y":38, "matrix": [5,6] }, +{"flags":1, "x":129, "y":38, "matrix": [5,7] }, +{"flags":1, "x":142, "y":38, "matrix": [6,6] }, +{"flags":1, "x":155, "y":38, "matrix": [7,7] }, +{"flags":1, "x":175, "y":38, "matrix": [8,6] }, +{"flags":1, "x":14, "y":51, "matrix": [7,3] }, + +{"flags":1, "x":35, "y":51, "matrix": [0,9] }, +{"flags":1, "x":47, "y":51, "matrix": [1,8] }, +{"flags":1, "x":60, "y":51, "matrix": [1,9] }, +{"flags":1, "x":73, "y":51, "matrix": [2,9] }, +{"flags":1, "x":85, "y":51, "matrix": [5,9] }, +{"flags":1, "x":98, "y":51, "matrix": [6,9] }, +{"flags":1, "x":110, "y":51, "matrix": [7,9] }, +{"flags":1, "x":123, "y":51, "matrix": [8,8] }, +{"flags":1, "x":136, "y":51, "matrix": [8,9] } + + + + + + + ], + "sleep": true + }, + + "layouts": { + "LAYOUT": { + "layout": [ + {"label": "GRV", "x": 0, "y": 1.25, "matrix": [0, 1]}, + {"label": "!", "x": 1, "y": 0, "matrix": [1, 0]}, + {"label": "@", "x": 2, "y": 0, "matrix": [1, 1]}, + {"label": "#", "x": 3, "y": 0, "matrix": [2, 0]}, + {"label": "$", "x": 4, "y": 0, "matrix": [2, 1]}, + {"label": "%", "x": 5, "y": 0, "matrix": [3, 0]}, + {"label": "^", "x": 6, "y": 0, "matrix": [3, 1]}, + {"label": "&", "x": 7, "y": 0, "matrix": [4, 0]}, + {"label": "*", "x": 8, "y": 0, "matrix": [4, 1]}, + {"label": "(", "x": 9, "y": 0, "matrix": [5, 0]}, + {"label": ")", "x": 10, "y": 0, "matrix": [5, 1]}, + {"label": "_", "x": 11, "y": 0, "matrix": [6, 0]}, + {"label": "+", "x": 12, "y": 0, "matrix": [6, 1]}, + {"label": "Backspace", "x": 13, "y": 0, "w": 2, "h": 0.5, "matrix": [7, 1]}, + + {"label": "Tab", "x": 0, "y": 1, "w": 1.5, "matrix": [0, 3]}, + {"label": "Q", "x": 1.5, "y": 1, "matrix": [1, 2]}, + {"label": "W", "x": 2.5, "y": 1, "matrix": [1, 3]}, + {"label": "E", "x": 3.5, "y": 1, "matrix": [2, 2]}, + {"label": "R", "x": 4.5, "y": 1, "matrix": [2, 3]}, + {"label": "T", "x": 5.5, "y": 1, "matrix": [3, 2]}, + {"label": "Y", "x": 6.5, "y": 1, "matrix": [3, 3]}, + {"label": "U", "x": 7.5, "y": 1, "matrix": [4, 2]}, + {"label": "I", "x": 8.5, "y": 1, "matrix": [4, 3]}, + {"label": "O", "x": 9.5, "y": 1, "matrix": [5, 2]}, + {"label": "P", "x": 10.5, "y": 1, "matrix": [5, 3]}, + {"label": "{", "x": 11.5, "y": 1, "matrix": [6, 2]}, + {"label": "}", "x": 12.5, "y": 1, "matrix": [6, 3]}, + {"label": "|", "x": 13.5, "y": 1, "w": 1.5, "matrix": [7, 2]}, + + + {"label": "Caps Lock", "x": 0, "y": 2, "w": 1.75, "matrix": [0, 5]}, + {"label": "A", "x": 1.75, "y": 2, "matrix": [1, 4]}, + {"label": "S", "x": 2.75, "y": 2, "matrix": [1, 5]}, + {"label": "D", "x": 3.75, "y": 2, "matrix": [2, 4]}, + {"label": "F", "x": 4.75, "y": 2, "matrix": [2, 5]}, + {"label": "G", "x": 5.75, "y": 2, "matrix": [3, 4]}, + {"label": "H", "x": 6.75, "y": 2, "matrix": [3, 5]}, + {"label": "J", "x": 7.75, "y": 2, "matrix": [4, 4]}, + {"label": "K", "x": 8.75, "y": 2, "matrix": [4, 5]}, + {"label": "L", "x": 9.75, "y": 2, "matrix": [5, 4]}, + {"label": ":", "x": 10.75, "y": 2, "matrix": [5, 5]}, + {"label": "\"", "x": 11.75, "y": 2, "matrix": [6, 4]}, + {"label": "Enter", "x": 12.75, "y": 2, "w": 2.25, "matrix": [7, 5]}, + + + {"label": "Shift", "x": 0, "y": 3, "w": 2.25, "matrix": [0, 7]}, + {"label": "Z", "x": 2, "y": 3, "matrix": [1, 7]}, + {"label": "X", "x": 3, "y": 3, "matrix": [2, 6]}, + {"label": "C", "x": 4, "y": 3, "matrix": [2, 7]}, + {"label": "V", "x": 5, "y": 3, "matrix": [3, 6]}, + {"label": "B", "x": 6, "y": 3, "matrix": [3, 7]}, + {"label": "N", "x": 7, "y": 3, "matrix": [4, 6]}, + {"label": "M", "x": 8, "y": 3, "matrix": [4, 7]}, + {"label": "<", "x": 9, "y": 3, "matrix": [5, 6]}, + {"label": ">", "x": 10, "y": 3, "matrix": [5, 7]}, + {"label": "?", "x": 11, "y": 3, "matrix": [6, 6]}, + {"label": "Shift", "x": 12.75, "y": 3, "w": 2.75, "matrix": [7, 7]}, + {"label": "UP", "x": 13.75, "y": 3, "matrix": [8, 6]}, + {"label": "Delete", "x": 13.75, "y": 3, "matrix": [7, 3]}, + + {"label": "Ctrl", "x": 0, "y": 4, "w": 1.25, "matrix": [0, 9]}, + {"label": "Win", "x": 1.25, "y": 4, "w": 1.25, "matrix": [1, 8]}, + {"label": "Alt", "x": 2.5, "y": 4, "w": 1.25, "matrix": [1, 9]}, + {"label": "Space", "x": 3.75, "y": 4, "w": 6.25, "matrix": [2, 9]}, + + {"label": "Alt", "x": 11.25, "y": 4, "w": 1.25, "matrix": [5, 9]}, + {"label": "Fn", "x": 12.5, "y": 4, "w": 1.25, "matrix": [6, 9]}, + {"label": "Left", "x": 15.25, "y": 4, "matrix": [7, 9]}, + {"label": "Down", "x": 16.25, "y": 4, "matrix": [8, 8]}, + {"label": "Right", "x": 17.25, "y": 4, "matrix": [8, 9]} + + + + ] + } + } + + } diff --git a/keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c b/keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c new file mode 100644 index 00000000000..a13922b7701 --- /dev/null +++ b/keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c @@ -0,0 +1,49 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +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_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_APP, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), + [1] = 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_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, RGB_MOD, RGB_MOD, MO(2), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT) +}; + + + diff --git a/keyboards/czmao/tab_hhkb_v2/readme.md b/keyboards/czmao/tab_hhkb_v2/readme.md new file mode 100644 index 00000000000..0e9334202e5 --- /dev/null +++ b/keyboards/czmao/tab_hhkb_v2/readme.md @@ -0,0 +1,6 @@ +# mao ds 17 + + + make czmao/ds17:default + +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). diff --git a/keyboards/swagkeys/sw65/keyboard.json b/keyboards/swagkeys/sw65/keyboard.json new file mode 100644 index 00000000000..8c3d9066c35 --- /dev/null +++ b/keyboards/swagkeys/sw65/keyboard.json @@ -0,0 +1,122 @@ +{ + "keyboard_name": "swagkeys_sw65", + "manufacturer": "CZMAO", + "url": "NONE", + "maintainer": "MAOKB", + "diode_direction": "COL2ROW", + "processor": "STM32F103", + "bootloader": "stm32duino", + "usb": { + "vid": "0x4A15", + "pid": "0x4A15", + "device_version": "1.0.0" + }, + "features": { + "bootmagic": true, + "nkro": true + + }, + "dynamic_keymap": { + "layer_count": 4 + }, + + "bootmagic": { + "matrix" : [0,0] + }, + + "indicators": { + "caps_lock" : "B15", + "on_state" : 0 + }, + + + + "matrix_pins": { + "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14", "A6", "A5" , "A4" , "A3" , "B14" , "A1", "A0"], + "rows": ["B9", "C13", "B12", "B11", "C15"] + }, + + "layouts": { + "LAYOUT_60_ansi": { + "layout": [ + {"label": "GRV", "x": 0, "y": 0, "matrix": [0, 0]}, + {"label": "!", "x": 1, "y": 0, "matrix": [0, 1]}, + {"label": "@", "x": 2, "y": 0, "matrix": [0, 2]}, + {"label": "#", "x": 3, "y": 0, "matrix": [0, 3]}, + {"label": "$", "x": 4, "y": 0, "matrix": [0, 4]}, + {"label": "%", "x": 5, "y": 0, "matrix": [0, 5]}, + {"label": "^", "x": 6, "y": 0, "matrix": [0, 6]}, + {"label": "&", "x": 7, "y": 0, "matrix": [0, 7]}, + {"label": "*", "x": 8, "y": 0, "matrix": [0, 8]}, + {"label": "(", "x": 9, "y": 0, "matrix": [0, 9]}, + {"label": ")", "x": 10, "y": 0, "matrix": [0, 10]}, + {"label": "_", "x": 11, "y": 0, "matrix": [0, 11]}, + {"label": "+", "x": 12, "y": 0, "matrix": [0, 12]}, + {"label": "Backspace", "x": 13.5, "y": 0, "matrix": [0, 13 ]}, + {"label": "BSLS", "x": 13, "y": 0, "w": 2, "matrix": [0, 14 ]}, + {"label": "Backspace", "x": 14, "y": 0, "matrix": [0, 15 ]}, + {"label": "Del", "x": 15, "y": 0, "matrix": [1, 14]}, + + {"label": "Tab", "x": 0, "y": 1, "w": 1.5, "matrix": [1, 0]}, + {"label": "Q", "x": 1.5, "y": 1, "matrix": [1, 1]}, + {"label": "W", "x": 2.5, "y": 1, "matrix": [1, 2]}, + {"label": "E", "x": 3.5, "y": 1, "matrix": [1, 3]}, + {"label": "R", "x": 4.5, "y": 1, "matrix": [1, 4]}, + {"label": "T", "x": 5.5, "y": 1, "matrix": [1, 5]}, + {"label": "Y", "x": 6.5, "y": 1, "matrix": [1, 6]}, + {"label": "U", "x": 7.5, "y": 1, "matrix": [1, 7]}, + {"label": "I", "x": 8.5, "y": 1, "matrix": [1, 8]}, + {"label": "O", "x": 9.5, "y": 1, "matrix": [1, 9]}, + {"label": "P", "x": 10.5, "y": 1, "matrix": [1, 10]}, + {"label": "{", "x": 11.5, "y": 1, "matrix": [1, 11]}, + {"label": "}", "x": 12.5, "y": 1, "matrix": [1, 12]}, + {"label": "|", "x": 13.5, "y": 1, "w": 1.5, "matrix": [1, 13]}, + {"label": "Home", "x": 15, "y": 1, "matrix": [1, 15]}, + + {"label": "Caps Lock", "x": 0, "y": 2, "w": 1.75, "matrix": [2, 0]}, + {"label": "A", "x": 1.75, "y": 2, "matrix": [2, 1]}, + {"label": "S", "x": 2.75, "y": 2, "matrix": [2, 2]}, + {"label": "D", "x": 3.75, "y": 2, "matrix": [2, 3]}, + {"label": "F", "x": 4.75, "y": 2, "matrix": [2, 4]}, + {"label": "G", "x": 5.75, "y": 2, "matrix": [2, 5]}, + {"label": "H", "x": 6.75, "y": 2, "matrix": [2, 6]}, + {"label": "J", "x": 7.75, "y": 2, "matrix": [2, 7]}, + {"label": "K", "x": 8.75, "y": 2, "matrix": [2, 8]}, + {"label": "L", "x": 9.75, "y": 2, "matrix": [2, 9]}, + {"label": ":", "x": 10.75, "y": 2, "matrix": [2, 10]}, + {"label": "\"", "x": 11.75, "y": 2, "matrix": [2, 11]}, + {"label": "Enter", "x": 12.75, "y": 2, "w": 2.25, "matrix": [2, 12]}, + {"label": "PGUP", "x": 15, "y": 2, "matrix": [2, 15]}, + + {"label": "Shift", "x": 0, "y": 3, "w": 2.25, "matrix": [3, 0]}, + {"label": "Z", "x": 2.25, "y": 3, "matrix": [3, 1]}, + {"label": "X", "x": 3.25, "y": 3, "matrix": [3, 2]}, + {"label": "C", "x": 4.25, "y": 3, "matrix": [3, 3]}, + {"label": "V", "x": 5.25, "y": 3, "matrix": [3, 4]}, + {"label": "B", "x": 6.25, "y": 3, "matrix": [3, 5]}, + {"label": "N", "x": 7.25, "y": 3, "matrix": [3, 6]}, + {"label": "M", "x": 8.25, "y": 3, "matrix": [3, 7]}, + {"label": "<", "x": 9.25, "y": 3, "matrix": [3, 8]}, + {"label": ">", "x": 10.25, "y": 3, "matrix": [3, 9]}, + {"label": "?", "x": 11.25, "y": 3, "matrix": [3, 10]}, + {"label": "Shift", "x": 12.25, "y": 3, "w": 1.75, "matrix": [3, 11]}, + {"label": "UP", "x": 14, "y": 3, "matrix": [3, 14]}, + {"label": "PGDN", "x": 15, "y": 3, "matrix": [3, 15]}, + + {"label": "Ctrl", "x": 0, "y": 4, "w": 1.25, "matrix": [4, 0]}, + {"label": "Win", "x": 1.25, "y": 4, "w": 1.25, "matrix": [4, 1]}, + {"label": "Alt", "x": 2.5, "y": 4, "w": 1.25, "matrix": [4, 2]}, + {"label": "Space", "x": 3.75, "y": 4, "w": 6.25, "matrix": [4, 5]}, + {"label": "Alt", "x": 10, "y": 4, "w": 1.25, "matrix": [4, 9]}, + {"label": "Fn", "x": 11.5, "y": 4, "w": 1.25, "matrix": [4, 10]}, + {"label": "Left", "x": 13, "y": 4, "matrix": [4, 11]}, + {"label": "Down", "x": 14, "y": 4, "matrix": [4, 14]}, + {"label": "Right", "x": 15, "y": 4, "matrix": [4, 15]} + + + + ] + } + } + + } diff --git a/keyboards/swagkeys/sw65/keymaps/default/keymap.c b/keyboards/swagkeys/sw65/keymaps/default/keymap.c new file mode 100644 index 00000000000..7c848cff327 --- /dev/null +++ b/keyboards/swagkeys/sw65/keymaps/default/keymap.c @@ -0,0 +1,42 @@ +/* +Copyright 2012,2013 Jun Wako + +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 + + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +// enum custom_keycodes { +// QWERTY = SAFE_RANGE, +// LOWER, +// RAISE +// }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + 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_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_HOME, + 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_PGUP, + 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_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT) + +}; + + + diff --git a/keyboards/swagkeys/sw65/readme.md b/keyboards/swagkeys/sw65/readme.md new file mode 100644 index 00000000000..0e9334202e5 --- /dev/null +++ b/keyboards/swagkeys/sw65/readme.md @@ -0,0 +1,6 @@ +# mao ds 17 + + + make czmao/ds17:default + +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). From b07a965200009e93ea951d84881796f0cd286223 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 3 Nov 2024 20:55:05 +0800 Subject: [PATCH 28/39] delete other beyond ds17 --- keyboards/czmao/ds87/keyboard.json | 292 ------------------ keyboards/czmao/ds87/keymaps/default/keymap.c | 49 --- keyboards/czmao/ds87/readme.md | 6 - keyboards/czmao/dz19/keyboard.json | 66 ---- keyboards/czmao/dz19/keymaps/default/keymap.c | 63 ---- keyboards/czmao/dz19/readme.md | 34 -- keyboards/czmao/mao60ansi/keyboard.json | 240 -------------- .../czmao/mao60ansi/keymaps/default/keymap.c | 55 ---- keyboards/czmao/mao60ansi/readme.md | 6 - keyboards/czmao/tab_hhkb_v2/keyboard.json | 252 --------------- .../tab_hhkb_v2/keymaps/default/keymap.c | 49 --- keyboards/czmao/tab_hhkb_v2/readme.md | 6 - 12 files changed, 1118 deletions(-) delete mode 100644 keyboards/czmao/ds87/keyboard.json delete mode 100644 keyboards/czmao/ds87/keymaps/default/keymap.c delete mode 100644 keyboards/czmao/ds87/readme.md delete mode 100644 keyboards/czmao/dz19/keyboard.json delete mode 100644 keyboards/czmao/dz19/keymaps/default/keymap.c delete mode 100644 keyboards/czmao/dz19/readme.md delete mode 100644 keyboards/czmao/mao60ansi/keyboard.json delete mode 100644 keyboards/czmao/mao60ansi/keymaps/default/keymap.c delete mode 100644 keyboards/czmao/mao60ansi/readme.md delete mode 100644 keyboards/czmao/tab_hhkb_v2/keyboard.json delete mode 100644 keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c delete mode 100644 keyboards/czmao/tab_hhkb_v2/readme.md diff --git a/keyboards/czmao/ds87/keyboard.json b/keyboards/czmao/ds87/keyboard.json deleted file mode 100644 index 962779963c2..00000000000 --- a/keyboards/czmao/ds87/keyboard.json +++ /dev/null @@ -1,292 +0,0 @@ -{ - "keyboard_name": "mao_10_DS87", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "MAOKB", - "diode_direction": "COL2ROW", - "processor": "atmega32u4", - "bootloader": "caterina", - "usb": { - "vid": "0x4A13", - "pid": "0x4A13", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - - "mousekey": false, - "nkro": true, - "rgb_matrix": true, - "rgblight": false, - "encoder": false - }, - "dynamic_keymap": { - "layer_count": 4 - }, - - "bootmagic": { - "matrix" : [0,0] - }, - - - "matrix_pins": { - "cols": ["F0", "B2", "B3", "C6", "B6", "B4","D7","D6","D4","D5","D3","D2","D1","D0","F6","F5"], - "rows": ["B0", "B1", "B7", "C7", "F7", "F4"] - }, - - "ws2812": { - "pin": "E6" - }, - - - "rgb_matrix": { - "max_brightness":180, - "default":{ - "animation":"typing_heatmap" - }, - - "animations": { - "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, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": 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, - "typing_heatmap": 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 - }, - "driver": "ws2812", - "layout": [ - {"flags":1, "x":6, "y":0, "matrix": [0,0] }, -{"flags":1, "x":0, "y":0, "matrix": [0,1] }, -{"flags":1, "x":44, "y":0, "matrix": [0,2] }, -{"flags":1, "x":57, "y":0, "matrix": [0,3] }, -{"flags":1, "x":69, "y":0, "matrix": [0,4] }, -{"flags":1, "x":88, "y":0, "matrix": [0,5] }, -{"flags":1, "x":101, "y":0, "matrix": [0,6] }, -{"flags":1, "x":114, "y":0, "matrix": [0,7] }, -{"flags":1, "x":126, "y":0, "matrix": [0,8] }, -{"flags":1, "x":145, "y":0, "matrix": [0,9] }, -{"flags":1, "x":158, "y":0, "matrix": [0,10] }, -{"flags":1, "x":170, "y":0, "matrix": [0,11] }, -{"flags":1, "x":183, "y":0, "matrix": [0,12] }, -{"flags":1, "x":199, "y":0, "matrix": [0,14] }, -{"flags":1, "x":211, "y":0, "matrix": [0,15] }, -{"flags":1, "x":224, "y":0, "matrix": [4,15] }, -{"flags":1, "x":0, "y":13, "matrix": [1,0] }, -{"flags":1, "x":15, "y":13, "matrix": [1,1] }, -{"flags":1, "x":30, "y":13, "matrix": [1,2] }, -{"flags":1, "x":45, "y":13, "matrix": [1,3] }, -{"flags":1, "x":60, "y":13, "matrix": [1,4] }, -{"flags":1, "x":75, "y":13, "matrix": [1,5] }, -{"flags":1, "x":90, "y":13, "matrix": [1,6] }, -{"flags":1, "x":105, "y":13, "matrix": [1,7] }, -{"flags":1, "x":110, "y":13, "matrix": [1,8] }, -{"flags":1, "x":125, "y":13, "matrix": [1,9] }, -{"flags":1, "x":140, "y":13, "matrix": [1,10] }, -{"flags":1, "x":155, "y":13, "matrix": [1,11] }, -{"flags":1, "x":160, "y":13, "matrix": [1,12] }, -{"flags":1, "x":175, "y":13, "matrix": [1,13] }, -{"flags":1, "x":190, "y":13, "matrix": [1,14] }, -{"flags":1, "x":205, "y":13, "matrix": [1,15] }, -{"flags":1, "x":224, "y":13, "matrix": [3,14] }, -{"flags":1, "x":9, "y":26, "matrix": [2,0] }, -{"flags":1, "x":25, "y":26, "matrix": [2,1] }, -{"flags":1, "x":38, "y":26, "matrix": [2,2] }, -{"flags":1, "x":50, "y":26, "matrix": [2,3] }, -{"flags":1, "x":63, "y":26, "matrix": [2,4] }, -{"flags":1, "x":76, "y":26, "matrix": [2,5] }, -{"flags":1, "x":88, "y":26, "matrix": [2,6] }, -{"flags":1, "x":101, "y":26, "matrix": [2,7] }, -{"flags":1, "x":114, "y":26, "matrix": [2,8] }, -{"flags":1, "x":126, "y":26, "matrix": [2,9] }, -{"flags":1, "x":139, "y":26, "matrix": [2,10] }, -{"flags":1, "x":151, "y":26, "matrix": [2,11] }, -{"flags":1, "x":164, "y":26, "matrix": [2,12] }, -{"flags":1, "x":180, "y":26, "matrix": [2,13] }, -{"flags":1, "x":199, "y":26, "matrix": [2,14] }, -{"flags":1, "x":211, "y":26, "matrix": [2,15] }, -{"flags":1, "x":224, "y":26, "matrix": [3,15] }, -{"flags":1, "x":11, "y":38, "matrix": [3,0] }, -{"flags":1, "x":28, "y":38, "matrix": [3,1] }, -{"flags":1, "x":41, "y":38, "matrix": [3,2] }, -{"flags":1, "x":54, "y":38, "matrix": [3,3] }, -{"flags":1, "x":66, "y":38, "matrix": [3,4] }, -{"flags":1, "x":79, "y":38, "matrix": [3,5] }, -{"flags":1, "x":91, "y":38, "matrix": [3,6] }, -{"flags":1, "x":104, "y":38, "matrix": [3,7] }, -{"flags":1, "x":117, "y":38, "matrix": [3,8] }, -{"flags":1, "x":129, "y":38, "matrix": [3,9] }, -{"flags":1, "x":142, "y":38, "matrix": [3,10] }, -{"flags":1, "x":155, "y":38, "matrix": [3,11] }, -{"flags":1, "x":175, "y":38, "matrix": [3,12] }, -{"flags":1, "x":14, "y":51, "matrix": [4,0] }, -{"flags":1, "x":35, "y":51, "matrix": [4,1] }, -{"flags":1, "x":47, "y":51, "matrix": [4,2] }, -{"flags":1, "x":60, "y":51, "matrix": [4,3] }, -{"flags":1, "x":73, "y":51, "matrix": [4,4] }, -{"flags":1, "x":85, "y":51, "matrix": [4,5] }, -{"flags":1, "x":98, "y":51, "matrix": [4,6] }, -{"flags":1, "x":110, "y":51, "matrix": [4,7] }, -{"flags":1, "x":123, "y":51, "matrix": [4,8] }, -{"flags":1, "x":136, "y":51, "matrix": [4,9] }, -{"flags":1, "x":148, "y":51, "matrix": [4,10] }, -{"flags":1, "x":172, "y":51, "matrix": [4,11] }, -{"flags":1, "x":211, "y":51, "matrix": [4,14] }, -{"flags":1, "x":8, "y":64, "matrix": [5,0] }, -{"flags":1, "x":22, "y":64, "matrix": [5,1] }, -{"flags":1, "x":36, "y":64, "matrix": [5,2] }, -{"flags":1, "x":54, "y":64, "matrix": [5,4] }, -{"flags":1, "x":70, "y":64, "matrix": [5,4] }, -{"flags":1, "x":84, "y":64, "matrix": [5,5] }, -{"flags":1, "x":100, "y":64, "matrix": [5,6] }, -{"flags":1, "x":114, "y":64, "matrix": [5,6] }, -{"flags":1, "x":131, "y":64, "matrix": [5,9] }, -{"flags":1, "x":147, "y":64, "matrix": [5,10] }, -{"flags":1, "x":162, "y":64, "matrix": [5,11] }, -{"flags":1, "x":178, "y":64, "matrix": [5,12] }, -{"flags":1, "x":199, "y":64, "matrix": [5,13] }, -{"flags":1, "x":211, "y":64, "matrix": [5,14] }, -{"flags":1, "x":224, "y":64, "matrix": [5,15] } - - - - - ], - "sleep": true - }, - - "layouts": { - "LAYOUT": { - "layout": [ - {"label": "Esc", "x": 0, "y": 0, "matrix": [0, 0]}, - {"label": "F1", "x": 2, "y": 0, "matrix": [0, 1]}, - {"label": "F2", "x": 3, "y": 0, "matrix": [0, 2]}, - {"label": "F3", "x": 4, "y": 0, "matrix": [0, 3]}, - {"label": "F4", "x": 5, "y": 0, "matrix": [0, 4]}, - {"label": "F5", "x": 6.5, "y": 0, "matrix": [0, 5]}, - {"label": "F6", "x": 7.5, "y": 0, "matrix": [0, 6]}, - {"label": "F7", "x": 8.5, "y": 0, "matrix": [0, 7]}, - {"label": "F8", "x": 9.5, "y": 0, "matrix": [0, 8]}, - {"label": "F9", "x": 11, "y": 0, "matrix": [0, 9]}, - {"label": "F10", "x": 12, "y": 0, "matrix": [0, 10]}, - {"label": "F11", "x": 13, "y": 0, "matrix": [0, 11]}, - {"label": "F12", "x": 14, "y": 0, "matrix": [0, 12]}, - {"label": "PrtSc", "x": 15.25, "y": 0, "matrix": [0, 14]}, - {"label": "Scroll Lock", "x": 16.25, "y": 0, "matrix": [0, 15]}, - {"label": "Pause", "x": 17.25, "y": 0, "matrix": [4, 15]}, - - {"label": "~", "x": 0, "y": 1.25, "matrix": [1, 0]}, - {"label": "!", "x": 1, "y": 1.25, "matrix": [1, 1]}, - {"label": "@", "x": 2, "y": 1.25, "matrix": [1, 2]}, - {"label": "#", "x": 3, "y": 1.25, "matrix": [1, 3]}, - {"label": "$", "x": 4, "y": 1.25, "matrix": [1, 4]}, - {"label": "%", "x": 5, "y": 1.25, "matrix": [1, 5]}, - {"label": "^", "x": 6, "y": 1.25, "matrix": [1, 6]}, - {"label": "&", "x": 7, "y": 1.25, "matrix": [1, 7]}, - {"label": "*", "x": 8, "y": 1.25, "matrix": [1, 8]}, - {"label": "(", "x": 9, "y": 1.25, "matrix": [1, 9]}, - {"label": ")", "x": 10, "y": 1.25, "matrix": [1, 10]}, - {"label": "_", "x": 11, "y": 1.25, "matrix": [1, 11]}, - {"label": "+", "x": 12, "y": 1.25, "matrix": [1, 12]}, - {"label": "Backspace", "x": 13, "y": 1.25, "w": 2, "h": 0.5, "matrix": [1, 13]}, - {"label": "Insert", "x": 15.25, "y": 1.25, "matrix": [1, 14]}, - {"label": "Home", "x": 16.25, "y": 1.25, "matrix": [1, 15]}, - {"label": "PgUp", "x": 17.25, "y": 1.25, "matrix": [3, 14]}, - - {"label": "Tab", "x": 0, "y": 2.25, "w": 1.5, "matrix": [2, 0]}, - {"label": "Q", "x": 1.5, "y": 2.25, "matrix": [2, 1]}, - {"label": "W", "x": 2.5, "y": 2.25, "matrix": [2, 2]}, - {"label": "E", "x": 3.5, "y": 2.25, "matrix": [2, 3]}, - {"label": "R", "x": 4.5, "y": 2.25, "matrix": [2, 4]}, - {"label": "T", "x": 5.5, "y": 2.25, "matrix": [2, 5]}, - {"label": "Y", "x": 6.5, "y": 2.25, "matrix": [2, 6]}, - {"label": "U", "x": 7.5, "y": 2.25, "matrix": [2, 7]}, - {"label": "I", "x": 8.5, "y": 2.25, "matrix": [2, 8]}, - {"label": "O", "x": 9.5, "y": 2.25, "matrix": [2, 9]}, - {"label": "P", "x": 10.5, "y": 2.25, "matrix": [2, 10]}, - {"label": "{", "x": 11.5, "y": 2.25, "matrix": [2, 11]}, - {"label": "}", "x": 12.5, "y": 2.25, "matrix": [2, 12]}, - {"label": "|", "x": 13.5, "y": 2.25, "w": 1.5, "matrix": [2, 13]}, - {"label": "Delete", "x": 15.25, "y": 2.25, "matrix": [2, 14]}, - {"label": "End", "x": 16.25, "y": 2.25, "matrix": [2, 15]}, - {"label": "PgDn", "x": 17.25, "y": 2.25, "matrix": [3, 15]}, - - {"label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75, "matrix": [3, 0]}, - {"label": "A", "x": 1.75, "y": 3.25, "matrix": [3, 1]}, - {"label": "S", "x": 2.75, "y": 3.25, "matrix": [3, 2]}, - {"label": "D", "x": 3.75, "y": 3.25, "matrix": [3, 3]}, - {"label": "F", "x": 4.75, "y": 3.25, "matrix": [3, 4]}, - {"label": "G", "x": 5.75, "y": 3.25, "matrix": [3, 5]}, - {"label": "H", "x": 6.75, "y": 3.25, "matrix": [3, 6]}, - {"label": "J", "x": 7.75, "y": 3.25, "matrix": [3, 7]}, - {"label": "K", "x": 8.75, "y": 3.25, "matrix": [3, 8]}, - {"label": "L", "x": 9.75, "y": 3.25, "matrix": [3, 9]}, - {"label": ":", "x": 10.75, "y": 3.25, "matrix": [3, 10]}, - {"label": "\"", "x": 11.75, "y": 3.25, "matrix": [3, 11]}, - {"label": "Enter", "x": 12.75, "y": 3.25, "w": 2.25, "matrix": [3, 13]}, - - - {"label": "Shift", "x": 0, "y": 4.25, "w": 2.25, "matrix": [4, 0]}, - {"label": "Z", "x": 2.25, "y": 4.25, "matrix": [4, 1]}, - {"label": "X", "x": 3.25, "y": 4.25, "matrix": [4, 2]}, - {"label": "C", "x": 4.25, "y": 4.25, "matrix": [4, 3]}, - {"label": "V", "x": 5.25, "y": 4.25, "matrix": [4, 4]}, - {"label": "B", "x": 6.25, "y": 4.25, "matrix": [4, 5]}, - {"label": "N", "x": 7.25, "y": 4.25, "matrix": [4, 6]}, - {"label": "M", "x": 8.25, "y": 4.25, "matrix": [4, 7]}, - {"label": "<", "x": 9.25, "y": 4.25, "matrix": [4, 8]}, - {"label": ">", "x": 10.25, "y": 4.25, "matrix": [4, 9]}, - {"label": "?", "x": 11.25, "y": 4.25, "matrix": [4, 10]}, - {"label": "Shift", "x": 12.25, "y": 4.25, "w": 2.75, "matrix": [4, 11]}, - {"label": "Up", "x": 16.25, "y": 4.25, "matrix": [4, 14]}, - - {"label": "Ctrl", "x": 0, "y": 5.25, "w": 1.25, "matrix": [5, 0]}, - {"label": "Win", "x": 1.25, "y": 5.25, "w": 1.25, "matrix": [5, 1]}, - {"label": "Alt", "x": 2.5, "y": 5.25, "w": 1.25, "matrix": [5, 2]}, - {"label": "Space", "x": 3.75, "y": 5.25, "w": 6.25, "matrix": [5, 5]}, - - {"label": "Alt", "x": 11.25, "y": 5.25, "w": 1.25, "matrix": [5, 9]}, - {"label": "Menu", "x": 10, "y": 5.25, "w": 1.25, "matrix": [5, 10]}, - {"label": "Fn", "x": 12.5, "y": 5.25, "w": 1.25, "matrix": [5, 11]}, - {"label": "Ctrl", "x": 13.75, "y": 5.25, "w": 1.25, "matrix": [5, 12]}, - {"label": "Left", "x": 15.25, "y": 5.25, "matrix": [5, 13]}, - {"label": "Down", "x": 16.25, "y": 5.25, "matrix": [5, 14]}, - {"label": "Right", "x": 17.25, "y": 5.25, "matrix": [5, 15]} - - - - ] - } - } - - } diff --git a/keyboards/czmao/ds87/keymaps/default/keymap.c b/keyboards/czmao/ds87/keymaps/default/keymap.c deleted file mode 100644 index a13922b7701..00000000000 --- a/keyboards/czmao/ds87/keymaps/default/keymap.c +++ /dev/null @@ -1,49 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -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_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_APP, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - [1] = 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_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, RGB_MOD, RGB_MOD, MO(2), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT) -}; - - - diff --git a/keyboards/czmao/ds87/readme.md b/keyboards/czmao/ds87/readme.md deleted file mode 100644 index 0e9334202e5..00000000000 --- a/keyboards/czmao/ds87/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# mao ds 17 - - - make czmao/ds17:default - -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). diff --git a/keyboards/czmao/dz19/keyboard.json b/keyboards/czmao/dz19/keyboard.json deleted file mode 100644 index 2a43e7b364d..00000000000 --- a/keyboards/czmao/dz19/keyboard.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "keyboard_name": "dz19", - "manufacturer": "CZMAO", - "url": "https://github.com/micahyy/czmao/tree/main/ds17_solder", - "maintainer": "MAOKB", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4A99", - "pid": "0x4A99", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "command": true, - "console": true, - "extrakey": true, - }, - "dynamic_keymap": { - "layer_count": 8 - }, - - - - - "matrix_pins": { - "cols": ["B12", "B14", "B15", "A8"], - "rows": ["A9", "A10", "A15", "B3", "B4"] - }, - - "layouts": { - "LAYOUT_numberpad_5x4": { - "layout": [ - {"label":"F1", "matrix": [ 0,0],"x":0,"y":0}, - {"label":"UP", "matrix": [ 0,1],"x":1,"y":0}, - {"label":"DOWN", "matrix": [ 0,2],"x":2,"y":0}, - {"label":"F2", "matrix": [ 0,3],"x":3,"y":0}, - - {"label":"P7", "matrix": [ 1,0],"x":0,"y":1}, - {"label":"P8", "matrix": [ 1,1],"x":1,"y":1}, - {"label":"P9", "matrix": [ 1,2],"x":2,"y":1}, - {"label":"DEL", "matrix": [ 1,3],"x":2,"y":1}, - - {"label":"P4", "matrix": [ 2,0],"x":2,"y":1}, - {"label":"P5", "matrix": [ 2,1],"x":3,"y":1}, - {"label":"P6", "matrix": [ 2,2],"x":4,"y":1}, - {"label":"ESC", "matrix": [ 2,3],"x":3,"y":1,"h":2}, - - {"label":"P1", "matrix": [ 3,0],"x":0,"y":2}, - {"label":"P2", "matrix": [ 3,1],"x":1,"y":2}, - {"label":"P3", "matrix": [ 3,2],"x":2,"y":2}, - - {"label":"P0", "matrix": [ 4,0],"x":0,"y":3}, - {"label":"PDOT", "matrix": [ 4,1],"x":1,"y":3}, - {"label":"P+", "matrix": [ 4,2],"x":3,"y":2,"h":2}, - {"label":"P9", "matrix": [ 4,3],"x":2,"y":1} - - - - - ] - } - } - - } diff --git a/keyboards/czmao/dz19/keymaps/default/keymap.c b/keyboards/czmao/dz19/keymaps/default/keymap.c deleted file mode 100644 index f96229af930..00000000000 --- a/keyboards/czmao/dz19/keymaps/default/keymap.c +++ /dev/null @@ -1,63 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_numberpad_5x4( -//1 2 3 4 -MO(1), KC_PSLS, KC_PAST, KC_PMNS, -KC_P7, KC_P8, KC_P9, -KC_P4, KC_P5, KC_P6, KC_PPLS, -KC_P1, KC_P2, KC_P3, -KC_P0, KC_PDOT, KC_PENT - ), - [1] = LAYOUT_numberpad_5x4( -MO(1), KC_NUM, MO(2), KC_CALC, -KC_HOME, KC_UP, KC_PGUP, -KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, -KC_END, KC_DOWN, KC_PGDN, -QK_RBT, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_numberpad_5x4( -KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, -RGB_TOG, RGB_SAI, KC_TRNS, -RGB_HUD, KC_TRNS, RGB_HUI, RGB_VAD, -KC_TRNS, RGB_SAD, KC_TRNS, -RGB_MOD, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT_numberpad_5x4( -KC_TRNS, KC_TRNS, KC_TRNS, 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 - ) - - -}; diff --git a/keyboards/czmao/dz19/readme.md b/keyboards/czmao/dz19/readme.md deleted file mode 100644 index 574042920e2..00000000000 --- a/keyboards/czmao/dz19/readme.md +++ /dev/null @@ -1,34 +0,0 @@ -# mao ds 17 - - -3D print case , taobao link below - -[link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) - - - make czmao/ds17:default - -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). - - - - -* Keyboard Maintainer: [CZMAO](https://github.com/smollchungus) -* Hardware Supported: *CZMAO* -* Hardware Availability: *CZMAO Keyboards* - -Make example for this keyboard (after setting up your build environment): - - make czmao/ds17r2:default - - - -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). - -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/czmao/mao60ansi/keyboard.json b/keyboards/czmao/mao60ansi/keyboard.json deleted file mode 100644 index b362d7fa4ae..00000000000 --- a/keyboards/czmao/mao60ansi/keyboard.json +++ /dev/null @@ -1,240 +0,0 @@ -{ - "keyboard_name": "mao_14_DS60_ansi", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "MAOKB", - "diode_direction": "COL2ROW", - "processor": "atmega32u4", - "bootloader": "caterina", - "usb": { - "vid": "0x4A14", - "pid": "0x4A14", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - - "mousekey": false, - "nkro": true, - "rgb_matrix": true, - "rgblight": false, - "encoder": false - }, - "dynamic_keymap": { - "layer_count": 4 - }, - - "bootmagic": { - "matrix" : [0,0] - }, - - - "matrix_pins": { - "cols": ["F0", "B2", "B3", "C6", "B6", "B4","D7","D6","D4","D5","D3","D2","D1","D0"], - "rows": ["B0", "B1", "B7", "C7", "F7"] - }, - - "ws2812": { - "pin": "B5" - }, - - - "rgb_matrix": { - "max_brightness":180, - "default":{ - "animation":"cycle_all" - }, - - "animations": { - "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, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": 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, - "typing_heatmap": 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 - }, - "driver": "ws2812", - "layout": [ - {"flags":1, "x":0, "y":0, "matrix": [0,0] }, - {"flags":1, "x":17, "y":0, "matrix": [0,1] }, - {"flags":1, "x":34, "y":0, "matrix": [0,2] }, - {"flags":1, "x":51, "y":0, "matrix": [0,3] }, - {"flags":1, "x":68, "y":0, "matrix": [0,4] }, - {"flags":1, "x":85, "y":0, "matrix": [0,5] }, - {"flags":1, "x":102, "y":0, "matrix": [0,6] }, - {"flags":1, "x":119, "y":0, "matrix": [0,7] }, - {"flags":1, "x":136, "y":0, "matrix": [0,8] }, - {"flags":1, "x":153, "y":0, "matrix": [0,9] }, - {"flags":1, "x":170, "y":0, "matrix": [0,10] }, - {"flags":1, "x":187, "y":0, "matrix": [0,11] }, - {"flags":1, "x":204, "y":0, "matrix": [0,12] }, - {"flags":1, "x":224, "y":0, "matrix": [0,13] }, - - {"flags":1, "x":0, "y":13, "matrix": [1,0] }, - {"flags":1, "x":17, "y":13, "matrix": [1,1] }, - {"flags":1, "x":34, "y":13, "matrix": [1,2] }, - {"flags":1, "x":51, "y":13, "matrix": [1,3] }, - {"flags":1, "x":68, "y":13, "matrix": [1,4] }, - {"flags":1, "x":85, "y":13, "matrix": [1,5] }, - {"flags":1, "x":102, "y":13, "matrix": [1,6] }, - {"flags":1, "x":119, "y":13, "matrix": [1,7] }, - {"flags":1, "x":136, "y":13, "matrix": [1,8] }, - {"flags":1, "x":153, "y":13, "matrix": [1,9] }, - {"flags":1, "x":170, "y":13, "matrix": [1,10] }, - {"flags":1, "x":187, "y":13, "matrix": [1,11] }, - {"flags":1, "x":202, "y":13, "matrix": [1,12] }, - {"flags":1, "x":224, "y":13, "matrix": [1,13] }, - - {"flags":1, "x":0, "y":26, "matrix": [2,0] }, - {"flags":1, "x":19, "y":26, "matrix": [2,1] }, - {"flags":1, "x":38, "y":26, "matrix": [2,2] }, - {"flags":1, "x":57, "y":26, "matrix": [2,3] }, - {"flags":1, "x":76, "y":26, "matrix": [2,4] }, - {"flags":1, "x":95, "y":26, "matrix": [2,5] }, - {"flags":1, "x":114, "y":26, "matrix": [2,6] }, - {"flags":1, "x":133, "y":26, "matrix": [2,7] }, - {"flags":1, "x":152, "y":26, "matrix": [2,8] }, - {"flags":1, "x":171, "y":26, "matrix": [2,9] }, - {"flags":1, "x":190, "y":26, "matrix": [2,10] }, - {"flags":1, "x":209, "y":26, "matrix": [2,11] }, - {"flags":1, "x":224, "y":26, "matrix": [2,12] }, - - {"flags":1, "x":0, "y":38, "matrix": [3,0] }, - {"flags":1, "x":20, "y":38, "matrix": [3,1] }, - {"flags":1, "x":40, "y":38, "matrix": [3,2] }, - {"flags":1, "x":60, "y":38, "matrix": [3,3] }, - {"flags":1, "x":80, "y":38, "matrix": [3,4] }, - {"flags":1, "x":100, "y":38, "matrix": [3,5] }, - {"flags":1, "x":120, "y":38, "matrix": [3,6] }, - {"flags":1, "x":140, "y":38, "matrix": [3,7] }, - {"flags":1, "x":160, "y":38, "matrix": [3,8] }, - {"flags":1, "x":180, "y":38, "matrix": [3,9] }, - {"flags":1, "x":200, "y":38, "matrix": [3,10] }, - {"flags":1, "x":224, "y":38, "matrix": [3,11] }, - - {"flags":1, "x":0, "y":51, "matrix": [4,0] }, - {"flags":1, "x":20, "y":51, "matrix": [4,1] }, - {"flags":1, "x":40, "y":51, "matrix": [4,2] }, - {"flags":1, "x":60, "y":51, "matrix": [4,5] }, - {"flags":1, "x":80, "y":51, "matrix": [4,5] }, - {"flags":1, "x":100, "y":51, "matrix": [4,5] }, - {"flags":1, "x":120, "y":51, "matrix": [4,5] }, - {"flags":1, "x":140, "y":51, "matrix": [4,5] }, - {"flags":1, "x":160, "y":51, "matrix": [4,8] }, - {"flags":1, "x":180, "y":51, "matrix": [4,9] }, - {"flags":1, "x":200, "y":51, "matrix": [4,10] }, - {"flags":1, "x":220, "y":51, "matrix": [4,11] } - ], - "sleep": true - }, - - "layouts": { - "LAYOUT_60_ansi": { - "layout": [ - {"label": "GRV", "x": 0, "y": 0, "matrix": [0, 0]}, - {"label": "!", "x": 1, "y": 0, "matrix": [0, 1]}, - {"label": "@", "x": 2, "y": 0, "matrix": [0, 2]}, - {"label": "#", "x": 3, "y": 0, "matrix": [0, 3]}, - {"label": "$", "x": 4, "y": 0, "matrix": [0, 4]}, - {"label": "%", "x": 5, "y": 0, "matrix": [0, 5]}, - {"label": "^", "x": 6, "y": 0, "matrix": [0, 6]}, - {"label": "&", "x": 7, "y": 0, "matrix": [0, 7]}, - {"label": "*", "x": 8, "y": 0, "matrix": [0, 8]}, - {"label": "(", "x": 9, "y": 0, "matrix": [0, 9]}, - {"label": ")", "x": 10, "y": 0, "matrix": [0, 10]}, - {"label": "_", "x": 11, "y": 0, "matrix": [0, 11]}, - {"label": "+", "x": 12, "y": 0, "matrix": [0, 12]}, - {"label": "Back", "x": 13, "y": 0, "w": 2, "h": 0.5, "matrix": [0, 13]}, - - {"label": "Tab", "x": 0, "y": 1, "w": 1.5, "matrix": [1, 0]}, - {"label": "Q", "x": 1.5, "y": 1, "matrix": [1, 1]}, - {"label": "W", "x": 2.5, "y": 1, "matrix": [1, 2]}, - {"label": "E", "x": 3.5, "y": 1, "matrix": [1, 3]}, - {"label": "R", "x": 4.5, "y": 1, "matrix": [1, 4]}, - {"label": "T", "x": 5.5, "y": 1, "matrix": [1, 5]}, - {"label": "Y", "x": 6.5, "y": 1, "matrix": [1, 6]}, - {"label": "U", "x": 7.5, "y": 1, "matrix": [1, 7]}, - {"label": "I", "x": 8.5, "y": 1, "matrix": [1, 8]}, - {"label": "O", "x": 9.5, "y": 1, "matrix": [1, 9]}, - {"label": "P", "x": 10.5, "y": 1, "matrix": [1, 10]}, - {"label": "{", "x": 11.5, "y": 1, "matrix": [1, 11]}, - {"label": "}", "x": 12.5, "y": 1, "matrix": [1, 12]}, - {"label": "|", "x": 13.5, "y": 1, "w": 1.5, "matrix": [1, 13]}, - - - {"label": "Caps Lock", "x": 0, "y": 2, "w": 1.75, "matrix": [2, 0]}, - {"label": "A", "x": 1.75, "y": 2, "matrix": [2, 1]}, - {"label": "S", "x": 2.75, "y": 2, "matrix": [2, 2]}, - {"label": "D", "x": 3.75, "y": 2, "matrix": [2, 3]}, - {"label": "F", "x": 4.75, "y": 2, "matrix": [2, 4]}, - {"label": "G", "x": 5.75, "y": 2, "matrix": [2, 5]}, - {"label": "H", "x": 6.75, "y": 2, "matrix": [2, 6]}, - {"label": "J", "x": 7.75, "y": 2, "matrix": [2, 7]}, - {"label": "K", "x": 8.75, "y": 2, "matrix": [2, 8]}, - {"label": "L", "x": 9.75, "y": 2, "matrix": [2, 9]}, - {"label": ":", "x": 10.75, "y": 2, "matrix": [2, 10]}, - {"label": "\"", "x": 11.75, "y": 2, "matrix": [2, 11]}, - {"label": "Enter", "x": 12.75, "y": 2, "w": 2.25, "matrix": [2, 12]}, - - - {"label": "Shift", "x": 0, "y": 3, "w": 2.25, "matrix": [3, 0]}, - {"label": "Z", "x": 2, "y": 3, "matrix": [3, 1]}, - {"label": "X", "x": 3, "y": 3, "matrix": [3, 2]}, - {"label": "C", "x": 4, "y": 3, "matrix": [3, 3]}, - {"label": "V", "x": 5, "y": 3, "matrix": [3, 4]}, - {"label": "B", "x": 6, "y": 3, "matrix": [3, 5]}, - {"label": "N", "x": 7, "y": 3, "matrix": [3, 6]}, - {"label": "M", "x": 8, "y": 3, "matrix": [3, 7]}, - {"label": "<", "x": 9, "y": 3, "matrix": [3, 8]}, - {"label": ">", "x": 10, "y": 3, "matrix": [3, 9]}, - {"label": "?", "x": 11, "y": 3, "matrix": [3, 10]}, - {"label": "Shift", "x": 12.75, "y": 3, "w": 2.75, "matrix": [3, 11]}, - - {"label": "Ctrl", "x": 0, "y": 4, "w": 1.25, "matrix": [4, 0]}, - {"label": "Win", "x": 1.25, "y": 4, "w": 1.25, "matrix": [4, 1]}, - {"label": "Alt", "x": 2.5, "y": 4, "w": 1.25, "matrix": [4, 2]}, - {"label": "Space", "x": 3.75, "y": 4, "w": 6.25, "matrix": [4, 5]}, - - {"label": "Alt", "x": 11.25, "y": 4, "w": 1.25, "matrix": [4, 8]}, - {"label": "Rwin", "x": 12.5, "y": 4, "w": 1.25, "matrix": [4, 9]}, - {"label": "Fn", "x": 15.25, "y": 4, "matrix": [4, 10]}, - {"label": "Rctl", "x": 16.25, "y": 4, "matrix": [4, 11]} - - - - ] - } - } - - } diff --git a/keyboards/czmao/mao60ansi/keymaps/default/keymap.c b/keyboards/czmao/mao60ansi/keymaps/default/keymap.c deleted file mode 100644 index 2fb33ff98c8..00000000000 --- a/keyboards/czmao/mao60ansi/keymaps/default/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_60_ansi( - 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_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, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, MO(1), KC_RCTL), - [1] = LAYOUT_60_ansi( - 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_DEL, - KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, QK_LOCK, KC_TRNS, KC_TRNS, MO(2), KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_60_ansi( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, 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_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, KC_TRNS, 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/czmao/mao60ansi/readme.md b/keyboards/czmao/mao60ansi/readme.md deleted file mode 100644 index 0e9334202e5..00000000000 --- a/keyboards/czmao/mao60ansi/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# mao ds 17 - - - make czmao/ds17:default - -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). diff --git a/keyboards/czmao/tab_hhkb_v2/keyboard.json b/keyboards/czmao/tab_hhkb_v2/keyboard.json deleted file mode 100644 index 0459c413b33..00000000000 --- a/keyboards/czmao/tab_hhkb_v2/keyboard.json +++ /dev/null @@ -1,252 +0,0 @@ -{ - "keyboard_name": "tab_hacking_v2", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "MAOKB", - "diode_direction": "COL2ROW", - "processor": "atmega32u4", - "bootloader": "caterina", - "usb": { - "vid": "0x4A13", - "pid": "0x4A13", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - - "mousekey": false, - "nkro": true, - "rgb_matrix": true, - "rgblight": false, - "encoder": false - }, - "dynamic_keymap": { - "layer_count": 4 - }, - - "bootmagic": { - "matrix" : [0,0] - }, - - - "matrix_pins": { - "cols": ["B0", "F0", "B1", "B2", "B5", "E2","D6","B6","D7","B4"], - "rows": ["E6", "D2", "D0", "D4", "C7", "B7", "B3","C6","D1"] - }, - - "ws2812": { - "pin": "F1" - }, - - - "rgb_matrix": { - "max_brightness":180, - "default":{ - "animation":"typing_heatmap" - }, - - "animations": { - "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, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": 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, - "typing_heatmap": 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 - }, - "driver": "ws2812", - "layout": [ - {"flags":1, "x":6, "y":0, "matrix": [0,0] }, -{"flags":1, "x":0, "y":0, "matrix": [0,1] }, -{"flags":1, "x":44, "y":0, "matrix": [1,0] }, -{"flags":1, "x":57, "y":0, "matrix": [1,1] }, -{"flags":1, "x":69, "y":0, "matrix": [2,0] }, -{"flags":1, "x":88, "y":0, "matrix": [2,1] }, -{"flags":1, "x":101, "y":0, "matrix": [3,0] }, -{"flags":1, "x":114, "y":0, "matrix": [3,1] }, -{"flags":1, "x":126, "y":0, "matrix": [4,0] }, -{"flags":1, "x":145, "y":0, "matrix": [4,1] }, -{"flags":1, "x":158, "y":0, "matrix": [5,0] }, -{"flags":1, "x":170, "y":0, "matrix": [5,1] }, -{"flags":1, "x":183, "y":0, "matrix": [6,0] }, -{"flags":1, "x":199, "y":0, "matrix": [6,1] }, -{"flags":1, "x":211, "y":0, "matrix": [7,1] }, - -{"flags":1, "x":0, "y":13, "matrix": [0,3] }, -{"flags":1, "x":15, "y":13, "matrix": [1,2] }, -{"flags":1, "x":30, "y":13, "matrix": [1,3] }, -{"flags":1, "x":45, "y":13, "matrix": [2,2] }, -{"flags":1, "x":60, "y":13, "matrix": [2,3] }, -{"flags":1, "x":75, "y":13, "matrix": [3,2] }, -{"flags":1, "x":90, "y":13, "matrix": [3,3] }, -{"flags":1, "x":105, "y":13, "matrix": [4,2] }, -{"flags":1, "x":110, "y":13, "matrix": [4,3] }, -{"flags":1, "x":125, "y":13, "matrix": [5,2] }, -{"flags":1, "x":140, "y":13, "matrix": [5,3] }, -{"flags":1, "x":155, "y":13, "matrix": [6,2] }, -{"flags":1, "x":160, "y":13, "matrix": [6,3] }, -{"flags":1, "x":175, "y":13, "matrix": [7,2] }, - -{"flags":1, "x":9, "y":26, "matrix": [0,5] }, -{"flags":1, "x":25, "y":26, "matrix": [1,4] }, -{"flags":1, "x":38, "y":26, "matrix": [1,5] }, -{"flags":1, "x":50, "y":26, "matrix": [2,4] }, -{"flags":1, "x":63, "y":26, "matrix": [2,5] }, -{"flags":1, "x":76, "y":26, "matrix": [3,4] }, -{"flags":1, "x":88, "y":26, "matrix": [3,5] }, -{"flags":1, "x":101, "y":26, "matrix": [4,4] }, -{"flags":1, "x":114, "y":26, "matrix": [4,5] }, -{"flags":1, "x":126, "y":26, "matrix": [5,4] }, -{"flags":1, "x":139, "y":26, "matrix": [5,5] }, -{"flags":1, "x":151, "y":26, "matrix": [6,4] }, -{"flags":1, "x":164, "y":26, "matrix": [7,5] }, - - - - -{"flags":1, "x":11, "y":38, "matrix": [0,7] }, -{"flags":1, "x":28, "y":38, "matrix": [1,7] }, -{"flags":1, "x":41, "y":38, "matrix": [2,6] }, -{"flags":1, "x":54, "y":38, "matrix": [2,7] }, -{"flags":1, "x":66, "y":38, "matrix": [3,6] }, -{"flags":1, "x":79, "y":38, "matrix": [3,7] }, -{"flags":1, "x":91, "y":38, "matrix": [4,6] }, -{"flags":1, "x":104, "y":38, "matrix": [4,7] }, -{"flags":1, "x":117, "y":38, "matrix": [5,6] }, -{"flags":1, "x":129, "y":38, "matrix": [5,7] }, -{"flags":1, "x":142, "y":38, "matrix": [6,6] }, -{"flags":1, "x":155, "y":38, "matrix": [7,7] }, -{"flags":1, "x":175, "y":38, "matrix": [8,6] }, -{"flags":1, "x":14, "y":51, "matrix": [7,3] }, - -{"flags":1, "x":35, "y":51, "matrix": [0,9] }, -{"flags":1, "x":47, "y":51, "matrix": [1,8] }, -{"flags":1, "x":60, "y":51, "matrix": [1,9] }, -{"flags":1, "x":73, "y":51, "matrix": [2,9] }, -{"flags":1, "x":85, "y":51, "matrix": [5,9] }, -{"flags":1, "x":98, "y":51, "matrix": [6,9] }, -{"flags":1, "x":110, "y":51, "matrix": [7,9] }, -{"flags":1, "x":123, "y":51, "matrix": [8,8] }, -{"flags":1, "x":136, "y":51, "matrix": [8,9] } - - - - - - - ], - "sleep": true - }, - - "layouts": { - "LAYOUT": { - "layout": [ - {"label": "GRV", "x": 0, "y": 1.25, "matrix": [0, 1]}, - {"label": "!", "x": 1, "y": 0, "matrix": [1, 0]}, - {"label": "@", "x": 2, "y": 0, "matrix": [1, 1]}, - {"label": "#", "x": 3, "y": 0, "matrix": [2, 0]}, - {"label": "$", "x": 4, "y": 0, "matrix": [2, 1]}, - {"label": "%", "x": 5, "y": 0, "matrix": [3, 0]}, - {"label": "^", "x": 6, "y": 0, "matrix": [3, 1]}, - {"label": "&", "x": 7, "y": 0, "matrix": [4, 0]}, - {"label": "*", "x": 8, "y": 0, "matrix": [4, 1]}, - {"label": "(", "x": 9, "y": 0, "matrix": [5, 0]}, - {"label": ")", "x": 10, "y": 0, "matrix": [5, 1]}, - {"label": "_", "x": 11, "y": 0, "matrix": [6, 0]}, - {"label": "+", "x": 12, "y": 0, "matrix": [6, 1]}, - {"label": "Backspace", "x": 13, "y": 0, "w": 2, "h": 0.5, "matrix": [7, 1]}, - - {"label": "Tab", "x": 0, "y": 1, "w": 1.5, "matrix": [0, 3]}, - {"label": "Q", "x": 1.5, "y": 1, "matrix": [1, 2]}, - {"label": "W", "x": 2.5, "y": 1, "matrix": [1, 3]}, - {"label": "E", "x": 3.5, "y": 1, "matrix": [2, 2]}, - {"label": "R", "x": 4.5, "y": 1, "matrix": [2, 3]}, - {"label": "T", "x": 5.5, "y": 1, "matrix": [3, 2]}, - {"label": "Y", "x": 6.5, "y": 1, "matrix": [3, 3]}, - {"label": "U", "x": 7.5, "y": 1, "matrix": [4, 2]}, - {"label": "I", "x": 8.5, "y": 1, "matrix": [4, 3]}, - {"label": "O", "x": 9.5, "y": 1, "matrix": [5, 2]}, - {"label": "P", "x": 10.5, "y": 1, "matrix": [5, 3]}, - {"label": "{", "x": 11.5, "y": 1, "matrix": [6, 2]}, - {"label": "}", "x": 12.5, "y": 1, "matrix": [6, 3]}, - {"label": "|", "x": 13.5, "y": 1, "w": 1.5, "matrix": [7, 2]}, - - - {"label": "Caps Lock", "x": 0, "y": 2, "w": 1.75, "matrix": [0, 5]}, - {"label": "A", "x": 1.75, "y": 2, "matrix": [1, 4]}, - {"label": "S", "x": 2.75, "y": 2, "matrix": [1, 5]}, - {"label": "D", "x": 3.75, "y": 2, "matrix": [2, 4]}, - {"label": "F", "x": 4.75, "y": 2, "matrix": [2, 5]}, - {"label": "G", "x": 5.75, "y": 2, "matrix": [3, 4]}, - {"label": "H", "x": 6.75, "y": 2, "matrix": [3, 5]}, - {"label": "J", "x": 7.75, "y": 2, "matrix": [4, 4]}, - {"label": "K", "x": 8.75, "y": 2, "matrix": [4, 5]}, - {"label": "L", "x": 9.75, "y": 2, "matrix": [5, 4]}, - {"label": ":", "x": 10.75, "y": 2, "matrix": [5, 5]}, - {"label": "\"", "x": 11.75, "y": 2, "matrix": [6, 4]}, - {"label": "Enter", "x": 12.75, "y": 2, "w": 2.25, "matrix": [7, 5]}, - - - {"label": "Shift", "x": 0, "y": 3, "w": 2.25, "matrix": [0, 7]}, - {"label": "Z", "x": 2, "y": 3, "matrix": [1, 7]}, - {"label": "X", "x": 3, "y": 3, "matrix": [2, 6]}, - {"label": "C", "x": 4, "y": 3, "matrix": [2, 7]}, - {"label": "V", "x": 5, "y": 3, "matrix": [3, 6]}, - {"label": "B", "x": 6, "y": 3, "matrix": [3, 7]}, - {"label": "N", "x": 7, "y": 3, "matrix": [4, 6]}, - {"label": "M", "x": 8, "y": 3, "matrix": [4, 7]}, - {"label": "<", "x": 9, "y": 3, "matrix": [5, 6]}, - {"label": ">", "x": 10, "y": 3, "matrix": [5, 7]}, - {"label": "?", "x": 11, "y": 3, "matrix": [6, 6]}, - {"label": "Shift", "x": 12.75, "y": 3, "w": 2.75, "matrix": [7, 7]}, - {"label": "UP", "x": 13.75, "y": 3, "matrix": [8, 6]}, - {"label": "Delete", "x": 13.75, "y": 3, "matrix": [7, 3]}, - - {"label": "Ctrl", "x": 0, "y": 4, "w": 1.25, "matrix": [0, 9]}, - {"label": "Win", "x": 1.25, "y": 4, "w": 1.25, "matrix": [1, 8]}, - {"label": "Alt", "x": 2.5, "y": 4, "w": 1.25, "matrix": [1, 9]}, - {"label": "Space", "x": 3.75, "y": 4, "w": 6.25, "matrix": [2, 9]}, - - {"label": "Alt", "x": 11.25, "y": 4, "w": 1.25, "matrix": [5, 9]}, - {"label": "Fn", "x": 12.5, "y": 4, "w": 1.25, "matrix": [6, 9]}, - {"label": "Left", "x": 15.25, "y": 4, "matrix": [7, 9]}, - {"label": "Down", "x": 16.25, "y": 4, "matrix": [8, 8]}, - {"label": "Right", "x": 17.25, "y": 4, "matrix": [8, 9]} - - - - ] - } - } - - } diff --git a/keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c b/keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c deleted file mode 100644 index a13922b7701..00000000000 --- a/keyboards/czmao/tab_hhkb_v2/keymaps/default/keymap.c +++ /dev/null @@ -1,49 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -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_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_APP, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - [1] = 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_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, RGB_MOD, RGB_MOD, MO(2), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT) -}; - - - diff --git a/keyboards/czmao/tab_hhkb_v2/readme.md b/keyboards/czmao/tab_hhkb_v2/readme.md deleted file mode 100644 index 0e9334202e5..00000000000 --- a/keyboards/czmao/tab_hhkb_v2/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# mao ds 17 - - - make czmao/ds17:default - -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). From b2b4d39f3376b0efe2064a7713049cb58643ee44 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 3 Nov 2024 20:59:07 +0800 Subject: [PATCH 29/39] delete sw65 --- keyboards/swagkeys/sw65/keyboard.json | 122 ------------------ .../swagkeys/sw65/keymaps/default/keymap.c | 42 ------ keyboards/swagkeys/sw65/readme.md | 6 - 3 files changed, 170 deletions(-) delete mode 100644 keyboards/swagkeys/sw65/keyboard.json delete mode 100644 keyboards/swagkeys/sw65/keymaps/default/keymap.c delete mode 100644 keyboards/swagkeys/sw65/readme.md diff --git a/keyboards/swagkeys/sw65/keyboard.json b/keyboards/swagkeys/sw65/keyboard.json deleted file mode 100644 index 8c3d9066c35..00000000000 --- a/keyboards/swagkeys/sw65/keyboard.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "keyboard_name": "swagkeys_sw65", - "manufacturer": "CZMAO", - "url": "NONE", - "maintainer": "MAOKB", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4A15", - "pid": "0x4A15", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "nkro": true - - }, - "dynamic_keymap": { - "layer_count": 4 - }, - - "bootmagic": { - "matrix" : [0,0] - }, - - "indicators": { - "caps_lock" : "B15", - "on_state" : 0 - }, - - - - "matrix_pins": { - "cols": ["B7", "B6", "B5", "B4", "B3", "A15", "B1", "B8", "C14", "A6", "A5" , "A4" , "A3" , "B14" , "A1", "A0"], - "rows": ["B9", "C13", "B12", "B11", "C15"] - }, - - "layouts": { - "LAYOUT_60_ansi": { - "layout": [ - {"label": "GRV", "x": 0, "y": 0, "matrix": [0, 0]}, - {"label": "!", "x": 1, "y": 0, "matrix": [0, 1]}, - {"label": "@", "x": 2, "y": 0, "matrix": [0, 2]}, - {"label": "#", "x": 3, "y": 0, "matrix": [0, 3]}, - {"label": "$", "x": 4, "y": 0, "matrix": [0, 4]}, - {"label": "%", "x": 5, "y": 0, "matrix": [0, 5]}, - {"label": "^", "x": 6, "y": 0, "matrix": [0, 6]}, - {"label": "&", "x": 7, "y": 0, "matrix": [0, 7]}, - {"label": "*", "x": 8, "y": 0, "matrix": [0, 8]}, - {"label": "(", "x": 9, "y": 0, "matrix": [0, 9]}, - {"label": ")", "x": 10, "y": 0, "matrix": [0, 10]}, - {"label": "_", "x": 11, "y": 0, "matrix": [0, 11]}, - {"label": "+", "x": 12, "y": 0, "matrix": [0, 12]}, - {"label": "Backspace", "x": 13.5, "y": 0, "matrix": [0, 13 ]}, - {"label": "BSLS", "x": 13, "y": 0, "w": 2, "matrix": [0, 14 ]}, - {"label": "Backspace", "x": 14, "y": 0, "matrix": [0, 15 ]}, - {"label": "Del", "x": 15, "y": 0, "matrix": [1, 14]}, - - {"label": "Tab", "x": 0, "y": 1, "w": 1.5, "matrix": [1, 0]}, - {"label": "Q", "x": 1.5, "y": 1, "matrix": [1, 1]}, - {"label": "W", "x": 2.5, "y": 1, "matrix": [1, 2]}, - {"label": "E", "x": 3.5, "y": 1, "matrix": [1, 3]}, - {"label": "R", "x": 4.5, "y": 1, "matrix": [1, 4]}, - {"label": "T", "x": 5.5, "y": 1, "matrix": [1, 5]}, - {"label": "Y", "x": 6.5, "y": 1, "matrix": [1, 6]}, - {"label": "U", "x": 7.5, "y": 1, "matrix": [1, 7]}, - {"label": "I", "x": 8.5, "y": 1, "matrix": [1, 8]}, - {"label": "O", "x": 9.5, "y": 1, "matrix": [1, 9]}, - {"label": "P", "x": 10.5, "y": 1, "matrix": [1, 10]}, - {"label": "{", "x": 11.5, "y": 1, "matrix": [1, 11]}, - {"label": "}", "x": 12.5, "y": 1, "matrix": [1, 12]}, - {"label": "|", "x": 13.5, "y": 1, "w": 1.5, "matrix": [1, 13]}, - {"label": "Home", "x": 15, "y": 1, "matrix": [1, 15]}, - - {"label": "Caps Lock", "x": 0, "y": 2, "w": 1.75, "matrix": [2, 0]}, - {"label": "A", "x": 1.75, "y": 2, "matrix": [2, 1]}, - {"label": "S", "x": 2.75, "y": 2, "matrix": [2, 2]}, - {"label": "D", "x": 3.75, "y": 2, "matrix": [2, 3]}, - {"label": "F", "x": 4.75, "y": 2, "matrix": [2, 4]}, - {"label": "G", "x": 5.75, "y": 2, "matrix": [2, 5]}, - {"label": "H", "x": 6.75, "y": 2, "matrix": [2, 6]}, - {"label": "J", "x": 7.75, "y": 2, "matrix": [2, 7]}, - {"label": "K", "x": 8.75, "y": 2, "matrix": [2, 8]}, - {"label": "L", "x": 9.75, "y": 2, "matrix": [2, 9]}, - {"label": ":", "x": 10.75, "y": 2, "matrix": [2, 10]}, - {"label": "\"", "x": 11.75, "y": 2, "matrix": [2, 11]}, - {"label": "Enter", "x": 12.75, "y": 2, "w": 2.25, "matrix": [2, 12]}, - {"label": "PGUP", "x": 15, "y": 2, "matrix": [2, 15]}, - - {"label": "Shift", "x": 0, "y": 3, "w": 2.25, "matrix": [3, 0]}, - {"label": "Z", "x": 2.25, "y": 3, "matrix": [3, 1]}, - {"label": "X", "x": 3.25, "y": 3, "matrix": [3, 2]}, - {"label": "C", "x": 4.25, "y": 3, "matrix": [3, 3]}, - {"label": "V", "x": 5.25, "y": 3, "matrix": [3, 4]}, - {"label": "B", "x": 6.25, "y": 3, "matrix": [3, 5]}, - {"label": "N", "x": 7.25, "y": 3, "matrix": [3, 6]}, - {"label": "M", "x": 8.25, "y": 3, "matrix": [3, 7]}, - {"label": "<", "x": 9.25, "y": 3, "matrix": [3, 8]}, - {"label": ">", "x": 10.25, "y": 3, "matrix": [3, 9]}, - {"label": "?", "x": 11.25, "y": 3, "matrix": [3, 10]}, - {"label": "Shift", "x": 12.25, "y": 3, "w": 1.75, "matrix": [3, 11]}, - {"label": "UP", "x": 14, "y": 3, "matrix": [3, 14]}, - {"label": "PGDN", "x": 15, "y": 3, "matrix": [3, 15]}, - - {"label": "Ctrl", "x": 0, "y": 4, "w": 1.25, "matrix": [4, 0]}, - {"label": "Win", "x": 1.25, "y": 4, "w": 1.25, "matrix": [4, 1]}, - {"label": "Alt", "x": 2.5, "y": 4, "w": 1.25, "matrix": [4, 2]}, - {"label": "Space", "x": 3.75, "y": 4, "w": 6.25, "matrix": [4, 5]}, - {"label": "Alt", "x": 10, "y": 4, "w": 1.25, "matrix": [4, 9]}, - {"label": "Fn", "x": 11.5, "y": 4, "w": 1.25, "matrix": [4, 10]}, - {"label": "Left", "x": 13, "y": 4, "matrix": [4, 11]}, - {"label": "Down", "x": 14, "y": 4, "matrix": [4, 14]}, - {"label": "Right", "x": 15, "y": 4, "matrix": [4, 15]} - - - - ] - } - } - - } diff --git a/keyboards/swagkeys/sw65/keymaps/default/keymap.c b/keyboards/swagkeys/sw65/keymaps/default/keymap.c deleted file mode 100644 index 7c848cff327..00000000000 --- a/keyboards/swagkeys/sw65/keymaps/default/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako - -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 - - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - 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_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_HOME, - 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_PGUP, - 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_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT) - -}; - - - diff --git a/keyboards/swagkeys/sw65/readme.md b/keyboards/swagkeys/sw65/readme.md deleted file mode 100644 index 0e9334202e5..00000000000 --- a/keyboards/swagkeys/sw65/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# mao ds 17 - - - make czmao/ds17:default - -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). From 9cd8c802dfcc8a33c2949999472be653b55daa73 Mon Sep 17 00:00:00 2001 From: Micah Date: Sun, 3 Nov 2024 21:04:39 +0800 Subject: [PATCH 30/39] update readme --- keyboards/czmao/ds17r2/readme.md | 4 ++-- keyboards/czmao/ds17r3l/readme.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboards/czmao/ds17r2/readme.md b/keyboards/czmao/ds17r2/readme.md index 574042920e2..52dc6988763 100644 --- a/keyboards/czmao/ds17r2/readme.md +++ b/keyboards/czmao/ds17r2/readme.md @@ -1,4 +1,4 @@ -# mao ds 17 +# mao ds 17r2 3D print case , taobao link below @@ -6,7 +6,7 @@ [link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) - make czmao/ds17:default + make czmao/ds17r2:default 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). diff --git a/keyboards/czmao/ds17r3l/readme.md b/keyboards/czmao/ds17r3l/readme.md index 574042920e2..a09dfa69172 100644 --- a/keyboards/czmao/ds17r3l/readme.md +++ b/keyboards/czmao/ds17r3l/readme.md @@ -1,12 +1,12 @@ -# mao ds 17 +# mao ds 17r3l 3D print case , taobao link below -[link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) +[link](https://item.taobao.com/item.htm?ft=t&id=848078753675&spm=a21dvs.23580594.0.0.1d292c1bICfvhj&sku_properties=122216346%3A21959%3B122216808%3A10491261%3B211004089%3A34593035581) - make czmao/ds17:default + make czmao/ds17r3l:default 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). From cef68a422fd8d0eea50802b9a29eb4b84a2aafa0 Mon Sep 17 00:00:00 2001 From: Micah <45813290+micahyy@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:46:15 +0800 Subject: [PATCH 31/39] Update keyboards/czmao/ds17r2/keyboard.json Co-authored-by: jack --- keyboards/czmao/ds17r2/keyboard.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/keyboards/czmao/ds17r2/keyboard.json b/keyboards/czmao/ds17r2/keyboard.json index a793d4c4d62..1c531b14394 100644 --- a/keyboards/czmao/ds17r2/keyboard.json +++ b/keyboards/czmao/ds17r2/keyboard.json @@ -13,8 +13,6 @@ }, "features": { "bootmagic": true, - "command": true, - "console": true, "extrakey": true, "mousekey": true, "nkro": true, From 94a4a618a1384b5e8edf3911616480285d2419ff Mon Sep 17 00:00:00 2001 From: Micah <45813290+micahyy@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:46:42 +0800 Subject: [PATCH 32/39] Update keyboards/czmao/ds17r2/readme.md Co-authored-by: jack --- keyboards/czmao/ds17r2/readme.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/keyboards/czmao/ds17r2/readme.md b/keyboards/czmao/ds17r2/readme.md index 52dc6988763..f590466877c 100644 --- a/keyboards/czmao/ds17r2/readme.md +++ b/keyboards/czmao/ds17r2/readme.md @@ -1,27 +1,16 @@ # mao ds 17r2 - -3D print case , taobao link below - -[link](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) - - - make czmao/ds17r2:default - -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). - - - - * Keyboard Maintainer: [CZMAO](https://github.com/smollchungus) -* Hardware Supported: *CZMAO* -* Hardware Availability: *CZMAO Keyboards* +* Hardware Supported: DS17R2 PCB +* Hardware Availability: [Taobao](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) Make example for this keyboard (after setting up your build environment): make czmao/ds17r2:default +Flashing example for this keyboard: + make czmao/ds17r2:default:flash 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). From 3b49c6c8242922228503452aece318f01d9965c3 Mon Sep 17 00:00:00 2001 From: Micah <45813290+micahyy@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:47:07 +0800 Subject: [PATCH 33/39] Update keyboards/czmao/ds17r2/keymaps/default/keymap.c Co-authored-by: jack --- keyboards/czmao/ds17r2/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/czmao/ds17r2/keymaps/default/keymap.c b/keyboards/czmao/ds17r2/keymaps/default/keymap.c index f96229af930..3d33973f81c 100644 --- a/keyboards/czmao/ds17r2/keymaps/default/keymap.c +++ b/keyboards/czmao/ds17r2/keymaps/default/keymap.c @@ -38,7 +38,7 @@ KC_P1, KC_P2, KC_P3, KC_P0, KC_PDOT, KC_PENT ), [1] = LAYOUT_numberpad_5x4( -MO(1), KC_NUM, MO(2), KC_CALC, +KC_TRNS, KC_NUM, MO(2), KC_CALC, KC_HOME, KC_UP, KC_PGUP, KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, KC_END, KC_DOWN, KC_PGDN, From 21ce200089ab661bc61ae4a22f9dad39b475685e Mon Sep 17 00:00:00 2001 From: Micah <45813290+micahyy@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:49:16 +0800 Subject: [PATCH 34/39] Update keyboards/czmao/ds17r2/keymaps/default/keymap.c Co-authored-by: jack --- keyboards/czmao/ds17r2/keymaps/default/keymap.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/keyboards/czmao/ds17r2/keymaps/default/keymap.c b/keyboards/czmao/ds17r2/keymaps/default/keymap.c index 3d33973f81c..b67be2b7b17 100644 --- a/keyboards/czmao/ds17r2/keymaps/default/keymap.c +++ b/keyboards/czmao/ds17r2/keymaps/default/keymap.c @@ -50,13 +50,6 @@ RGB_TOG, RGB_SAI, KC_TRNS, RGB_HUD, KC_TRNS, RGB_HUI, RGB_VAD, KC_TRNS, RGB_SAD, KC_TRNS, RGB_MOD, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT_numberpad_5x4( -KC_TRNS, KC_TRNS, KC_TRNS, 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 ) From dac5b384b1691dbc75f89ff8f149dac40570aad4 Mon Sep 17 00:00:00 2001 From: Micah <45813290+micahyy@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:49:43 +0800 Subject: [PATCH 35/39] Update keyboards/czmao/ds17r2/keymaps/default/keymap.c Co-authored-by: jack --- .../czmao/ds17r2/keymaps/default/keymap.c | 30 ++----------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/keyboards/czmao/ds17r2/keymaps/default/keymap.c b/keyboards/czmao/ds17r2/keymaps/default/keymap.c index b67be2b7b17..1b9bf950d55 100644 --- a/keyboards/czmao/ds17r2/keymaps/default/keymap.c +++ b/keyboards/czmao/ds17r2/keymaps/default/keymap.c @@ -1,33 +1,7 @@ -/* -Copyright 2012,2013 Jun Wako - -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 . -*/ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later #include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -// enum custom_keycodes { -// QWERTY = SAFE_RANGE, -// LOWER, -// RAISE -// }; - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_numberpad_5x4( //1 2 3 4 From 11e01001b625524e8efcc857c49fbf41294149f0 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 4 Nov 2024 19:56:53 +0800 Subject: [PATCH 36/39] change layer1 --- keyboards/czmao/ds17r2/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/czmao/ds17r2/keymaps/default/keymap.c b/keyboards/czmao/ds17r2/keymaps/default/keymap.c index 1b9bf950d55..87c23f82f5b 100644 --- a/keyboards/czmao/ds17r2/keymaps/default/keymap.c +++ b/keyboards/czmao/ds17r2/keymaps/default/keymap.c @@ -16,7 +16,7 @@ KC_TRNS, KC_NUM, MO(2), KC_CALC, KC_HOME, KC_UP, KC_PGUP, KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, KC_END, KC_DOWN, KC_PGDN, -QK_RBT, KC_TRNS, KC_TRNS +KC_TRNS, KC_TRNS, KC_TRNS ), [2] = LAYOUT_numberpad_5x4( KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, From b158846dd2c64c9fe9c555bd0a58748fffaeff76 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 4 Nov 2024 20:02:05 +0800 Subject: [PATCH 37/39] format keyboard.json --- keyboards/czmao/ds17r2/keyboard.json | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/keyboards/czmao/ds17r2/keyboard.json b/keyboards/czmao/ds17r2/keyboard.json index 1c531b14394..bd931e7172c 100644 --- a/keyboards/czmao/ds17r2/keyboard.json +++ b/keyboards/czmao/ds17r2/keyboard.json @@ -21,19 +21,13 @@ "dynamic_keymap": { "layer_count": 8 }, - - - - "matrix_pins": { "cols": ["B12", "B14", "B15", "A8"], "rows": ["A9", "A10", "A15", "B3", "B4"] }, - "ws2812": { "pin": "B13" }, - "rgb_matrix": { "animations": { "gradient_left_right": true, @@ -101,7 +95,6 @@ ], "sleep": true }, - "layouts": { "LAYOUT_numberpad_5x4": { "layout": [ @@ -114,7 +107,6 @@ {"label":"P8","matrix": [ 1,1],"x":1,"y":1}, {"label":"P9","matrix": [ 1,2],"x":2,"y":1}, - {"label":"P4","matrix": [ 2,0],"x":2,"y":1}, {"label":"P5","matrix": [ 2,1],"x":3,"y":1}, {"label":"P6","matrix": [ 2,2],"x":4,"y":1}, @@ -124,14 +116,9 @@ {"label":"P2","matrix": [ 3,1],"x":1,"y":2}, {"label":"P3","matrix": [ 3,2],"x":2,"y":2}, - {"label":"P0","matrix": [ 4,0],"x":0,"y":3}, {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3}, {"label":"PENT","matrix": [ 3,3],"x":3,"y":2,"h":2} - - - - ] } } From 2d03adcceab196da569773ecef9e4a76e476bc1f Mon Sep 17 00:00:00 2001 From: Micah <45813290+micahyy@users.noreply.github.com> Date: Wed, 6 Nov 2024 21:28:43 +0800 Subject: [PATCH 38/39] Delete keyboards/.vscode/settings.json --- keyboards/.vscode/settings.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 keyboards/.vscode/settings.json diff --git a/keyboards/.vscode/settings.json b/keyboards/.vscode/settings.json deleted file mode 100644 index 114c50391a9..00000000000 --- a/keyboards/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "files.associations": { - "rev_a.h": "c" - } -} \ No newline at end of file From 49994e2ee71d20165fd154ee1fcac306f19f6dda Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 18 Nov 2024 05:06:21 +0800 Subject: [PATCH 39/39] Delete R2 --- keyboards/czmao/ds17r2/keyboard.json | 126 ------------------ .../czmao/ds17r2/keymaps/default/keymap.c | 30 ----- keyboards/czmao/ds17r2/readme.md | 23 ---- 3 files changed, 179 deletions(-) delete mode 100644 keyboards/czmao/ds17r2/keyboard.json delete mode 100644 keyboards/czmao/ds17r2/keymaps/default/keymap.c delete mode 100644 keyboards/czmao/ds17r2/readme.md diff --git a/keyboards/czmao/ds17r2/keyboard.json b/keyboards/czmao/ds17r2/keyboard.json deleted file mode 100644 index bd931e7172c..00000000000 --- a/keyboards/czmao/ds17r2/keyboard.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "keyboard_name": "mao_11_DS17R2_A14", - "manufacturer": "CZMAO", - "url": "https://github.com/micahyy/czmao/tree/main/ds17_solder", - "maintainer": "MAOKB", - "diode_direction": "COL2ROW", - "processor": "STM32F103", - "bootloader": "stm32duino", - "usb": { - "vid": "0x4A14", - "pid": "0x4A14", - "device_version": "1.0.0" - }, - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": true - }, - "dynamic_keymap": { - "layer_count": 8 - }, - "matrix_pins": { - "cols": ["B12", "B14", "B15", "A8"], - "rows": ["A9", "A10", "A15", "B3", "B4"] - }, - "ws2812": { - "pin": "B13" - }, - "rgb_matrix": { - "animations": { - "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, - "rainbow_moving_chevron": true, - "cycle_out_in": true, - "cycle_out_in_dual": 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, - "typing_heatmap": 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 - }, - "driver": "ws2812", - "max_brightness":180, - "layout": [ - { "flags": 2, "matrix": [0, 0], "x": 0, "y": 0 }, - { "flags": 2, "matrix": [0, 1], "x": 75, "y": 0 }, - { "flags": 2, "matrix": [0, 2], "x": 150, "y": 0 }, - { "flags": 2, "matrix": [0, 3], "x": 224, "y": 0 }, - - { "flags": 2, "matrix": [1, 3], "x": 224, "y": 32 }, - { "flags": 2, "matrix": [3, 3], "x": 224, "y": 50 }, - { "flags": 2, "matrix": [4, 2], "x": 150, "y": 64 }, - { "flags": 2, "matrix": [4, 0], "x": 100, "y": 64 }, - - { "flags": 2, "matrix": [3, 0], "x": 0, "y": 48 }, - { "flags": 2, "matrix": [2, 0], "x": 0, "y": 32 }, - { "flags": 2, "matrix": [1, 0], "x": 0, "y": 16 }, - { "flags": 2, "matrix": [1, 1], "x": 75, "y": 16 }, - - { "flags": 2, "matrix": [1, 2], "x": 150, "y": 16 }, - { "flags": 2, "matrix": [2, 2], "x": 150, "y": 32 }, - { "flags": 2, "matrix": [3, 2], "x": 150, "y": 48 }, - { "flags": 2, "matrix": [3, 1], "x": 75, "y": 48 }, - - { "flags": 2, "matrix": [2, 1], "x": 75, "y": 32 } - ], - "sleep": true - }, - "layouts": { - "LAYOUT_numberpad_5x4": { - "layout": [ - {"label":"FN","matrix": [ 0,0],"x":0,"y":0}, - {"label":"PSLS","matrix": [ 0,1],"x":1,"y":0}, - {"label":"PAST","matrix": [ 0,2],"x":2,"y":0}, - {"label":"PMNS","matrix": [ 0,3],"x":3,"y":0}, - - {"label":"P7","matrix": [ 1,0],"x":0,"y":1}, - {"label":"P8","matrix": [ 1,1],"x":1,"y":1}, - {"label":"P9","matrix": [ 1,2],"x":2,"y":1}, - - {"label":"P4","matrix": [ 2,0],"x":2,"y":1}, - {"label":"P5","matrix": [ 2,1],"x":3,"y":1}, - {"label":"P6","matrix": [ 2,2],"x":4,"y":1}, - {"label":"PPLS","matrix": [ 1,3],"x":3,"y":1,"h":2}, - - {"label":"P1","matrix": [ 3,0],"x":0,"y":2}, - {"label":"P2","matrix": [ 3,1],"x":1,"y":2}, - {"label":"P3","matrix": [ 3,2],"x":2,"y":2}, - - {"label":"P0","matrix": [ 4,0],"x":0,"y":3}, - {"label":"PDOT","matrix": [ 4,2],"x":1,"y":3}, - {"label":"PENT","matrix": [ 3,3],"x":3,"y":2,"h":2} - ] - } - } - - } diff --git a/keyboards/czmao/ds17r2/keymaps/default/keymap.c b/keyboards/czmao/ds17r2/keymaps/default/keymap.c deleted file mode 100644 index 87c23f82f5b..00000000000 --- a/keyboards/czmao/ds17r2/keymaps/default/keymap.c +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2024 QMK -// SPDX-License-Identifier: GPL-2.0-or-later -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_numberpad_5x4( -//1 2 3 4 -MO(1), KC_PSLS, KC_PAST, KC_PMNS, -KC_P7, KC_P8, KC_P9, -KC_P4, KC_P5, KC_P6, KC_PPLS, -KC_P1, KC_P2, KC_P3, -KC_P0, KC_PDOT, KC_PENT - ), - [1] = LAYOUT_numberpad_5x4( -KC_TRNS, KC_NUM, MO(2), KC_CALC, -KC_HOME, KC_UP, KC_PGUP, -KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, -KC_END, KC_DOWN, KC_PGDN, -KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_numberpad_5x4( -KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, -RGB_TOG, RGB_SAI, KC_TRNS, -RGB_HUD, KC_TRNS, RGB_HUI, RGB_VAD, -KC_TRNS, RGB_SAD, KC_TRNS, -RGB_MOD, KC_TRNS, KC_TRNS - ) - - -}; diff --git a/keyboards/czmao/ds17r2/readme.md b/keyboards/czmao/ds17r2/readme.md deleted file mode 100644 index f590466877c..00000000000 --- a/keyboards/czmao/ds17r2/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# mao ds 17r2 - -* Keyboard Maintainer: [CZMAO](https://github.com/smollchungus) -* Hardware Supported: DS17R2 PCB -* Hardware Availability: [Taobao](https://item.taobao.com/item.htm?ft=t&id=819874589305&sku_properties=5919063:3266779;122216346:21959;122216808:10491261) - -Make example for this keyboard (after setting up your build environment): - - make czmao/ds17r2:default - -Flashing example for this keyboard: - - make czmao/ds17r2:default:flash - -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). - -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available