From 78edeca83c9789b9db6758d5fe73af588060e81f Mon Sep 17 00:00:00 2001 From: arnstadm Date: Sat, 20 Aug 2022 21:50:41 +0200 Subject: [PATCH 1/9] add antipode/vero --- keyboards/antipode/vero/config.h | 20 +++ keyboards/antipode/vero/info.json | 97 ++++++++++ .../antipode/vero/keymaps/default/keymap.c | 47 +++++ keyboards/antipode/vero/keymaps/via/keymap.c | 47 +++++ keyboards/antipode/vero/keymaps/via/rules.mk | 1 + keyboards/antipode/vero/keymaps/via/vero.json | 170 ++++++++++++++++++ keyboards/antipode/vero/readme.md | 27 +++ keyboards/antipode/vero/rules.mk | 1 + keyboards/antipode/vial.config.h | 8 + 9 files changed, 418 insertions(+) create mode 100644 keyboards/antipode/vero/config.h create mode 100644 keyboards/antipode/vero/info.json create mode 100644 keyboards/antipode/vero/keymaps/default/keymap.c create mode 100644 keyboards/antipode/vero/keymaps/via/keymap.c create mode 100644 keyboards/antipode/vero/keymaps/via/rules.mk create mode 100644 keyboards/antipode/vero/keymaps/via/vero.json create mode 100644 keyboards/antipode/vero/readme.md create mode 100644 keyboards/antipode/vero/rules.mk create mode 100644 keyboards/antipode/vial.config.h diff --git a/keyboards/antipode/vero/config.h b/keyboards/antipode/vero/config.h new file mode 100644 index 000000000000..5bb1cbd09fd0 --- /dev/null +++ b/keyboards/antipode/vero/config.h @@ -0,0 +1,20 @@ +// Copyright 2022 Martin Arnstad (@arnstadm) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/antipode/vero/info.json b/keyboards/antipode/vero/info.json new file mode 100644 index 000000000000..7f368d7ac048 --- /dev/null +++ b/keyboards/antipode/vero/info.json @@ -0,0 +1,97 @@ +{ + "manufacturer": "Antipode", + "keyboard_name": "antipode/vero", + "maintainer": "arnstadm", + "bootloader": "stm32-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["A13", "B3", "A15", "A14", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "B7", "B6", "B5"], + "rows": ["B15", "B4", "A0", "B13", "B14"] + }, + "indicators": { + "caps_lock": "B1" + }, + "processor": "STM32F411", + "url": "https://www.antipode.no/products/akb-vero", + "usb": { + "device_version": "1.0.0", + "pid": "0x5645", + "vid": "0x414E" + }, + "layouts": { + "LAYOUT_all": { + "layout": [ + { "matrix": [0, 0], "x": 0.0, "y": 0.0 }, + { "matrix": [0, 1], "x": 1.0, "y": 0.0 }, + { "matrix": [0, 2], "x": 2.0, "y": 0.0 }, + { "matrix": [0, 3], "x": 3.0, "y": 0.0 }, + { "matrix": [0, 4], "x": 4.0, "y": 0.0 }, + { "matrix": [0, 5], "x": 5.0, "y": 0.0 }, + { "matrix": [0, 6], "x": 6.0, "y": 0.0 }, + { "matrix": [0, 7], "x": 7.0, "y": 0.0 }, + { "matrix": [0, 8], "x": 8.0, "y": 0.0 }, + { "matrix": [0, 9], "x": 9.0, "y": 0.0 }, + { "matrix": [0, 10], "x": 10.0, "y": 0.0 }, + { "matrix": [0, 11], "x": 11.0, "y": 0.0 }, + { "matrix": [0, 12], "x": 12.0, "y": 0.0 }, + { "matrix": [0, 13], "x": 13.0, "y": 0.0 }, + { "matrix": [0, 14], "x": 14.0, "y": 0.0 }, + { "matrix": [1, 0], "w": 1.5, "x": 0.0, "y": 1.0 }, + { "matrix": [1, 1], "x": 1.5, "y": 1.0 }, + { "matrix": [1, 2], "x": 2.5, "y": 1.0 }, + { "matrix": [1, 3], "x": 3.5, "y": 1.0 }, + { "matrix": [1, 4], "x": 4.5, "y": 1.0 }, + { "matrix": [1, 5], "x": 5.5, "y": 1.0 }, + { "matrix": [1, 6], "x": 6.5, "y": 1.0 }, + { "matrix": [1, 7], "x": 7.5, "y": 1.0 }, + { "matrix": [1, 8], "x": 8.5, "y": 1.0 }, + { "matrix": [1, 9], "x": 9.5, "y": 1.0 }, + { "matrix": [1, 10], "x": 10.5, "y": 1.0 }, + { "matrix": [1, 11], "x": 11.5, "y": 1.0 }, + { "matrix": [1, 12], "x": 12.5, "y": 1.0 }, + { "matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1.0 }, + { "matrix": [2, 0], "w": 1.75, "x": 0.0, "y": 2.0 }, + { "matrix": [2, 1], "x": 1.75, "y": 2.0 }, + { "matrix": [2, 2], "x": 2.75, "y": 2.0 }, + { "matrix": [2, 3], "x": 3.75, "y": 2.0 }, + { "matrix": [2, 4], "x": 4.75, "y": 2.0 }, + { "matrix": [2, 5], "x": 5.75, "y": 2.0 }, + { "matrix": [2, 6], "x": 6.75, "y": 2.0 }, + { "matrix": [2, 7], "x": 7.75, "y": 2.0 }, + { "matrix": [2, 8], "x": 8.75, "y": 2.0 }, + { "matrix": [2, 9], "x": 9.75, "y": 2.0 }, + { "matrix": [2, 10], "x": 10.75, "y": 2.0 }, + { "matrix": [2, 11], "x": 11.75, "y": 2.0 }, + { "matrix": [2, 13], "w": 2.25, "x": 12.75, "y": 2.0 }, + { "matrix": [3, 0], "w": 1.25, "x": 0.0, "y": 3.0 }, + { "matrix": [3, 1], "x": 1.25, "y": 3.0 }, + { "matrix": [3, 2], "x": 2.25, "y": 3.0 }, + { "matrix": [3, 3], "x": 3.25, "y": 3.0 }, + { "matrix": [3, 4], "x": 4.25, "y": 3.0 }, + { "matrix": [3, 5], "x": 5.25, "y": 3.0 }, + { "matrix": [3, 6], "x": 6.25, "y": 3.0 }, + { "matrix": [3, 7], "x": 7.25, "y": 3.0 }, + { "matrix": [3, 8], "x": 8.25, "y": 3.0 }, + { "matrix": [3, 9], "x": 9.25, "y": 3.0 }, + { "matrix": [3, 10], "x": 10.25, "y": 3.0 }, + { "matrix": [3, 11], "x": 11.25, "y": 3.0 }, + { "matrix": [3, 12], "w": 1.75, "x": 12.25, "y": 3.0 }, + { "matrix": [3, 13], "x": 14.0, "y": 3.0 }, + { "matrix": [4, 1], "x": 1.5, "y": 4.0 }, + { "matrix": [4, 2], "w": 1.5, "x": 2.5, "y": 4.0 }, + { "matrix": [4, 5], "w": 3.0, "x": 4.0, "y": 4.0 }, + { "matrix": [4, 7], "w": 3.0, "x": 7.0, "y": 4.0 }, + { "matrix": [4, 10], "w": 1.5, "x": 10.0, "y": 4.0 }, + { "matrix": [4, 11], "x": 11.5, "y": 4.0 } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/antipode/vero/keymaps/default/keymap.c b/keyboards/antipode/vero/keymaps/default/keymap.c new file mode 100644 index 000000000000..d73d4085a71b --- /dev/null +++ b/keyboards/antipode/vero/keymaps/default/keymap.c @@ -0,0 +1,47 @@ +// Copyright 2022 Martin Arnstad (@arnstadm) +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ Bspc│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ Ctrl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│MO1│ + * └─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┘ + * │Alt│ GUI │ │ GUI │Alt│ + * └───┴─────┴───────────────────────────┴─────┴───┘ + */ + [0] = LAYOUT_all( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, + 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_BSPC, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), + KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, KC_RALT + ), + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Pwr│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Ins│Del│ + * ├───┴─┬─┴───┴───┴───┴───┴───┴───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴───┘ + * │Caps │ Q │ W │ E │ R │ T │ Y │ U │PSc│Scr│Pse│ ↑ │ ] │ Bspc│ + * └─────┘┌───┬───┬───┐──┴┬──┴┌───┬──┴┬──┴┬──┴┬──┴┬──┴┬────────┐ + * │ Ctrl │Vl-│Vl+│Mut│ F │ G │ * │ / │Hom│PgU│ ← │ → │ Enter │ + * ├──────└───┴───┴───┘─┬─┴─┬─└─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┘ + * │ Shift │ Z │ X │ C │ V │ B │ + │ - │End│PgD│ ↓ │ Shift│MO1│ + * └─────┬──┴┬──┴──┬┴───┴───┴───└───┴───┴───┴───┴───┘┬───┬─┴───┘ + * │Alt│ GUI │ │ GUI │Alt│ + * └───┴─────┴───────────────────────────┴─────┴───┘ + */ + [1] = LAYOUT_all( + KC_PWR, 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_INS, KC_DEL, + KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, _______, + _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, + _______, _______,_______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, + _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/antipode/vero/keymaps/via/keymap.c b/keyboards/antipode/vero/keymaps/via/keymap.c new file mode 100644 index 000000000000..d73d4085a71b --- /dev/null +++ b/keyboards/antipode/vero/keymaps/via/keymap.c @@ -0,0 +1,47 @@ +// Copyright 2022 Martin Arnstad (@arnstadm) +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ Bspc│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ + * │ Ctrl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│MO1│ + * └─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┘ + * │Alt│ GUI │ │ GUI │Alt│ + * └───┴─────┴───────────────────────────┴─────┴───┘ + */ + [0] = LAYOUT_all( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, + 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_BSPC, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), + KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_RGUI, KC_RALT + ), + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Pwr│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│Ins│Del│ + * ├───┴─┬─┴───┴───┴───┴───┴───┴───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴───┘ + * │Caps │ Q │ W │ E │ R │ T │ Y │ U │PSc│Scr│Pse│ ↑ │ ] │ Bspc│ + * └─────┘┌───┬───┬───┐──┴┬──┴┌───┬──┴┬──┴┬──┴┬──┴┬──┴┬────────┐ + * │ Ctrl │Vl-│Vl+│Mut│ F │ G │ * │ / │Hom│PgU│ ← │ → │ Enter │ + * ├──────└───┴───┴───┘─┬─┴─┬─└─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┘ + * │ Shift │ Z │ X │ C │ V │ B │ + │ - │End│PgD│ ↓ │ Shift│MO1│ + * └─────┬──┴┬──┴──┬┴───┴───┴───└───┴───┴───┴───┴───┘┬───┬─┴───┘ + * │Alt│ GUI │ │ GUI │Alt│ + * └───┴─────┴───────────────────────────┴─────┴───┘ + */ + [1] = LAYOUT_all( + KC_PWR, 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_INS, KC_DEL, + KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, _______, + _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, + _______, _______,_______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, + _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/antipode/vero/keymaps/via/rules.mk b/keyboards/antipode/vero/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/antipode/vero/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/antipode/vero/keymaps/via/vero.json b/keyboards/antipode/vero/keymaps/via/vero.json new file mode 100644 index 000000000000..f7e8a216992e --- /dev/null +++ b/keyboards/antipode/vero/keymaps/via/vero.json @@ -0,0 +1,170 @@ +{ + "name": "antipode/vero", + "vendorId": "0x414E", + "productId": "0x5645", + "lighting": "none", + "matrix": { + "rows": 5, + "cols": 15 + }, + "layouts": { + "labels": [ + "Long Backspace", + "ISO", + "Long Right Shift", + "Split Left Shift", + "Split Spacebar" + ], + "keymap": [ + [ + { + "x": 15.5, + "w": 2 + }, + "0,13\n\n\n0,1" + ], + [ + { + "y": 0.25, + "x": 2.5 + }, + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + "0,13\n\n\n0,0", + "0,14\n\n\n0,0" + ], + [ + { + "x": 2.5, + "w": 1.5 + }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13\n\n\n1,0", + { + "x": 1.25, + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,13\n\n\n1,1" + ], + [ + { + "x": 2.5, + "w": 1.75 + }, + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "w": 2.25 + }, + "2,13\n\n\n1,0", + { + "x": 0.25 + }, + "2,12\n\n\n1,1" + ], + [ + { + "w": 1.25 + }, + "3,0\n\n\n3,1", + "3,1\n\n\n3,1", + { + "x": 0.25, + "w": 2.25 + }, + "3,0\n\n\n3,0", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "w": 1.75 + }, + "3,12\n\n\n2,0", + "3,13\n\n\n2,0", + { + "x": 0.25, + "w": 2.75 + }, + "3,12\n\n\n2,1" + ], + [ + { + "x": 4 + }, + "4,1", + { + "w": 1.5 + }, + "4,2", + { + "w": 6 + }, + "4,7\n\n\n4,0", + { + "w": 1.5 + }, + "4,10", + "4,11" + ], + [ + { + "y": 0.25, + "x": 6.5, + "w": 3 + }, + "4,5\n\n\n4,1", + { + "w": 3 + }, + "4,7\n\n\n4,1" + ] + ] + } + } \ No newline at end of file diff --git a/keyboards/antipode/vero/readme.md b/keyboards/antipode/vero/readme.md new file mode 100644 index 000000000000..dafcf4749cd8 --- /dev/null +++ b/keyboards/antipode/vero/readme.md @@ -0,0 +1,27 @@ +# antipode/vero + +![antipode/vero](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [Martin Arnstad](https://github.com/arnstadm) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make antipode/vero:default + +Flashing example for this keyboard: + + make antipode/vero: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 `RESET` if it is available diff --git a/keyboards/antipode/vero/rules.mk b/keyboards/antipode/vero/rules.mk new file mode 100644 index 000000000000..6e7633bfe015 --- /dev/null +++ b/keyboards/antipode/vero/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/antipode/vial.config.h b/keyboards/antipode/vial.config.h new file mode 100644 index 000000000000..b7b254db1257 --- /dev/null +++ b/keyboards/antipode/vial.config.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0x04, 0x5B, 0xCC, 0x19, 0xAC, 0x25, 0x19, 0x9E} + +#define VIAL_UNLOCK_COMBO_ROWS {0, 2} +#define VIAL_UNLOCK_COMBO_COLS {0, 13} From da64f3c63d704550701c23b2b16bf4a21a393533 Mon Sep 17 00:00:00 2001 From: arnstadm Date: Sat, 20 Aug 2022 23:01:44 +0200 Subject: [PATCH 2/9] define board or get bad times --- keyboards/antipode/vero/info.json | 3 +- keyboards/antipode/vero/keymaps/via/vero.json | 170 ------------------ keyboards/antipode/vial.config.h | 8 - 3 files changed, 2 insertions(+), 179 deletions(-) delete mode 100644 keyboards/antipode/vero/keymaps/via/vero.json delete mode 100644 keyboards/antipode/vial.config.h diff --git a/keyboards/antipode/vero/info.json b/keyboards/antipode/vero/info.json index 7f368d7ac048..a8411fe17df7 100644 --- a/keyboards/antipode/vero/info.json +++ b/keyboards/antipode/vero/info.json @@ -3,6 +3,7 @@ "keyboard_name": "antipode/vero", "maintainer": "arnstadm", "bootloader": "stm32-dfu", + "board": "GENERIC_STM32_F411XE", "diode_direction": "COL2ROW", "features": { "bootmagic": true, @@ -24,7 +25,7 @@ "usb": { "device_version": "1.0.0", "pid": "0x5645", - "vid": "0x414E" + "vid": "0x4150" }, "layouts": { "LAYOUT_all": { diff --git a/keyboards/antipode/vero/keymaps/via/vero.json b/keyboards/antipode/vero/keymaps/via/vero.json deleted file mode 100644 index f7e8a216992e..000000000000 --- a/keyboards/antipode/vero/keymaps/via/vero.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "name": "antipode/vero", - "vendorId": "0x414E", - "productId": "0x5645", - "lighting": "none", - "matrix": { - "rows": 5, - "cols": 15 - }, - "layouts": { - "labels": [ - "Long Backspace", - "ISO", - "Long Right Shift", - "Split Left Shift", - "Split Spacebar" - ], - "keymap": [ - [ - { - "x": 15.5, - "w": 2 - }, - "0,13\n\n\n0,1" - ], - [ - { - "y": 0.25, - "x": 2.5 - }, - "0,0", - "0,1", - "0,2", - "0,3", - "0,4", - "0,5", - "0,6", - "0,7", - "0,8", - "0,9", - "0,10", - "0,11", - "0,12", - "0,13\n\n\n0,0", - "0,14\n\n\n0,0" - ], - [ - { - "x": 2.5, - "w": 1.5 - }, - "1,0", - "1,1", - "1,2", - "1,3", - "1,4", - "1,5", - "1,6", - "1,7", - "1,8", - "1,9", - "1,10", - "1,11", - "1,12", - { - "w": 1.5 - }, - "1,13\n\n\n1,0", - { - "x": 1.25, - "w": 1.25, - "h": 2, - "w2": 1.5, - "h2": 1, - "x2": -0.25 - }, - "2,13\n\n\n1,1" - ], - [ - { - "x": 2.5, - "w": 1.75 - }, - "2,0", - "2,1", - "2,2", - "2,3", - "2,4", - "2,5", - "2,6", - "2,7", - "2,8", - "2,9", - "2,10", - "2,11", - { - "w": 2.25 - }, - "2,13\n\n\n1,0", - { - "x": 0.25 - }, - "2,12\n\n\n1,1" - ], - [ - { - "w": 1.25 - }, - "3,0\n\n\n3,1", - "3,1\n\n\n3,1", - { - "x": 0.25, - "w": 2.25 - }, - "3,0\n\n\n3,0", - "3,2", - "3,3", - "3,4", - "3,5", - "3,6", - "3,7", - "3,8", - "3,9", - "3,10", - "3,11", - { - "w": 1.75 - }, - "3,12\n\n\n2,0", - "3,13\n\n\n2,0", - { - "x": 0.25, - "w": 2.75 - }, - "3,12\n\n\n2,1" - ], - [ - { - "x": 4 - }, - "4,1", - { - "w": 1.5 - }, - "4,2", - { - "w": 6 - }, - "4,7\n\n\n4,0", - { - "w": 1.5 - }, - "4,10", - "4,11" - ], - [ - { - "y": 0.25, - "x": 6.5, - "w": 3 - }, - "4,5\n\n\n4,1", - { - "w": 3 - }, - "4,7\n\n\n4,1" - ] - ] - } - } \ No newline at end of file diff --git a/keyboards/antipode/vial.config.h b/keyboards/antipode/vial.config.h deleted file mode 100644 index b7b254db1257..000000000000 --- a/keyboards/antipode/vial.config.h +++ /dev/null @@ -1,8 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#pragma once - -#define VIAL_KEYBOARD_UID {0x04, 0x5B, 0xCC, 0x19, 0xAC, 0x25, 0x19, 0x9E} - -#define VIAL_UNLOCK_COMBO_ROWS {0, 2} -#define VIAL_UNLOCK_COMBO_COLS {0, 13} From 1487a11c33176b0d91e763f1469caa61e720dc4c Mon Sep 17 00:00:00 2001 From: arnstadm Date: Thu, 1 Sep 2022 17:31:27 +0200 Subject: [PATCH 3/9] add vero --- keyboards/{antipode => akb}/vero/config.h | 0 keyboards/{antipode => akb}/vero/info.json | 4 +- .../vero/keymaps/default/keymap.c | 0 .../vero/keymaps/via/keymap.c | 0 .../vero/keymaps/via/rules.mk | 0 keyboards/{antipode => akb}/vero/readme.md | 0 keyboards/{antipode => akb}/vero/rules.mk | 0 keyboards/treasure30/config.h | 92 +++++++++++++++++++ keyboards/treasure30/info.json | 70 ++++++++++++++ keyboards/treasure30/keymaps/default/keymap.c | 18 ++++ keyboards/treasure30/keymaps/via/keymap.c | 18 ++++ keyboards/treasure30/keymaps/via/rules.mk | 1 + .../treasure30/keymaps/via/treasure30.json | 73 +++++++++++++++ keyboards/treasure30/readme.md | 27 ++++++ keyboards/treasure30/rules.mk | 8 ++ keyboards/treasure30/treasure30.c | 26 ++++++ keyboards/treasure30/treasure30.h | 6 ++ 17 files changed, 341 insertions(+), 2 deletions(-) rename keyboards/{antipode => akb}/vero/config.h (100%) rename keyboards/{antipode => akb}/vero/info.json (98%) rename keyboards/{antipode => akb}/vero/keymaps/default/keymap.c (100%) rename keyboards/{antipode => akb}/vero/keymaps/via/keymap.c (100%) rename keyboards/{antipode => akb}/vero/keymaps/via/rules.mk (100%) rename keyboards/{antipode => akb}/vero/readme.md (100%) rename keyboards/{antipode => akb}/vero/rules.mk (100%) create mode 100644 keyboards/treasure30/config.h create mode 100644 keyboards/treasure30/info.json create mode 100644 keyboards/treasure30/keymaps/default/keymap.c create mode 100644 keyboards/treasure30/keymaps/via/keymap.c create mode 100644 keyboards/treasure30/keymaps/via/rules.mk create mode 100644 keyboards/treasure30/keymaps/via/treasure30.json create mode 100644 keyboards/treasure30/readme.md create mode 100644 keyboards/treasure30/rules.mk create mode 100644 keyboards/treasure30/treasure30.c create mode 100644 keyboards/treasure30/treasure30.h diff --git a/keyboards/antipode/vero/config.h b/keyboards/akb/vero/config.h similarity index 100% rename from keyboards/antipode/vero/config.h rename to keyboards/akb/vero/config.h diff --git a/keyboards/antipode/vero/info.json b/keyboards/akb/vero/info.json similarity index 98% rename from keyboards/antipode/vero/info.json rename to keyboards/akb/vero/info.json index a8411fe17df7..589b4e94fcfe 100644 --- a/keyboards/antipode/vero/info.json +++ b/keyboards/akb/vero/info.json @@ -1,6 +1,6 @@ { - "manufacturer": "Antipode", - "keyboard_name": "antipode/vero", + "manufacturer": "AKB", + "keyboard_name": "akb/vero", "maintainer": "arnstadm", "bootloader": "stm32-dfu", "board": "GENERIC_STM32_F411XE", diff --git a/keyboards/antipode/vero/keymaps/default/keymap.c b/keyboards/akb/vero/keymaps/default/keymap.c similarity index 100% rename from keyboards/antipode/vero/keymaps/default/keymap.c rename to keyboards/akb/vero/keymaps/default/keymap.c diff --git a/keyboards/antipode/vero/keymaps/via/keymap.c b/keyboards/akb/vero/keymaps/via/keymap.c similarity index 100% rename from keyboards/antipode/vero/keymaps/via/keymap.c rename to keyboards/akb/vero/keymaps/via/keymap.c diff --git a/keyboards/antipode/vero/keymaps/via/rules.mk b/keyboards/akb/vero/keymaps/via/rules.mk similarity index 100% rename from keyboards/antipode/vero/keymaps/via/rules.mk rename to keyboards/akb/vero/keymaps/via/rules.mk diff --git a/keyboards/antipode/vero/readme.md b/keyboards/akb/vero/readme.md similarity index 100% rename from keyboards/antipode/vero/readme.md rename to keyboards/akb/vero/readme.md diff --git a/keyboards/antipode/vero/rules.mk b/keyboards/akb/vero/rules.mk similarity index 100% rename from keyboards/antipode/vero/rules.mk rename to keyboards/akb/vero/rules.mk diff --git a/keyboards/treasure30/config.h b/keyboards/treasure30/config.h new file mode 100644 index 000000000000..ca693288831b --- /dev/null +++ b/keyboards/treasure30/config.h @@ -0,0 +1,92 @@ +// Copyright 2022 treasuretypes (@arnstadm) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT + +#define RGB_DI_PIN B4 +#define DRIVER_LED_TOTAL 38 +#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 + +#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT // Sets the default mode, if none has been set + +#define RGB_MATRIX_KEYPRESSES +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS +#define RGB_DISABLE_WHEN_USB_SUSPENDED + +#define ENABLE_RGB_MATRIX_ALPHAS_MODS +#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN +#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT +#define ENABLE_RGB_MATRIX_BREATHING +#define ENABLE_RGB_MATRIX_BAND_SAT +#define ENABLE_RGB_MATRIX_BAND_VAL +#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT +#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL +#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT +#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL +#define ENABLE_RGB_MATRIX_CYCLE_ALL +#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT +#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN +#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON +#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN +#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL +#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL +#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL +#define ENABLE_RGB_MATRIX_DUAL_BEACON +#define ENABLE_RGB_MATRIX_RAINBOW_BEACON +#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS +#define ENABLE_RGB_MATRIX_RAINDROPS +#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS +#define ENABLE_RGB_MATRIX_HUE_BREATHING +#define ENABLE_RGB_MATRIX_HUE_PENDULUMZ +#define ENABLE_RGB_MATRIX_HUE_WAVE +#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL +#define ENABLE_RGB_MATRIX_PIXEL_RAIN +#ifdef RGB_MATRIX_FRAMEBUFFER_EFFECTS + #define ENABLE_RGB_MATRIX_TYPING_HEATMAP + #define ENABLE_RGB_MATRIX_DIGITAL_RAIN +#endif +#ifdef RGB_MATRIX_KEYPRESSES + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS + #define ENABLE_RGB_MATRIX_SPLASH + #define ENABLE_RGB_MATRIX_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_SPLASH + #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH +#endif + + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* disable these deprecated features by default */ +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION + +/* Bootmagic Lite key configuration */ +//#define BOOTMAGIC_LITE_ROW 0 +//#define BOOTMAGIC_LITE_COLUMN 0 +#ifdef VIA_ENABLE +# define VIA_QMK_RGB_MATRIX_ENABLE +#endif diff --git a/keyboards/treasure30/info.json b/keyboards/treasure30/info.json new file mode 100644 index 000000000000..971f53103c4b --- /dev/null +++ b/keyboards/treasure30/info.json @@ -0,0 +1,70 @@ +{ + "manufacturer": "treasuretypes", + "keyboard_name": "treasure30", + "maintainer": "arnstadm", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, + "matrix_pins": { + "cols": ["B5", "B6", "B7", "C7", "D1", "D2", "D4", "D5", "D6", "B0", "B1", "B2", "D3"], + "rows": ["C4", "C5", "B3"] + }, + "processor": "atmega32u2", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x3330", + "vid": "0x5452" + }, + "layouts": { + "LAYOUT_all": { + "layout": [ + { "matrix": [0, 0], "x": 0.0, "y": 0.0 }, + { "matrix": [0, 1], "x": 1.0, "y": 0.0 }, + { "matrix": [0, 2], "x": 2.0, "y": 0.0 }, + { "matrix": [0, 3], "x": 3.0, "y": 0.0 }, + { "matrix": [0, 4], "x": 4.0, "y": 0.0 }, + { "matrix": [0, 5], "x": 5.0, "y": 0.0 }, + { "matrix": [0, 6], "x": 6.0, "y": 0.0 }, + { "matrix": [0, 7], "x": 7.0, "y": 0.0 }, + { "matrix": [0, 8], "x": 8.0, "y": 0.0 }, + { "matrix": [0, 9], "x": 9.0, "y": 0.0 }, + { "matrix": [0, 10], "x": 10.0, "y": 0.0 }, + { "matrix": [0, 11], "x": 11.0, "y": 0.0 }, + { "matrix": [1, 0], "x": 0.0, "y": 1.0 }, + { "matrix": [1, 1], "x": 1.0, "y": 1.0 }, + { "matrix": [1, 2], "x": 2.0, "y": 1.0 }, + { "matrix": [1, 3], "x": 3.0, "y": 1.0 }, + { "matrix": [1, 4], "x": 4.0, "y": 1.0 }, + { "matrix": [1, 5], "x": 5.0, "y": 1.0 }, + { "matrix": [1, 6], "x": 6.0, "y": 1.0 }, + { "matrix": [1, 7], "x": 7.0, "y": 1.0 }, + { "matrix": [1, 8], "x": 8.0, "y": 1.0 }, + { "matrix": [1, 9], "x": 9.0, "y": 1.0 }, + { "matrix": [1, 12], "w": 2.0, "x": 10.0, "y": 1.0 }, + { "matrix": [1, 10], "x": 10.0, "y": 1.0 }, + { "matrix": [1, 11], "x": 11.0, "y": 1.0 }, + { "matrix": [2, 0], "x": 0.0, "y": 2.0 }, + { "matrix": [2, 1], "x": 1.0, "y": 2.0 }, + { "matrix": [2, 2], "x": 2.0, "y": 2.0 }, + { "matrix": [2, 3], "x": 3.0, "y": 2.0 }, + { "matrix": [2, 4], "x": 4.0, "y": 2.0 }, + { "matrix": [2, 5], "x": 5.0, "y": 2.0 }, + { "matrix": [2, 12], "w": 2.0, "x": 5.0, "y": 2.0 }, + { "matrix": [2, 6], "x": 6.0, "y": 2.0 }, + { "matrix": [2, 7], "x": 7.0, "y": 2.0 }, + { "matrix": [2, 8], "x": 8.0, "y": 2.0 }, + { "matrix": [2, 9], "x": 9.0, "y": 2.0 }, + { "matrix": [2, 10], "x": 10.0, "y": 2.0 }, + { "matrix": [2, 11], "x": 11.0, "y": 2.0 } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/treasure30/keymaps/default/keymap.c b/keyboards/treasure30/keymaps/default/keymap.c new file mode 100644 index 000000000000..ab896416d039 --- /dev/null +++ b/keyboards/treasure30/keymaps/default/keymap.c @@ -0,0 +1,18 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ + * └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT_all( + KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_P, KC_P, + KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_SCLN, KC_SCLN, + KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SLSH, KC_SLSH + ) +}; diff --git a/keyboards/treasure30/keymaps/via/keymap.c b/keyboards/treasure30/keymaps/via/keymap.c new file mode 100644 index 000000000000..93ee3db9eea1 --- /dev/null +++ b/keyboards/treasure30/keymaps/via/keymap.c @@ -0,0 +1,18 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ + * │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ + * └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT_all( + KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_P, KC_P, + KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_SCLN, KC_SCLN, KC_SCLN, + KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SLSH, KC_SLSH, KC_SLSH + ) +}; diff --git a/keyboards/treasure30/keymaps/via/rules.mk b/keyboards/treasure30/keymaps/via/rules.mk new file mode 100644 index 000000000000..036bd6d1c3ec --- /dev/null +++ b/keyboards/treasure30/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/treasure30/keymaps/via/treasure30.json b/keyboards/treasure30/keymaps/via/treasure30.json new file mode 100644 index 000000000000..9533ef229d96 --- /dev/null +++ b/keyboards/treasure30/keymaps/via/treasure30.json @@ -0,0 +1,73 @@ +{ + "name": "treasure30", + "vendorId": "0x5452", + "productId": "0x3330", + "lighting": "qmk_rgblight", + "matrix": { + "rows": 3, + "cols": 12 + }, + "layouts": { + "labels": [ + "2U Spacebar", + "2U Enter" + ], + "keymap": [ + [ + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11" + ], + [ + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10\n\n\n1,0", + "1,11\n\n\n1,0", + { + "x": 0.25, + "w": 2 + }, + "1,11\n\n\n1,1" + ], + [ + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5\n\n\n0,0", + "2,6\n\n\n0,0", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11" + ], + [ + { + "y": 0.25, + "x": 5, + "w": 2 + }, + "2,5\n\n\n0,1" + ] + ] + } + } \ No newline at end of file diff --git a/keyboards/treasure30/readme.md b/keyboards/treasure30/readme.md new file mode 100644 index 000000000000..8768cd5fd771 --- /dev/null +++ b/keyboards/treasure30/readme.md @@ -0,0 +1,27 @@ +# treasure30 + +![treasure30](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [treasuretypes](https://github.com/arnstadm) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make treasure30:default + +Flashing example for this keyboard: + + make treasure30: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 `RESET` if it is available diff --git a/keyboards/treasure30/rules.mk b/keyboards/treasure30/rules.mk new file mode 100644 index 000000000000..5161a4477d5e --- /dev/null +++ b/keyboards/treasure30/rules.mk @@ -0,0 +1,8 @@ +# This file intentionally left blank +# MCU name + +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +RGB_MATRIX_ENABLE = yes +RGB_MATRIX_DRIVER = WS2812 diff --git a/keyboards/treasure30/treasure30.c b/keyboards/treasure30/treasure30.c new file mode 100644 index 000000000000..a43ed179605f --- /dev/null +++ b/keyboards/treasure30/treasure30.c @@ -0,0 +1,26 @@ +// Copyright 2022 arnstadm (@arnstadm) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "treasure30.h" + +led_config_t g_led_config = { { + +#define XXX NO_LED +{ 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 }, +{ 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13 }, +{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }, + +}, { + // LED Index to Physical Position + + + +{ 0,64 }, { 20,64 }, { 41,64 }, { 61,64 }, { 81,64 }, {102,64 }, {112,64 }, {122,64 }, {143,64 }, {163,64 }, +{183,64 }, {204,64 }, {224,64 }, {224,32 }, {214,32 }, {204,32 }, {183,32 }, {163,32 }, {143,32 }, {122,32 }, +{102,32 }, { 81,32 }, { 61,32 }, { 41,32 }, { 20,32 }, { 0,32 }, { 0,0 }, { 20,0 }, { 41,0 }, { 61,0 }, +{ 81,0 }, {102,0 }, {122,0 }, {143,0 }, {163,0 }, {183,0 }, {204,0 }, {224,0 }, +}, { + // LED Index to Flag + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 +} +}; diff --git a/keyboards/treasure30/treasure30.h b/keyboards/treasure30/treasure30.h new file mode 100644 index 000000000000..1f938e00ca9b --- /dev/null +++ b/keyboards/treasure30/treasure30.h @@ -0,0 +1,6 @@ +// Copyright 2022 arnstadm (@arnstadm) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "quantum.h" \ No newline at end of file From ab643ed3e6fc65c8f94d6a4f0e2312ee17663479 Mon Sep 17 00:00:00 2001 From: arnstadm Date: Sun, 9 Oct 2022 08:10:48 +0200 Subject: [PATCH 4/9] Update readme.md --- keyboards/akb/vero/readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboards/akb/vero/readme.md b/keyboards/akb/vero/readme.md index dafcf4749cd8..bfd24a442241 100644 --- a/keyboards/akb/vero/readme.md +++ b/keyboards/akb/vero/readme.md @@ -1,12 +1,12 @@ # antipode/vero -![antipode/vero](imgur.com image replace me!) +![antipode/vero](https://imgur.com/znKP8XQ.jpeg) -*A short description of the keyboard/project* +AKB Vero - Vero means true. This keyboard brings you a truly great typing experience in a true HHKB layout. With its 6U spacebar and asymmetrical blockers it brings the classic design of the HHKB to MX keyboards. -* Keyboard Maintainer: [Martin Arnstad](https://github.com/arnstadm) -* Hardware Supported: *The PCBs, controllers supported* -* Hardware Availability: *Links to where you can find this hardware* +* Keyboard Maintainer: [Antipode](https://antipode.no) +* Hardware Supported: AKB Vero PCB +* Hardware Availability: https://www.antipode.no/products/akb-vero Make example for this keyboard (after setting up your build environment): From bad81400788a73af7d0e9ed22616d67f9096fd22 Mon Sep 17 00:00:00 2001 From: arnstadm Date: Sun, 9 Oct 2022 08:17:44 +0200 Subject: [PATCH 5/9] removed folder --- keyboards/treasure/type9/config.h | 108 ------------------ keyboards/treasure/type9/info.json | 16 --- .../treasure/type9/keymaps/default/keymap.c | 52 --------- .../treasure/type9/keymaps/default/readme.md | 1 - keyboards/treasure/type9/readme.md | 13 --- keyboards/treasure/type9/rules.mk | 18 --- keyboards/treasure/type9/type9.c | 16 --- keyboards/treasure/type9/type9.h | 37 ------ keyboards/treasure/type9s2/config.h | 42 ------- keyboards/treasure/type9s2/info.json | 26 ----- .../treasure/type9s2/keymaps/default/keymap.c | 43 ------- .../type9s2/keymaps/default/readme.md | 1 - .../treasure/type9s2/keymaps/via/keymap.c | 43 ------- .../treasure/type9s2/keymaps/via/readme.md | 1 - .../treasure/type9s2/keymaps/via/rules.mk | 1 - keyboards/treasure/type9s2/readme.md | 17 --- keyboards/treasure/type9s2/rules.mk | 19 --- keyboards/treasure/type9s2/type9s2.c | 16 --- keyboards/treasure/type9s2/type9s2.h | 29 ----- keyboards/treasure30/config.h | 92 --------------- keyboards/treasure30/info.json | 70 ------------ keyboards/treasure30/keymaps/default/keymap.c | 18 --- keyboards/treasure30/keymaps/via/keymap.c | 18 --- keyboards/treasure30/keymaps/via/rules.mk | 1 - .../treasure30/keymaps/via/treasure30.json | 73 ------------ keyboards/treasure30/readme.md | 27 ----- keyboards/treasure30/rules.mk | 8 -- keyboards/treasure30/treasure30.c | 26 ----- keyboards/treasure30/treasure30.h | 6 - 29 files changed, 838 deletions(-) delete mode 100644 keyboards/treasure/type9/config.h delete mode 100644 keyboards/treasure/type9/info.json delete mode 100644 keyboards/treasure/type9/keymaps/default/keymap.c delete mode 100644 keyboards/treasure/type9/keymaps/default/readme.md delete mode 100644 keyboards/treasure/type9/readme.md delete mode 100644 keyboards/treasure/type9/rules.mk delete mode 100644 keyboards/treasure/type9/type9.c delete mode 100644 keyboards/treasure/type9/type9.h delete mode 100644 keyboards/treasure/type9s2/config.h delete mode 100644 keyboards/treasure/type9s2/info.json delete mode 100644 keyboards/treasure/type9s2/keymaps/default/keymap.c delete mode 100644 keyboards/treasure/type9s2/keymaps/default/readme.md delete mode 100644 keyboards/treasure/type9s2/keymaps/via/keymap.c delete mode 100644 keyboards/treasure/type9s2/keymaps/via/readme.md delete mode 100644 keyboards/treasure/type9s2/keymaps/via/rules.mk delete mode 100644 keyboards/treasure/type9s2/readme.md delete mode 100644 keyboards/treasure/type9s2/rules.mk delete mode 100644 keyboards/treasure/type9s2/type9s2.c delete mode 100644 keyboards/treasure/type9s2/type9s2.h delete mode 100644 keyboards/treasure30/config.h delete mode 100644 keyboards/treasure30/info.json delete mode 100644 keyboards/treasure30/keymaps/default/keymap.c delete mode 100644 keyboards/treasure30/keymaps/via/keymap.c delete mode 100644 keyboards/treasure30/keymaps/via/rules.mk delete mode 100644 keyboards/treasure30/keymaps/via/treasure30.json delete mode 100644 keyboards/treasure30/readme.md delete mode 100644 keyboards/treasure30/rules.mk delete mode 100644 keyboards/treasure30/treasure30.c delete mode 100644 keyboards/treasure30/treasure30.h diff --git a/keyboards/treasure/type9/config.h b/keyboards/treasure/type9/config.h deleted file mode 100644 index 31a5602c71ec..000000000000 --- a/keyboards/treasure/type9/config.h +++ /dev/null @@ -1,108 +0,0 @@ -/* -Copyright 2018 MechMerlin - -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 "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 3 -#define MATRIX_COLS 3 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * -*/ -#define MATRIX_ROW_PINS { E6, D7, C6 } -#define MATRIX_COL_PINS { D1, D0, D4 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION ROW2COL - -#define BACKLIGHT_PIN B5 -// #define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 10 - -// #define RGB_DI_PIN E2 -// #ifdef RGB_DI_PIN -// #define RGBLIGHT_ANIMATIONS -// #define RGBLED_NUM 16 -// #define RGBLIGHT_HUE_STEP 8 -// #define RGBLIGHT_SAT_STEP 8 -// #define RGBLIGHT_VAL_STEP 8 -// #endif - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* define if matrix has ghost (lacks anti-ghosting diodes) */ -//#define MATRIX_HAS_GHOST - -/* number of backlight levels */ - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is userful for the Windows task manager shortcut (ctrl+shift+esc). - */ -// #define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/treasure/type9/info.json b/keyboards/treasure/type9/info.json deleted file mode 100644 index 4f97080c0067..000000000000 --- a/keyboards/treasure/type9/info.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "keyboard_name": "Type-9", - "manufacturer": "Treasure", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0xFEED", - "pid": "0x0000", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}] - } - } -} diff --git a/keyboards/treasure/type9/keymaps/default/keymap.c b/keyboards/treasure/type9/keymaps/default/keymap.c deleted file mode 100644 index 6b15c0486db0..000000000000 --- a/keyboards/treasure/type9/keymaps/default/keymap.c +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright 2018 MechMerlin - * - * 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 - -// Defines the keycodes used by our macros in process_record_user -enum custom_keycodes { - QMKBEST = SAFE_RANGE, - QMKURL -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - KC_0, KC_1, KC_2, - KC_3, KC_4, KC_5, - KC_6, KC_7, KC_8 - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QMKBEST: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING("QMK is the best thing ever!"); - } else { - // when keycode QMKBEST is released - } - break; - case QMKURL: - if (record->event.pressed) { - // when keycode QMKURL is pressed - SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER)); - } else { - // when keycode QMKURL is released - } - break; - } - return true; -} diff --git a/keyboards/treasure/type9/keymaps/default/readme.md b/keyboards/treasure/type9/keymaps/default/readme.md deleted file mode 100644 index 94784baccdff..000000000000 --- a/keyboards/treasure/type9/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for Type-9 diff --git a/keyboards/treasure/type9/readme.md b/keyboards/treasure/type9/readme.md deleted file mode 100644 index 7c567f91b9e4..000000000000 --- a/keyboards/treasure/type9/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# Type-9 - -3x3 Macropad. - -Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin) -Hardware Supported: Treasure Macropad Type-9 -Hardware Availability: [Treasure](http://macropad.co/) - -Make example for this keyboard (after setting up your build environment): - - make treasure/type9: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/treasure/type9/rules.mk b/keyboards/treasure/type9/rules.mk deleted file mode 100644 index 539eb1bf11b1..000000000000 --- a/keyboards/treasure/type9/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # 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 = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/treasure/type9/type9.c b/keyboards/treasure/type9/type9.c deleted file mode 100644 index 466f294672ee..000000000000 --- a/keyboards/treasure/type9/type9.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2018 MechMerlin - * - * 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 "type9.h" diff --git a/keyboards/treasure/type9/type9.h b/keyboards/treasure/type9/type9.h deleted file mode 100644 index 6034416f16ec..000000000000 --- a/keyboards/treasure/type9/type9.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2018 MechMerlin - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#include "quantum.h" - -/* This a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ -#define LAYOUT( \ - k00, k01, k02, \ - k10, k11, k12, \ - k20, k21, k22 \ -) { \ - { k00, k01, k02 }, \ - { k10, k11, k12 }, \ - { k20, k21, k22 } \ -} diff --git a/keyboards/treasure/type9s2/config.h b/keyboards/treasure/type9s2/config.h deleted file mode 100644 index a231e4523bcb..000000000000 --- a/keyboards/treasure/type9s2/config.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2021 Treasure - -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 "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 3 -#define MATRIX_COLS 3 - -/* Keyboard Matrix Assignments*/ -#define MATRIX_ROW_PINS { B4, B5, D2 } -#define MATRIX_COL_PINS { B2, B3, C5 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* define if matrix has ghost (lacks anti-ghosting diodes) */ -//#define MATRIX_HAS_GHOST - -/* number of backlight levels */ -#define BACKLIGHT_LEVELS 3 - diff --git a/keyboards/treasure/type9s2/info.json b/keyboards/treasure/type9s2/info.json deleted file mode 100644 index 388b202af084..000000000000 --- a/keyboards/treasure/type9s2/info.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "keyboard_name": "Type-9 Series II", - "manufacturer": "Treasure", - "url": "http://treasuretypes.com", - "maintainer": "Treasure", - "usb": { - "vid": "0x5452", - "pid": "0x5492", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT_ortho_3x3": { - "layout": [ - {"label": "7", "x": 0, "y": 0}, - {"label": "8", "x": 1, "y": 0}, - {"label": "9", "x": 2, "y": 0}, - {"label": "4", "x": 0, "y": 1}, - {"label": "5", "x": 1, "y": 1}, - {"label": "6", "x": 2, "y": 1}, - {"label": "1", "x": 0, "y": 2}, - {"label": "2", "x": 1, "y": 2}, - {"label": "3", "x": 2, "y": 2} - ] - } - } -} diff --git a/keyboards/treasure/type9s2/keymaps/default/keymap.c b/keyboards/treasure/type9s2/keymaps/default/keymap.c deleted file mode 100644 index 8d076c3d9973..000000000000 --- a/keyboards/treasure/type9s2/keymaps/default/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2021 Treasure - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_3x3( - MO(1), KC_MPLY, BL_STEP, - KC_VOLD, KC_MUTE, KC_VOLU, - KC_KP_1, KC_KP_2, KC_KP_3 - ), - - [1] = LAYOUT_ortho_3x3( - _______, _______, MO(2), - _______, _______, _______, - _______, _______, _______ - ), - - [2] = LAYOUT_ortho_3x3( - _______, _______, _______, - _______, _______, _______, - _______, _______, MO(3) - ), - - [3] = LAYOUT_ortho_3x3( - _______, _______, _______, - _______, _______, _______, - QK_BOOT, _______, _______ - ) -}; diff --git a/keyboards/treasure/type9s2/keymaps/default/readme.md b/keyboards/treasure/type9s2/keymaps/default/readme.md deleted file mode 100644 index 76778b088be1..000000000000 --- a/keyboards/treasure/type9s2/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for Type-9 Series II diff --git a/keyboards/treasure/type9s2/keymaps/via/keymap.c b/keyboards/treasure/type9s2/keymaps/via/keymap.c deleted file mode 100644 index a3e959a9fc3b..000000000000 --- a/keyboards/treasure/type9s2/keymaps/via/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2021 Treasure - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_3x3( - KC_KP_7, KC_KP_8, KC_KP_9, - KC_KP_4, LT(1, KC_KP_5), KC_KP_6, - KC_KP_1, KC_KP_2, KC_KP_3 - ), - - [1] = LAYOUT_ortho_3x3( - _______, _______, _______, - _______, _______, _______, - _______, _______, _______ - ), - - [2] = LAYOUT_ortho_3x3( - _______, _______, _______, - _______, _______, _______, - _______, _______, _______ - ), - - [3] = LAYOUT_ortho_3x3( - _______, _______, _______, - _______, _______, _______, - _______, _______, _______ - ) -}; diff --git a/keyboards/treasure/type9s2/keymaps/via/readme.md b/keyboards/treasure/type9s2/keymaps/via/readme.md deleted file mode 100644 index 76778b088be1..000000000000 --- a/keyboards/treasure/type9s2/keymaps/via/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for Type-9 Series II diff --git a/keyboards/treasure/type9s2/keymaps/via/rules.mk b/keyboards/treasure/type9s2/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807cb7..000000000000 --- a/keyboards/treasure/type9s2/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/treasure/type9s2/readme.md b/keyboards/treasure/type9s2/readme.md deleted file mode 100644 index 2985778f4f09..000000000000 --- a/keyboards/treasure/type9s2/readme.md +++ /dev/null @@ -1,17 +0,0 @@ -# Treasure TYPE-9 Series II - -![TYPE9SII](https://i.imgur.com/lohJ0Dal.png) - -Treasure TYPE-9 Series II is a 3x3 Macropad. - -* Keyboard Maintainer: [Treasure](https://github.com/TreasureTypes) -* Hardware Supported: Treasure TYPE-9 Series II PCB -* Hardware Availability: [Treasure Store](http://treasuretypes.com) - -To place the keyboard into bootloader mode in order to flash it, use the reset button on the PCB. - -Make example for this keyboard (after setting up your build environment): - - make treasure/type9s2: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/treasure/type9s2/rules.mk b/keyboards/treasure/type9s2/rules.mk deleted file mode 100644 index 88f7e1f94cb5..000000000000 --- a/keyboards/treasure/type9s2/rules.mk +++ /dev/null @@ -1,19 +0,0 @@ -# MCU name -MCU = atmega32u2 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes diff --git a/keyboards/treasure/type9s2/type9s2.c b/keyboards/treasure/type9s2/type9s2.c deleted file mode 100644 index f5c86e0006ab..000000000000 --- a/keyboards/treasure/type9s2/type9s2.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2021 Treasure - * - * 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 "type9s2.h" diff --git a/keyboards/treasure/type9s2/type9s2.h b/keyboards/treasure/type9s2/type9s2.h deleted file mode 100644 index 1a18416bc1a8..000000000000 --- a/keyboards/treasure/type9s2/type9s2.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2021 Treasure - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_3x3( \ - K00, K01, K02, \ - K10, K11, K12, \ - K20, K21, K22 \ -) { \ - { K00, K01, K02 }, \ - { K10, K11, K12 }, \ - { K20, K21, K22 } \ -} diff --git a/keyboards/treasure30/config.h b/keyboards/treasure30/config.h deleted file mode 100644 index ca693288831b..000000000000 --- a/keyboards/treasure30/config.h +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 treasuretypes (@arnstadm) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - -#define RGB_DI_PIN B4 -#define DRIVER_LED_TOTAL 38 -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 - -#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT // Sets the default mode, if none has been set - -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_DISABLE_WHEN_USB_SUSPENDED - -#define ENABLE_RGB_MATRIX_ALPHAS_MODS -#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_BREATHING -#define ENABLE_RGB_MATRIX_BAND_SAT -#define ENABLE_RGB_MATRIX_BAND_VAL -#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL -#define ENABLE_RGB_MATRIX_CYCLE_ALL -#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN -#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -#define ENABLE_RGB_MATRIX_DUAL_BEACON -#define ENABLE_RGB_MATRIX_RAINBOW_BEACON -#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -#define ENABLE_RGB_MATRIX_RAINDROPS -#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -#define ENABLE_RGB_MATRIX_HUE_BREATHING -#define ENABLE_RGB_MATRIX_HUE_PENDULUMZ -#define ENABLE_RGB_MATRIX_HUE_WAVE -#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL -#define ENABLE_RGB_MATRIX_PIXEL_RAIN -#ifdef RGB_MATRIX_FRAMEBUFFER_EFFECTS - #define ENABLE_RGB_MATRIX_TYPING_HEATMAP - #define ENABLE_RGB_MATRIX_DIGITAL_RAIN -#endif -#ifdef RGB_MATRIX_KEYPRESSES - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - #define ENABLE_RGB_MATRIX_SPLASH - #define ENABLE_RGB_MATRIX_MULTISPLASH - #define ENABLE_RGB_MATRIX_SOLID_SPLASH - #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -#endif - - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* disable these deprecated features by default */ -#define NO_ACTION_MACRO -#define NO_ACTION_FUNCTION - -/* Bootmagic Lite key configuration */ -//#define BOOTMAGIC_LITE_ROW 0 -//#define BOOTMAGIC_LITE_COLUMN 0 -#ifdef VIA_ENABLE -# define VIA_QMK_RGB_MATRIX_ENABLE -#endif diff --git a/keyboards/treasure30/info.json b/keyboards/treasure30/info.json deleted file mode 100644 index 971f53103c4b..000000000000 --- a/keyboards/treasure30/info.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "manufacturer": "treasuretypes", - "keyboard_name": "treasure30", - "maintainer": "arnstadm", - "bootloader": "atmel-dfu", - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": false, - "nkro": true - }, - "matrix_pins": { - "cols": ["B5", "B6", "B7", "C7", "D1", "D2", "D4", "D5", "D6", "B0", "B1", "B2", "D3"], - "rows": ["C4", "C5", "B3"] - }, - "processor": "atmega32u2", - "url": "", - "usb": { - "device_version": "1.0.0", - "pid": "0x3330", - "vid": "0x5452" - }, - "layouts": { - "LAYOUT_all": { - "layout": [ - { "matrix": [0, 0], "x": 0.0, "y": 0.0 }, - { "matrix": [0, 1], "x": 1.0, "y": 0.0 }, - { "matrix": [0, 2], "x": 2.0, "y": 0.0 }, - { "matrix": [0, 3], "x": 3.0, "y": 0.0 }, - { "matrix": [0, 4], "x": 4.0, "y": 0.0 }, - { "matrix": [0, 5], "x": 5.0, "y": 0.0 }, - { "matrix": [0, 6], "x": 6.0, "y": 0.0 }, - { "matrix": [0, 7], "x": 7.0, "y": 0.0 }, - { "matrix": [0, 8], "x": 8.0, "y": 0.0 }, - { "matrix": [0, 9], "x": 9.0, "y": 0.0 }, - { "matrix": [0, 10], "x": 10.0, "y": 0.0 }, - { "matrix": [0, 11], "x": 11.0, "y": 0.0 }, - { "matrix": [1, 0], "x": 0.0, "y": 1.0 }, - { "matrix": [1, 1], "x": 1.0, "y": 1.0 }, - { "matrix": [1, 2], "x": 2.0, "y": 1.0 }, - { "matrix": [1, 3], "x": 3.0, "y": 1.0 }, - { "matrix": [1, 4], "x": 4.0, "y": 1.0 }, - { "matrix": [1, 5], "x": 5.0, "y": 1.0 }, - { "matrix": [1, 6], "x": 6.0, "y": 1.0 }, - { "matrix": [1, 7], "x": 7.0, "y": 1.0 }, - { "matrix": [1, 8], "x": 8.0, "y": 1.0 }, - { "matrix": [1, 9], "x": 9.0, "y": 1.0 }, - { "matrix": [1, 12], "w": 2.0, "x": 10.0, "y": 1.0 }, - { "matrix": [1, 10], "x": 10.0, "y": 1.0 }, - { "matrix": [1, 11], "x": 11.0, "y": 1.0 }, - { "matrix": [2, 0], "x": 0.0, "y": 2.0 }, - { "matrix": [2, 1], "x": 1.0, "y": 2.0 }, - { "matrix": [2, 2], "x": 2.0, "y": 2.0 }, - { "matrix": [2, 3], "x": 3.0, "y": 2.0 }, - { "matrix": [2, 4], "x": 4.0, "y": 2.0 }, - { "matrix": [2, 5], "x": 5.0, "y": 2.0 }, - { "matrix": [2, 12], "w": 2.0, "x": 5.0, "y": 2.0 }, - { "matrix": [2, 6], "x": 6.0, "y": 2.0 }, - { "matrix": [2, 7], "x": 7.0, "y": 2.0 }, - { "matrix": [2, 8], "x": 8.0, "y": 2.0 }, - { "matrix": [2, 9], "x": 9.0, "y": 2.0 }, - { "matrix": [2, 10], "x": 10.0, "y": 2.0 }, - { "matrix": [2, 11], "x": 11.0, "y": 2.0 } - ] - } - } -} \ No newline at end of file diff --git a/keyboards/treasure30/keymaps/default/keymap.c b/keyboards/treasure30/keymaps/default/keymap.c deleted file mode 100644 index ab896416d039..000000000000 --- a/keyboards/treasure30/keymaps/default/keymap.c +++ /dev/null @@ -1,18 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ - * │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ - * │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ - * └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ - */ - [0] = LAYOUT_all( - KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_P, KC_P, - KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_SCLN, KC_SCLN, - KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SLSH, KC_SLSH - ) -}; diff --git a/keyboards/treasure30/keymaps/via/keymap.c b/keyboards/treasure30/keymaps/via/keymap.c deleted file mode 100644 index 93ee3db9eea1..000000000000 --- a/keyboards/treasure30/keymaps/via/keymap.c +++ /dev/null @@ -1,18 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ - * │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ - * │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ - * └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ - */ - [0] = LAYOUT_all( - KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_P, KC_P, - KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_SCLN, KC_SCLN, KC_SCLN, - KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SLSH, KC_SLSH, KC_SLSH - ) -}; diff --git a/keyboards/treasure30/keymaps/via/rules.mk b/keyboards/treasure30/keymaps/via/rules.mk deleted file mode 100644 index 036bd6d1c3ec..000000000000 --- a/keyboards/treasure30/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/treasure30/keymaps/via/treasure30.json b/keyboards/treasure30/keymaps/via/treasure30.json deleted file mode 100644 index 9533ef229d96..000000000000 --- a/keyboards/treasure30/keymaps/via/treasure30.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "name": "treasure30", - "vendorId": "0x5452", - "productId": "0x3330", - "lighting": "qmk_rgblight", - "matrix": { - "rows": 3, - "cols": 12 - }, - "layouts": { - "labels": [ - "2U Spacebar", - "2U Enter" - ], - "keymap": [ - [ - "0,0", - "0,1", - "0,2", - "0,3", - "0,4", - "0,5", - "0,6", - "0,7", - "0,8", - "0,9", - "0,10", - "0,11" - ], - [ - "1,0", - "1,1", - "1,2", - "1,3", - "1,4", - "1,5", - "1,6", - "1,7", - "1,8", - "1,9", - "1,10\n\n\n1,0", - "1,11\n\n\n1,0", - { - "x": 0.25, - "w": 2 - }, - "1,11\n\n\n1,1" - ], - [ - "2,0", - "2,1", - "2,2", - "2,3", - "2,4", - "2,5\n\n\n0,0", - "2,6\n\n\n0,0", - "2,7", - "2,8", - "2,9", - "2,10", - "2,11" - ], - [ - { - "y": 0.25, - "x": 5, - "w": 2 - }, - "2,5\n\n\n0,1" - ] - ] - } - } \ No newline at end of file diff --git a/keyboards/treasure30/readme.md b/keyboards/treasure30/readme.md deleted file mode 100644 index 8768cd5fd771..000000000000 --- a/keyboards/treasure30/readme.md +++ /dev/null @@ -1,27 +0,0 @@ -# treasure30 - -![treasure30](imgur.com image replace me!) - -*A short description of the keyboard/project* - -* Keyboard Maintainer: [treasuretypes](https://github.com/arnstadm) -* Hardware Supported: *The PCBs, controllers supported* -* Hardware Availability: *Links to where you can find this hardware* - -Make example for this keyboard (after setting up your build environment): - - make treasure30:default - -Flashing example for this keyboard: - - make treasure30: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 `RESET` if it is available diff --git a/keyboards/treasure30/rules.mk b/keyboards/treasure30/rules.mk deleted file mode 100644 index 5161a4477d5e..000000000000 --- a/keyboards/treasure30/rules.mk +++ /dev/null @@ -1,8 +0,0 @@ -# This file intentionally left blank -# MCU name - -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 diff --git a/keyboards/treasure30/treasure30.c b/keyboards/treasure30/treasure30.c deleted file mode 100644 index a43ed179605f..000000000000 --- a/keyboards/treasure30/treasure30.c +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright 2022 arnstadm (@arnstadm) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "treasure30.h" - -led_config_t g_led_config = { { - -#define XXX NO_LED -{ 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 }, -{ 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13 }, -{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }, - -}, { - // LED Index to Physical Position - - - -{ 0,64 }, { 20,64 }, { 41,64 }, { 61,64 }, { 81,64 }, {102,64 }, {112,64 }, {122,64 }, {143,64 }, {163,64 }, -{183,64 }, {204,64 }, {224,64 }, {224,32 }, {214,32 }, {204,32 }, {183,32 }, {163,32 }, {143,32 }, {122,32 }, -{102,32 }, { 81,32 }, { 61,32 }, { 41,32 }, { 20,32 }, { 0,32 }, { 0,0 }, { 20,0 }, { 41,0 }, { 61,0 }, -{ 81,0 }, {102,0 }, {122,0 }, {143,0 }, {163,0 }, {183,0 }, {204,0 }, {224,0 }, -}, { - // LED Index to Flag - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 -} -}; diff --git a/keyboards/treasure30/treasure30.h b/keyboards/treasure30/treasure30.h deleted file mode 100644 index 1f938e00ca9b..000000000000 --- a/keyboards/treasure30/treasure30.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2022 arnstadm (@arnstadm) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "quantum.h" \ No newline at end of file From d49b0166d5639f0da90b435d4ec589a1765fb790 Mon Sep 17 00:00:00 2001 From: arnstadm Date: Sun, 9 Oct 2022 08:19:36 +0200 Subject: [PATCH 6/9] fix --- keyboards/treasure/type9/config.h | 108 ++++++++++++++++++ keyboards/treasure/type9/info.json | 16 +++ .../treasure/type9/keymaps/default/keymap.c | 52 +++++++++ .../treasure/type9/keymaps/default/readme.md | 1 + keyboards/treasure/type9/readme.md | 13 +++ keyboards/treasure/type9/rules.mk | 18 +++ keyboards/treasure/type9/type9.c | 16 +++ keyboards/treasure/type9/type9.h | 37 ++++++ keyboards/treasure/type9s2/config.h | 42 +++++++ keyboards/treasure/type9s2/info.json | 26 +++++ .../treasure/type9s2/keymaps/default/keymap.c | 43 +++++++ .../type9s2/keymaps/default/readme.md | 1 + .../treasure/type9s2/keymaps/via/keymap.c | 43 +++++++ .../treasure/type9s2/keymaps/via/readme.md | 1 + .../treasure/type9s2/keymaps/via/rules.mk | 1 + keyboards/treasure/type9s2/readme.md | 17 +++ keyboards/treasure/type9s2/rules.mk | 19 +++ keyboards/treasure/type9s2/type9s2.c | 16 +++ keyboards/treasure/type9s2/type9s2.h | 29 +++++ 19 files changed, 499 insertions(+) create mode 100644 keyboards/treasure/type9/config.h create mode 100644 keyboards/treasure/type9/info.json create mode 100644 keyboards/treasure/type9/keymaps/default/keymap.c create mode 100644 keyboards/treasure/type9/keymaps/default/readme.md create mode 100644 keyboards/treasure/type9/readme.md create mode 100644 keyboards/treasure/type9/rules.mk create mode 100644 keyboards/treasure/type9/type9.c create mode 100644 keyboards/treasure/type9/type9.h create mode 100644 keyboards/treasure/type9s2/config.h create mode 100644 keyboards/treasure/type9s2/info.json create mode 100644 keyboards/treasure/type9s2/keymaps/default/keymap.c create mode 100644 keyboards/treasure/type9s2/keymaps/default/readme.md create mode 100644 keyboards/treasure/type9s2/keymaps/via/keymap.c create mode 100644 keyboards/treasure/type9s2/keymaps/via/readme.md create mode 100644 keyboards/treasure/type9s2/keymaps/via/rules.mk create mode 100644 keyboards/treasure/type9s2/readme.md create mode 100644 keyboards/treasure/type9s2/rules.mk create mode 100644 keyboards/treasure/type9s2/type9s2.c create mode 100644 keyboards/treasure/type9s2/type9s2.h diff --git a/keyboards/treasure/type9/config.h b/keyboards/treasure/type9/config.h new file mode 100644 index 000000000000..31a5602c71ec --- /dev/null +++ b/keyboards/treasure/type9/config.h @@ -0,0 +1,108 @@ +/* +Copyright 2018 MechMerlin + +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 "config_common.h" + +/* key matrix size */ +#define MATRIX_ROWS 3 +#define MATRIX_COLS 3 + +/* + * Keyboard Matrix Assignments + * + * Change this to how you wired your keyboard + * COLS: AVR pins used for columns, left to right + * ROWS: AVR pins used for rows, top to bottom + * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) + * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) + * +*/ +#define MATRIX_ROW_PINS { E6, D7, C6 } +#define MATRIX_COL_PINS { D1, D0, D4 } + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION ROW2COL + +#define BACKLIGHT_PIN B5 +// #define BACKLIGHT_BREATHING +#define BACKLIGHT_LEVELS 10 + +// #define RGB_DI_PIN E2 +// #ifdef RGB_DI_PIN +// #define RGBLIGHT_ANIMATIONS +// #define RGBLED_NUM 16 +// #define RGBLIGHT_HUE_STEP 8 +// #define RGBLIGHT_SAT_STEP 8 +// #define RGBLIGHT_VAL_STEP 8 +// #endif + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* define if matrix has ghost (lacks anti-ghosting diodes) */ +//#define MATRIX_HAS_GHOST + +/* number of backlight levels */ + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. + * This is userful for the Windows task manager shortcut (ctrl+shift+esc). + */ +// #define GRAVE_ESC_CTRL_OVERRIDE + +/* + * Force NKRO + * + * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved + * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the + * makefile for this to work.) + * + * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) + * until the next keyboard reset. + * + * NKRO may prevent your keystrokes from being detected in the BIOS, but it is + * fully operational during normal computer usage. + * + * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) + * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by + * bootmagic, NKRO mode will always be enabled until it is toggled again during a + * power-up. + * + */ +//#define FORCE_NKRO + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/treasure/type9/info.json b/keyboards/treasure/type9/info.json new file mode 100644 index 000000000000..4f97080c0067 --- /dev/null +++ b/keyboards/treasure/type9/info.json @@ -0,0 +1,16 @@ +{ + "keyboard_name": "Type-9", + "manufacturer": "Treasure", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0xFEED", + "pid": "0x0000", + "device_version": "0.0.1" + }, + "layouts": { + "LAYOUT": { + "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}] + } + } +} diff --git a/keyboards/treasure/type9/keymaps/default/keymap.c b/keyboards/treasure/type9/keymaps/default/keymap.c new file mode 100644 index 000000000000..6b15c0486db0 --- /dev/null +++ b/keyboards/treasure/type9/keymaps/default/keymap.c @@ -0,0 +1,52 @@ +/* Copyright 2018 MechMerlin + * + * 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 + +// Defines the keycodes used by our macros in process_record_user +enum custom_keycodes { + QMKBEST = SAFE_RANGE, + QMKURL +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base */ + KC_0, KC_1, KC_2, + KC_3, KC_4, KC_5, + KC_6, KC_7, KC_8 + ), +}; + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case QMKBEST: + if (record->event.pressed) { + // when keycode QMKBEST is pressed + SEND_STRING("QMK is the best thing ever!"); + } else { + // when keycode QMKBEST is released + } + break; + case QMKURL: + if (record->event.pressed) { + // when keycode QMKURL is pressed + SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER)); + } else { + // when keycode QMKURL is released + } + break; + } + return true; +} diff --git a/keyboards/treasure/type9/keymaps/default/readme.md b/keyboards/treasure/type9/keymaps/default/readme.md new file mode 100644 index 000000000000..94784baccdff --- /dev/null +++ b/keyboards/treasure/type9/keymaps/default/readme.md @@ -0,0 +1 @@ +# The default keymap for Type-9 diff --git a/keyboards/treasure/type9/readme.md b/keyboards/treasure/type9/readme.md new file mode 100644 index 000000000000..7c567f91b9e4 --- /dev/null +++ b/keyboards/treasure/type9/readme.md @@ -0,0 +1,13 @@ +# Type-9 + +3x3 Macropad. + +Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin) +Hardware Supported: Treasure Macropad Type-9 +Hardware Availability: [Treasure](http://macropad.co/) + +Make example for this keyboard (after setting up your build environment): + + make treasure/type9: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/treasure/type9/rules.mk b/keyboards/treasure/type9/rules.mk new file mode 100644 index 000000000000..539eb1bf11b1 --- /dev/null +++ b/keyboards/treasure/type9/rules.mk @@ -0,0 +1,18 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = no # 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 = no # Enable N-Key Rollover +BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output diff --git a/keyboards/treasure/type9/type9.c b/keyboards/treasure/type9/type9.c new file mode 100644 index 000000000000..466f294672ee --- /dev/null +++ b/keyboards/treasure/type9/type9.c @@ -0,0 +1,16 @@ +/* Copyright 2018 MechMerlin + * + * 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 "type9.h" diff --git a/keyboards/treasure/type9/type9.h b/keyboards/treasure/type9/type9.h new file mode 100644 index 000000000000..6034416f16ec --- /dev/null +++ b/keyboards/treasure/type9/type9.h @@ -0,0 +1,37 @@ +/* Copyright 2018 MechMerlin + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include "quantum.h" + +/* This a shortcut to help you visually see your layout. + * + * The first section contains all of the arguments representing the physical + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define LAYOUT( \ + k00, k01, k02, \ + k10, k11, k12, \ + k20, k21, k22 \ +) { \ + { k00, k01, k02 }, \ + { k10, k11, k12 }, \ + { k20, k21, k22 } \ +} diff --git a/keyboards/treasure/type9s2/config.h b/keyboards/treasure/type9s2/config.h new file mode 100644 index 000000000000..a231e4523bcb --- /dev/null +++ b/keyboards/treasure/type9s2/config.h @@ -0,0 +1,42 @@ +/* Copyright 2021 Treasure + +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 "config_common.h" + +/* key matrix size */ +#define MATRIX_ROWS 3 +#define MATRIX_COLS 3 + +/* Keyboard Matrix Assignments*/ +#define MATRIX_ROW_PINS { B4, B5, D2 } +#define MATRIX_COL_PINS { B2, B3, C5 } + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + +#define BACKLIGHT_PIN B7 + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* define if matrix has ghost (lacks anti-ghosting diodes) */ +//#define MATRIX_HAS_GHOST + +/* number of backlight levels */ +#define BACKLIGHT_LEVELS 3 + diff --git a/keyboards/treasure/type9s2/info.json b/keyboards/treasure/type9s2/info.json new file mode 100644 index 000000000000..388b202af084 --- /dev/null +++ b/keyboards/treasure/type9s2/info.json @@ -0,0 +1,26 @@ +{ + "keyboard_name": "Type-9 Series II", + "manufacturer": "Treasure", + "url": "http://treasuretypes.com", + "maintainer": "Treasure", + "usb": { + "vid": "0x5452", + "pid": "0x5492", + "device_version": "0.0.1" + }, + "layouts": { + "LAYOUT_ortho_3x3": { + "layout": [ + {"label": "7", "x": 0, "y": 0}, + {"label": "8", "x": 1, "y": 0}, + {"label": "9", "x": 2, "y": 0}, + {"label": "4", "x": 0, "y": 1}, + {"label": "5", "x": 1, "y": 1}, + {"label": "6", "x": 2, "y": 1}, + {"label": "1", "x": 0, "y": 2}, + {"label": "2", "x": 1, "y": 2}, + {"label": "3", "x": 2, "y": 2} + ] + } + } +} diff --git a/keyboards/treasure/type9s2/keymaps/default/keymap.c b/keyboards/treasure/type9s2/keymaps/default/keymap.c new file mode 100644 index 000000000000..8d076c3d9973 --- /dev/null +++ b/keyboards/treasure/type9s2/keymaps/default/keymap.c @@ -0,0 +1,43 @@ +/* Copyright 2021 Treasure + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_ortho_3x3( + MO(1), KC_MPLY, BL_STEP, + KC_VOLD, KC_MUTE, KC_VOLU, + KC_KP_1, KC_KP_2, KC_KP_3 + ), + + [1] = LAYOUT_ortho_3x3( + _______, _______, MO(2), + _______, _______, _______, + _______, _______, _______ + ), + + [2] = LAYOUT_ortho_3x3( + _______, _______, _______, + _______, _______, _______, + _______, _______, MO(3) + ), + + [3] = LAYOUT_ortho_3x3( + _______, _______, _______, + _______, _______, _______, + QK_BOOT, _______, _______ + ) +}; diff --git a/keyboards/treasure/type9s2/keymaps/default/readme.md b/keyboards/treasure/type9s2/keymaps/default/readme.md new file mode 100644 index 000000000000..76778b088be1 --- /dev/null +++ b/keyboards/treasure/type9s2/keymaps/default/readme.md @@ -0,0 +1 @@ +# The default keymap for Type-9 Series II diff --git a/keyboards/treasure/type9s2/keymaps/via/keymap.c b/keyboards/treasure/type9s2/keymaps/via/keymap.c new file mode 100644 index 000000000000..a3e959a9fc3b --- /dev/null +++ b/keyboards/treasure/type9s2/keymaps/via/keymap.c @@ -0,0 +1,43 @@ +/* Copyright 2021 Treasure + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_ortho_3x3( + KC_KP_7, KC_KP_8, KC_KP_9, + KC_KP_4, LT(1, KC_KP_5), KC_KP_6, + KC_KP_1, KC_KP_2, KC_KP_3 + ), + + [1] = LAYOUT_ortho_3x3( + _______, _______, _______, + _______, _______, _______, + _______, _______, _______ + ), + + [2] = LAYOUT_ortho_3x3( + _______, _______, _______, + _______, _______, _______, + _______, _______, _______ + ), + + [3] = LAYOUT_ortho_3x3( + _______, _______, _______, + _______, _______, _______, + _______, _______, _______ + ) +}; diff --git a/keyboards/treasure/type9s2/keymaps/via/readme.md b/keyboards/treasure/type9s2/keymaps/via/readme.md new file mode 100644 index 000000000000..76778b088be1 --- /dev/null +++ b/keyboards/treasure/type9s2/keymaps/via/readme.md @@ -0,0 +1 @@ +# The default keymap for Type-9 Series II diff --git a/keyboards/treasure/type9s2/keymaps/via/rules.mk b/keyboards/treasure/type9s2/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/treasure/type9s2/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/treasure/type9s2/readme.md b/keyboards/treasure/type9s2/readme.md new file mode 100644 index 000000000000..2985778f4f09 --- /dev/null +++ b/keyboards/treasure/type9s2/readme.md @@ -0,0 +1,17 @@ +# Treasure TYPE-9 Series II + +![TYPE9SII](https://i.imgur.com/lohJ0Dal.png) + +Treasure TYPE-9 Series II is a 3x3 Macropad. + +* Keyboard Maintainer: [Treasure](https://github.com/TreasureTypes) +* Hardware Supported: Treasure TYPE-9 Series II PCB +* Hardware Availability: [Treasure Store](http://treasuretypes.com) + +To place the keyboard into bootloader mode in order to flash it, use the reset button on the PCB. + +Make example for this keyboard (after setting up your build environment): + + make treasure/type9s2: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/treasure/type9s2/rules.mk b/keyboards/treasure/type9s2/rules.mk new file mode 100644 index 000000000000..88f7e1f94cb5 --- /dev/null +++ b/keyboards/treasure/type9s2/rules.mk @@ -0,0 +1,19 @@ +# MCU name +MCU = atmega32u2 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +NKRO_ENABLE = no # Enable N-Key Rollover +BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +LTO_ENABLE = yes diff --git a/keyboards/treasure/type9s2/type9s2.c b/keyboards/treasure/type9s2/type9s2.c new file mode 100644 index 000000000000..f5c86e0006ab --- /dev/null +++ b/keyboards/treasure/type9s2/type9s2.c @@ -0,0 +1,16 @@ +/* Copyright 2021 Treasure + * + * 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 "type9s2.h" diff --git a/keyboards/treasure/type9s2/type9s2.h b/keyboards/treasure/type9s2/type9s2.h new file mode 100644 index 000000000000..1a18416bc1a8 --- /dev/null +++ b/keyboards/treasure/type9s2/type9s2.h @@ -0,0 +1,29 @@ +/* Copyright 2021 Treasure + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include "quantum.h" + +#define LAYOUT_ortho_3x3( \ + K00, K01, K02, \ + K10, K11, K12, \ + K20, K21, K22 \ +) { \ + { K00, K01, K02 }, \ + { K10, K11, K12 }, \ + { K20, K21, K22 } \ +} From 41fdd34a0c5df7c81f8aecdc4c827258eb73197f Mon Sep 17 00:00:00 2001 From: arnstadm Date: Sun, 9 Oct 2022 17:53:37 +0200 Subject: [PATCH 7/9] 16 mhz resonator --- keyboards/akb/vero/config.h | 3 +++ keyboards/akb/vero/mcuconf.h | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 keyboards/akb/vero/mcuconf.h diff --git a/keyboards/akb/vero/config.h b/keyboards/akb/vero/config.h index 5bb1cbd09fd0..bb6d15d92cc7 100644 --- a/keyboards/akb/vero/config.h +++ b/keyboards/akb/vero/config.h @@ -18,3 +18,6 @@ //#define NO_ACTION_LAYER //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT + +/* Set HSE clock since it differs from F411 default */ +#define STM32_HSECLK 16000000 diff --git a/keyboards/akb/vero/mcuconf.h b/keyboards/akb/vero/mcuconf.h new file mode 100644 index 000000000000..3439c90d524a --- /dev/null +++ b/keyboards/akb/vero/mcuconf.h @@ -0,0 +1,20 @@ +/* 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 . + */ + +#include_next "mcuconf.h" +/* Set PLL M divider from 4 (F411 GENERIC default) to 8, because of 16 MHz crystal on board */ +#undef STM32_PLLM_VALUE +#define STM32_PLLM_VALUE 8 From 226e896ebdb3010b651ae299f83f602f3ad34cd2 Mon Sep 17 00:00:00 2001 From: arnstadm <45672752+arnstadm@users.noreply.github.com> Date: Mon, 10 Oct 2022 08:44:04 +0200 Subject: [PATCH 8/9] Update keyboards/akb/vero/readme.md Co-authored-by: Drashna Jaelre --- keyboards/akb/vero/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/akb/vero/readme.md b/keyboards/akb/vero/readme.md index bfd24a442241..3afb7c276230 100644 --- a/keyboards/akb/vero/readme.md +++ b/keyboards/akb/vero/readme.md @@ -1,6 +1,6 @@ # antipode/vero -![antipode/vero](https://imgur.com/znKP8XQ.jpeg) +![antipode/vero](https://i.imgur.com/znKP8XQh.jpeg) AKB Vero - Vero means true. This keyboard brings you a truly great typing experience in a true HHKB layout. With its 6U spacebar and asymmetrical blockers it brings the classic design of the HHKB to MX keyboards. From 8e23fb32fd5e4179f4b86481ffeede637fefaeb8 Mon Sep 17 00:00:00 2001 From: arnstadm <45672752+arnstadm@users.noreply.github.com> Date: Mon, 10 Oct 2022 08:44:13 +0200 Subject: [PATCH 9/9] Update keyboards/akb/vero/info.json Co-authored-by: Ryan --- keyboards/akb/vero/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/akb/vero/info.json b/keyboards/akb/vero/info.json index 589b4e94fcfe..39f5422b538c 100644 --- a/keyboards/akb/vero/info.json +++ b/keyboards/akb/vero/info.json @@ -1,6 +1,6 @@ { "manufacturer": "AKB", - "keyboard_name": "akb/vero", + "keyboard_name": "Vero", "maintainer": "arnstadm", "bootloader": "stm32-dfu", "board": "GENERIC_STM32_F411XE",