diff options
Diffstat (limited to 'keyboards/ymdk/ymd75')
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/board.h | 8 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/config.h | 11 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/halconf.h | 7 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/info.json | 277 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/keymaps/default/keymap.c | 37 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/keymaps/via/keymap.c | 37 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/mcuconf.h | 11 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/readme.md | 24 | ||||
-rw-r--r-- | keyboards/ymdk/ymd75/rev4/iso/rules.mk | 1 |
10 files changed, 414 insertions, 0 deletions
diff --git a/keyboards/ymdk/ymd75/rev4/iso/board.h b/keyboards/ymdk/ymd75/rev4/iso/board.h new file mode 100644 index 0000000000..3cd1802102 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/board.h @@ -0,0 +1,8 @@ +// Copyright 2023 zvecr<git@zvecr.com> +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#include_next <board.h> + +#undef STM32_HSECLK +#define STM32_HSECLK 16000000 diff --git a/keyboards/ymdk/ymd75/rev4/iso/config.h b/keyboards/ymdk/ymd75/rev4/iso/config.h new file mode 100644 index 0000000000..317c0ec236 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/config.h @@ -0,0 +1,11 @@ +// Copyright 2023 zvecr<git@zvecr.com> +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define RGB_DISABLE_WHEN_USB_SUSPENDED + +#define WS2812_PWM_DRIVER PWMD4 +#define WS2812_PWM_CHANNEL 4 +#define WS2812_PWM_PAL_MODE 2 +#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_DMA_CHANNEL 7 diff --git a/keyboards/ymdk/ymd75/rev4/iso/halconf.h b/keyboards/ymdk/ymd75/rev4/iso/halconf.h new file mode 100644 index 0000000000..782eea99a4 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/halconf.h @@ -0,0 +1,7 @@ +// Copyright 2023 zvecr<git@zvecr.com> +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define HAL_USE_PWM TRUE + +#include_next <halconf.h> diff --git a/keyboards/ymdk/ymd75/rev4/iso/info.json b/keyboards/ymdk/ymd75/rev4/iso/info.json new file mode 100644 index 0000000000..d7e27dbdeb --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/info.json @@ -0,0 +1,277 @@ +{ + "keyboard_name": "YMD75 V4", + "manufacturer": "YMDK", + "url": "", + "maintainer": "zvecr", + "processor": "STM32F103", + "bootloader": "uf2boot", + "board": "STM32_F103_STM32DUINO", + "diode_direction": "ROW2COL", + "matrix_pins": { + "cols": ["A7","B0","B1","B2","B10","B11","A5","A15","B3"], + "rows": ["A6","A4","A3","A2","A1","A0","A8","B15","B14","B13","B12","A9"] + }, + "usb": { + "vid": "0x594D", + "pid": "0x7549", + "device_version": "4.0.0" + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "ws2812": { + "driver": "pwm", + "pin": "B9" + }, + "rgb_matrix": { + "driver": "ws2812", + "max_brightness": 200, + "animations": { + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_sat": true, + "band_val": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "rainbow_moving_chevron": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_fractal": true, + "pixel_flow": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive": true, + "solid_reactive_wide": true, + "solid_reactive_multiwide": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_nexus": true, + "solid_reactive_multinexus": true, + "splash": true, + "multisplash": true, + "solid_splash": true, + "solid_multisplash": true + }, + "layout": [ + { "flags": 4, "matrix": [0, 0], "x": 0, "y": 0 }, + { "flags": 4, "matrix": [0, 1], "x": 15, "y": 0 }, + { "flags": 4, "matrix": [0, 2], "x": 30, "y": 0 }, + { "flags": 4, "matrix": [0, 3], "x": 45, "y": 0 }, + { "flags": 4, "matrix": [0, 4], "x": 60, "y": 0 }, + { "flags": 4, "matrix": [0, 5], "x": 75, "y": 0 }, + { "flags": 4, "matrix": [0, 6], "x": 90, "y": 0 }, + { "flags": 4, "matrix": [0, 7], "x": 105, "y": 0 }, + { "flags": 4, "matrix": [0, 8], "x": 119, "y": 0 }, + { "flags": 4, "matrix": [6, 8], "x": 134, "y": 0 }, + { "flags": 4, "matrix": [6, 7], "x": 149, "y": 0 }, + { "flags": 4, "matrix": [6, 5], "x": 164, "y": 0 }, + { "flags": 4, "matrix": [6, 4], "x": 179, "y": 0 }, + { "flags": 4, "matrix": [6, 3], "x": 194, "y": 0 }, + { "flags": 4, "matrix": [6, 6], "x": 209, "y": 0 }, + { "flags": 4, "matrix": [6, 2], "x": 224, "y": 0 }, + { "flags": 4, "matrix": [1, 0], "x": 0, "y": 13 }, + { "flags": 4, "matrix": [1, 1], "x": 15, "y": 13 }, + { "flags": 4, "matrix": [1, 2], "x": 30, "y": 13 }, + { "flags": 4, "matrix": [1, 3], "x": 45, "y": 13 }, + { "flags": 4, "matrix": [1, 4], "x": 60, "y": 13 }, + { "flags": 4, "matrix": [1, 5], "x": 75, "y": 13 }, + { "flags": 4, "matrix": [1, 6], "x": 90, "y": 13 }, + { "flags": 4, "matrix": [1, 7], "x": 105, "y": 13 }, + { "flags": 4, "matrix": [1, 8], "x": 119, "y": 13 }, + { "flags": 4, "matrix": [7, 8], "x": 134, "y": 13 }, + { "flags": 4, "matrix": [7, 7], "x": 149, "y": 13 }, + { "flags": 4, "matrix": [7, 5], "x": 164, "y": 13 }, + { "flags": 4, "matrix": [7, 4], "x": 179, "y": 13 }, + { "flags": 4, "matrix": [7, 6], "x": 202, "y": 13 }, + { "flags": 4, "matrix": [7, 2], "x": 224, "y": 13 }, + { "flags": 4, "matrix": [2, 0], "x": 4, "y": 26 }, + { "flags": 4, "matrix": [2, 1], "x": 22, "y": 26 }, + { "flags": 4, "matrix": [2, 2], "x": 37, "y": 26 }, + { "flags": 4, "matrix": [2, 3], "x": 52, "y": 26 }, + { "flags": 4, "matrix": [2, 4], "x": 67, "y": 26 }, + { "flags": 4, "matrix": [2, 5], "x": 82, "y": 26 }, + { "flags": 4, "matrix": [2, 6], "x": 97, "y": 26 }, + { "flags": 4, "matrix": [2, 7], "x": 112, "y": 26 }, + { "flags": 4, "matrix": [2, 8], "x": 127, "y": 26 }, + { "flags": 4, "matrix": [8, 8], "x": 142, "y": 26 }, + { "flags": 4, "matrix": [8, 7], "x": 157, "y": 26 }, + { "flags": 4, "matrix": [8, 5], "x": 172, "y": 26 }, + { "flags": 4, "matrix": [8, 4], "x": 187, "y": 26 }, + { "flags": 4, "matrix": [8, 3], "x": 207, "y": 32 }, + { "flags": 4, "matrix": [8, 6], "x": 224, "y": 26 }, + { "flags": 4, "matrix": [3, 0], "x": 6, "y": 38 }, + { "flags": 4, "matrix": [3, 1], "x": 26, "y": 38 }, + { "flags": 4, "matrix": [3, 2], "x": 41, "y": 38 }, + { "flags": 4, "matrix": [3, 3], "x": 56, "y": 38 }, + { "flags": 4, "matrix": [3, 4], "x": 71, "y": 38 }, + { "flags": 4, "matrix": [3, 5], "x": 86, "y": 38 }, + { "flags": 4, "matrix": [3, 6], "x": 101, "y": 38 }, + { "flags": 4, "matrix": [3, 7], "x": 116, "y": 38 }, + { "flags": 4, "matrix": [3, 8], "x": 131, "y": 38 }, + { "flags": 4, "matrix": [9, 8], "x": 146, "y": 38 }, + { "flags": 4, "matrix": [9, 7], "x": 161, "y": 38 }, + { "flags": 4, "matrix": [9, 5], "x": 175, "y": 38 }, + { "flags": 4, "matrix": [9, 4], "x": 190, "y": 38 }, + { "flags": 4, "matrix": [9, 6], "x": 224, "y": 38 }, + { "flags": 4, "matrix": [4, 0], "x": 2, "y": 51 }, + { "flags": 4, "matrix": [4, 1], "x": 19, "y": 51 }, + { "flags": 4, "matrix": [4, 2], "x": 34, "y": 51 }, + { "flags": 4, "matrix": [4, 3], "x": 49, "y": 51 }, + { "flags": 4, "matrix": [4, 4], "x": 63, "y": 51 }, + { "flags": 4, "matrix": [4, 5], "x": 78, "y": 51 }, + { "flags": 4, "matrix": [4, 6], "x": 93, "y": 51 }, + { "flags": 4, "matrix": [4, 7], "x": 108, "y": 51 }, + { "flags": 4, "matrix": [4, 8], "x": 123, "y": 51 }, + { "flags": 4, "matrix": [10, 8], "x": 138, "y": 51 }, + { "flags": 4, "matrix": [10, 7], "x": 153, "y": 51 }, + { "flags": 4, "matrix": [10, 5], "x": 168, "y": 51 }, + { "flags": 4, "matrix": [10, 4], "x": 189, "y": 51 }, + { "flags": 4, "matrix": [10, 3], "x": 209, "y": 51 }, + { "flags": 4, "matrix": [10, 6], "x": 224, "y": 51 }, + { "flags": 4, "matrix": [5, 0], "x": 2, "y": 64 }, + { "flags": 4, "matrix": [5, 1], "x": 21, "y": 64 }, + { "flags": 4, "matrix": [5, 2], "x": 39, "y": 64 }, + { "flags": 4, "matrix": [5, 6], "x": 95, "y": 64 }, + { "flags": 4, "matrix": [5, 8], "x": 149, "y": 64 }, + { "flags": 4, "matrix": [5, 7], "x": 164, "y": 64 }, + { "flags": 4, "matrix": [5, 5], "x": 179, "y": 64 }, + { "flags": 4, "matrix": [5, 4], "x": 194, "y": 64 }, + { "flags": 4, "matrix": [5, 3], "x": 209, "y": 64 }, + { "flags": 4, "matrix": [11, 6], "x": 224, "y": 64 }, + { "flags": 2, "x": 1, "y": 5 }, + { "flags": 2, "x": 38, "y": 5 }, + { "flags": 2, "x": 75, "y": 5 }, + { "flags": 2, "x": 112, "y": 5 }, + { "flags": 2, "x": 149, "y": 5 }, + { "flags": 2, "x": 186, "y": 5 }, + { "flags": 2, "x": 223, "y": 5 }, + { "flags": 2, "x": 223, "y": 32 }, + { "flags": 2, "x": 223, "y": 60 }, + { "flags": 2, "x": 186, "y": 60 }, + { "flags": 2, "x": 149, "y": 60 }, + { "flags": 2, "x": 112, "y": 60 }, + { "flags": 2, "x": 75, "y": 60 }, + { "flags": 2, "x": 38, "y": 60 }, + { "flags": 2, "x": 1, "y": 60 }, + { "flags": 2, "x": 1, "y": 32 } + ] + }, + "community_layouts": ["75_iso"], + "layouts": { + "LAYOUT_75_iso": { + "layout": [ + {"matrix": [0, 0], "x":0, "y":0}, + {"matrix": [0, 1], "x":1, "y":0}, + {"matrix": [0, 2], "x":2, "y":0}, + {"matrix": [0, 3], "x":3, "y":0}, + {"matrix": [0, 4], "x":4, "y":0}, + {"matrix": [0, 5], "x":5, "y":0}, + {"matrix": [0, 6], "x":6, "y":0}, + {"matrix": [0, 7], "x":7, "y":0}, + {"matrix": [0, 8], "x":8, "y":0}, + {"matrix": [6, 8], "x":9, "y":0}, + {"matrix": [6, 7], "x":10, "y":0}, + {"matrix": [6, 5], "x":11, "y":0}, + {"matrix": [6, 4], "x":12, "y":0}, + {"matrix": [6, 3], "x":13, "y":0}, + {"matrix": [6, 6], "x":14, "y":0}, + {"matrix": [6, 2], "x":15, "y":0}, + {"matrix": [1, 0], "x":0, "y":1}, + {"matrix": [1, 1], "x":1, "y":1}, + {"matrix": [1, 2], "x":2, "y":1}, + {"matrix": [1, 3], "x":3, "y":1}, + {"matrix": [1, 4], "x":4, "y":1}, + {"matrix": [1, 5], "x":5, "y":1}, + {"matrix": [1, 6], "x":6, "y":1}, + {"matrix": [1, 7], "x":7, "y":1}, + {"matrix": [1, 8], "x":8, "y":1}, + {"matrix": [7, 8], "x":9, "y":1}, + {"matrix": [7, 7], "x":10, "y":1}, + {"matrix": [7, 5], "x":11, "y":1}, + {"matrix": [7, 4], "x":12, "y":1}, + {"matrix": [7, 6], "x":13, "y":1, "w":2}, + {"matrix": [7, 2], "x":15, "y":1}, + {"matrix": [2, 0], "x":0, "y":2, "w":1.5}, + {"matrix": [2, 1], "x":1.5, "y":2}, + {"matrix": [2, 2], "x":2.5, "y":2}, + {"matrix": [2, 3], "x":3.5, "y":2}, + {"matrix": [2, 4], "x":4.5, "y":2}, + {"matrix": [2, 5], "x":5.5, "y":2}, + {"matrix": [2, 6], "x":6.5, "y":2}, + {"matrix": [2, 7], "x":7.5, "y":2}, + {"matrix": [2, 8], "x":8.5, "y":2}, + {"matrix": [8, 8], "x":9.5, "y":2}, + {"matrix": [8, 7], "x":10.5, "y":2}, + {"matrix": [8, 5], "x":11.5, "y":2}, + {"matrix": [8, 4], "x":12.5, "y":2}, + {"matrix": [8, 6], "x":15, "y":2}, + {"matrix": [3, 0], "x":0, "y":3, "w":1.75}, + {"matrix": [3, 1], "x":1.75, "y":3}, + {"matrix": [3, 2], "x":2.75, "y":3}, + {"matrix": [3, 3], "x":3.75, "y":3}, + {"matrix": [3, 4], "x":4.75, "y":3}, + {"matrix": [3, 5], "x":5.75, "y":3}, + {"matrix": [3, 6], "x":6.75, "y":3}, + {"matrix": [3, 7], "x":7.75, "y":3}, + {"matrix": [3, 8], "x":8.75, "y":3}, + {"matrix": [9, 8], "x":9.75, "y":3}, + {"matrix": [9, 7], "x":10.75, "y":3}, + {"matrix": [9, 5], "x":11.75, "y":3}, + {"matrix": [9, 4], "x":12.75, "y":3}, + {"matrix": [8, 3], "x":13.75, "y":2, "w":1.25, "h":2}, + {"matrix": [9, 6], "x":15, "y":3}, + {"matrix": [4, 0], "x":0, "y":4, "w":1.25}, + {"matrix": [4, 1], "x":1.25, "y":4}, + {"matrix": [4, 2], "x":2.25, "y":4}, + {"matrix": [4, 3], "x":3.25, "y":4}, + {"matrix": [4, 4], "x":4.25, "y":4}, + {"matrix": [4, 5], "x":5.25, "y":4}, + {"matrix": [4, 6], "x":6.25, "y":4}, + {"matrix": [4, 7], "x":7.25, "y":4}, + {"matrix": [4, 8], "x":8.25, "y":4}, + {"matrix": [10, 8], "x":9.25, "y":4}, + {"matrix": [10, 7], "x":10.25, "y":4}, + {"matrix": [10, 5], "x":11.25, "y":4}, + {"matrix": [10, 4], "x":12.25, "y":4, "w":1.75}, + {"matrix": [10, 3], "x":14, "y":4}, + {"matrix": [10, 6], "x":15, "y":4}, + {"matrix": [5, 0], "x":0, "y":5, "w":1.25}, + {"matrix": [5, 1], "x":1.25, "y":5, "w":1.25}, + {"matrix": [5, 2], "x":2.5, "y":5, "w":1.25}, + {"matrix": [5, 6], "x":3.75, "y":5, "w":6.25}, + {"matrix": [5, 8], "x":10, "y":5}, + {"matrix": [5, 7], "x":11, "y":5}, + {"matrix": [5, 5], "x":12, "y":5}, + {"matrix": [5, 4], "x":13, "y":5}, + {"matrix": [5, 3], "x":14, "y":5}, + {"matrix": [11, 6], "x":15, "y":5} + ] + } + } +} + diff --git a/keyboards/ymdk/ymd75/rev4/iso/keymaps/default/keymap.c b/keyboards/ymdk/ymd75/rev4/iso/keymaps/default/keymap.c new file mode 100644 index 0000000000..15dc1dc8b7 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +// Copyright 2023 zvecr<git@zvecr.com> +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│PSc│Pse│Del│ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤ + * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│Hom│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │PgU│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ Ent├───┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │PgD│ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤ + * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│GUI │Alt │ │Alt│GUI│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT_75_iso( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_PAUS, KC_DEL, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_75_iso( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), +}; diff --git a/keyboards/ymdk/ymd75/rev4/iso/keymaps/via/keymap.c b/keyboards/ymdk/ymd75/rev4/iso/keymaps/via/keymap.c new file mode 100644 index 0000000000..15dc1dc8b7 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/keymaps/via/keymap.c @@ -0,0 +1,37 @@ +// Copyright 2023 zvecr<git@zvecr.com> +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ + * │Esc│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│PSc│Pse│Del│ + * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤ + * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│Hom│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │PgU│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ Ent├───┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │PgD│ + * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤ + * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ + * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│GUI │Alt │ │Alt│GUI│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT_75_iso( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_PAUS, KC_DEL, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_75_iso( + QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), +}; diff --git a/keyboards/ymdk/ymd75/rev4/iso/keymaps/via/rules.mk b/keyboards/ymdk/ymd75/rev4/iso/keymaps/via/rules.mk new file mode 100644 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/ymdk/ymd75/rev4/iso/mcuconf.h b/keyboards/ymdk/ymd75/rev4/iso/mcuconf.h new file mode 100644 index 0000000000..a7e5a1c058 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/mcuconf.h @@ -0,0 +1,11 @@ +// Copyright 2023 zvecr<git@zvecr.com> +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#include_next <mcuconf.h> + +#undef STM32_PWM_USE_TIM4 +#define STM32_PWM_USE_TIM4 TRUE + +#undef STM32_PLLXTPRE +#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV2 diff --git a/keyboards/ymdk/ymd75/rev4/iso/readme.md b/keyboards/ymdk/ymd75/rev4/iso/readme.md new file mode 100644 index 0000000000..43b0c92224 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/readme.md @@ -0,0 +1,24 @@ +# YMD75 V4 + +75% per key RGB hotswap PCB with North Facing LED. + +* Keyboard Maintainer: [zvecr](https://github.com/zvecr) +* Hardware Availability: <https://ymdkey.com/products/ymd-75-84-v4-rgb-hotswap-pcb-plate-north-facing-via-vial-fully-programmable> + +Make example for this keyboard (after setting up your build environment): + + make ymdk/ymd75/rev4/iso:default + +Flashing example for this keyboard: + + make ymdk/ymd75/rev4/iso: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**: Quickly double tap the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/ymdk/ymd75/rev4/iso/rules.mk b/keyboards/ymdk/ymd75/rev4/iso/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/ymdk/ymd75/rev4/iso/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank |