From 574344d075f0370ef28df28c8ccedf5fa01f5c33 Mon Sep 17 00:00:00 2001 From: evan s Date: Sat, 2 Nov 2024 01:08:50 -0500 Subject: [PATCH] Add keyboard v4n4g0n_he --- .../thevankeyboards/v4n4g0n_he/keyboard.json | 98 +++++++++++++++++++ .../v4n4g0n_he/keymaps/default/keymap.c | 54 ++++++++++ .../thevankeyboards/v4n4g0n_he/readme.md | 13 +++ 3 files changed, 165 insertions(+) create mode 100644 keyboards/thevankeyboards/v4n4g0n_he/keyboard.json create mode 100644 keyboards/thevankeyboards/v4n4g0n_he/keymaps/default/keymap.c create mode 100644 keyboards/thevankeyboards/v4n4g0n_he/readme.md diff --git a/keyboards/thevankeyboards/v4n4g0n_he/keyboard.json b/keyboards/thevankeyboards/v4n4g0n_he/keyboard.json new file mode 100644 index 00000000000..84e348c5c79 --- /dev/null +++ b/keyboards/thevankeyboards/v4n4g0n_he/keyboard.json @@ -0,0 +1,98 @@ +{ + "keyboard_name": "V4N4G0N HE", + "manufacturer": "trashman", + "url": "https://trashman.club", + "maintainer": "qmk", + "usb": { + "vid": "0xFEAE", + "pid": "0x885E", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": true, + "command": true, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": false, + "backlight": false + }, + "qmk": { + "locking": { + "enabled": true, + "resync": true + } + }, + "matrix_pins": { + "direct": [ + ["A14", "A15", "C10", "B3", "B4", "B5", null, null, null, null, null, null], + ["C9", "A8", "A13", "D2", "B7", "B8", "C13", "C14", "C15", "C2", "C3", "A0"], + ["C7", "C8", "A10", "C11", "B6", "F0", "F1", "C1", "A2", "A4", "A5", "A6"], + ["B15", "C6", "A9", "C12", "B9", "C0", "A1", "A3", "A7", "C4", "C5", "B0"], + ["B14", "B13", "B12", "B1", "B11", "B10", "B2", null, null, null, null, null] + ] + }, + "diode_direction": "COL2ROW", + "processor": "STM32F072", + "bootloader": "stm32-dfu", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0.5, "y": 0}, + {"matrix": [0, 1], "x": 1.5, "y": 0}, + {"matrix": [0, 2], "x": 2.5, "y": 0}, + {"matrix": [0, 3], "x": 3.5, "y": 0}, + {"matrix": [0, 4], "x": 4.5, "y": 0}, + {"matrix": [0, 5], "x": 5.5, "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": [1, 9], "x": 9, "y": 1}, + {"matrix": [1, 10], "x": 10, "y": 1}, + {"matrix": [1, 11], "x": 11, "y": 1, "w": 1.75}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.25}, + {"matrix": [2, 1], "x": 1.25, "y": 2}, + {"matrix": [2, 2], "x": 2.25, "y": 2}, + {"matrix": [2, 3], "x": 3.25, "y": 2}, + {"matrix": [2, 4], "x": 4.25, "y": 2}, + {"matrix": [2, 5], "x": 5.25, "y": 2}, + {"matrix": [2, 6], "x": 6.25, "y": 2}, + {"matrix": [2, 7], "x": 7.25, "y": 2}, + {"matrix": [2, 8], "x": 8.25, "y": 2}, + {"matrix": [2, 9], "x": 9.25, "y": 2}, + {"matrix": [2, 10], "x": 10.25, "y": 2}, + {"matrix": [2, 11], "x": 11.25, "y": 2, "w": 1.5}, + + {"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": [3, 9], "x": 9.75, "y": 3}, + {"matrix": [3, 10], "x": 10.75, "y": 3}, + {"matrix": [3, 11], "x": 11.75, "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, "w": 1.25}, + {"matrix": [4, 3], "x": 3.5, "y": 4, "w": 6.25}, + {"matrix": [4, 4], "x": 9.75, "y": 4}, + {"matrix": [4, 5], "x": 10.75, "y": 4}, + {"matrix": [4, 6], "x": 11.75, "y": 4} + ] + } + } +} diff --git a/keyboards/thevankeyboards/v4n4g0n_he/keymaps/default/keymap.c b/keyboards/thevankeyboards/v4n4g0n_he/keymaps/default/keymap.c new file mode 100644 index 00000000000..3f0702c2f55 --- /dev/null +++ b/keyboards/thevankeyboards/v4n4g0n_he/keymaps/default/keymap.c @@ -0,0 +1,54 @@ +/* +Copyright 2020 +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 + +enum layers { + _LAYER0, + _LAYER1, + _LAYER2, + _LAYER3, +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [_LAYER0] = LAYOUT( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + LT(_LAYER1, KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(_LAYER1, KC_QUOT), + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, LT(_LAYER2, KC_ENT), + KC_LCTL, MO(2), KC_LGUI, KC_SPC, KC_RSFT, KC_LALT, TG(_LAYER3) + ), + [_LAYER1] = LAYOUT( + _______, _______, _______, _______, _______, _______, + KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, + _______, KC_BSLS, KC_QUOT, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_DOWN, KC_UP, KC_LEFT, KC_RIGHT, _______, + _______, _______, _______, _______, _______, _______, _______, KC_MSTP, KC_MPLY, KC_MPRV, KC_MNXT, _______, + _______, _______, _______, _______, _______, _______, _______ + ), + [_LAYER2] = LAYOUT( + _______, _______, _______, _______, _______, _______, + KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, + _______, KC_PIPE, KC_DQT, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_4, KC_5, KC_6, KC_VOLU, _______, + _______, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, KC_VOLD, _______, + _______, _______, _______, _______, _______, _______, _______ + ), + [_LAYER3] = LAYOUT( + _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, + KC_ESC, _______, _______, _______, _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, + _______, _______, _______, _______, _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, + _______, KC_LALT, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/thevankeyboards/v4n4g0n_he/readme.md b/keyboards/thevankeyboards/v4n4g0n_he/readme.md new file mode 100644 index 00000000000..2c3c2672993 --- /dev/null +++ b/keyboards/thevankeyboards/v4n4g0n_he/readme.md @@ -0,0 +1,13 @@ +# V4N4G0N HE + +A gaming keyboard building off the jetvan minivan layout + +* Keyboard Maintainer: trashman +* Hardware Supported: h3ll4g0n pcb +* Hardware Availability: TBA + +Make example for this keyboard (after setting up your build environment): + + make thevankeyboards/v4n4g0n_he: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).