diff options
author | QMK Bot <hello@qmk.fm> | 2023-10-05 03:57:01 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2023-10-05 03:57:01 +0000 |
commit | cf5077451fb1d04846c5b1084b056ee1ad9324b3 (patch) | |
tree | 7ce9f068e2ece45a9d5aed1e661718eb386f6345 /keyboards/viktus | |
parent | c05603fa8c283616306d999273946a25a32fece0 (diff) | |
parent | 22fbbbb1cc5f3782cd70a088bc7cf9122462893e (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/viktus')
-rw-r--r-- | keyboards/viktus/sp111_v2/info.json | 198 | ||||
-rw-r--r-- | keyboards/viktus/sp111_v2/keymaps/default/keymap.c | 49 | ||||
-rw-r--r-- | keyboards/viktus/sp111_v2/keymaps/via/config.h | 6 | ||||
-rw-r--r-- | keyboards/viktus/sp111_v2/keymaps/via/keymap.c | 22 | ||||
-rw-r--r-- | keyboards/viktus/sp111_v2/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/viktus/sp111_v2/readme.md | 27 | ||||
-rw-r--r-- | keyboards/viktus/sp111_v2/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/viktus/sp111_v2/sp111_v2.c | 12 |
8 files changed, 317 insertions, 0 deletions
diff --git a/keyboards/viktus/sp111_v2/info.json b/keyboards/viktus/sp111_v2/info.json new file mode 100644 index 0000000000..63c531ee44 --- /dev/null +++ b/keyboards/viktus/sp111_v2/info.json @@ -0,0 +1,198 @@ +{ + "manufacturer": "BlindAssassin111", + "keyboard_name": "viktus/sp111_v2", + "maintainer": "blindassassin111", + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["C6", "F6", "F5", "F4", "F1", "F7", "B7", "D2", "D3", "D5", "D4"], + "rows": ["C7", "B6", "B5", "B4", "D7", "D6"] + }, + "ws2812": { + "pin": "F0" + }, + "rgb_matrix": { + "driver": "ws2812", + "max_brightness": 150, + "layout": [ + { "flags": 8, "x": 0, "y": 0 }, + { "flags": 8, "x": 0, "y": 1 }, + { "flags": 8, "x": 0, "y": 2 } + ], + "animations": { + "alphas_mods": true, + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "rainbow_moving_chevron": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true + } + }, + "split": { + "enabled": true, + "matrix_pins": { + "right": { + "cols": ["C6", "F1", "B4", "B5", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "B6", "F4", "F5", "F6", "F7"] + } + }, + "transport": { + "protocol": "i2c" + }, + "usb_detect": { + "enabled": true + } + }, + "url": "https://viktus.design/", + "usb": { + "device_version": "2.0.0", + "pid": "0x5112", + "vid": "0x5644" + }, + "layouts": { + "LAYOUT": { + "layout": [ + { "label": "0,0", "matrix": [0, 0], "x": 0, "y": 0 }, + { "label": "0,1", "matrix": [0, 1], "x": 1, "y": 0 }, + { "label": "0,2", "matrix": [0, 2], "x": 2, "y": 0 }, + { "label": "0,3", "matrix": [0, 3], "x": 3, "y": 0 }, + { "label": "0,4", "matrix": [0, 4], "x": 4.5, "y": 0 }, + { "label": "0,5", "matrix": [0, 5], "x": 5.75, "y": 0 }, + { "label": "0,6", "matrix": [0, 6], "x": 6.75, "y": 0 }, + { "label": "0,7", "matrix": [0, 7], "x": 7.75, "y": 0 }, + { "label": "0,8", "matrix": [0, 8], "x": 8.75, "y": 0 }, + { "label": "0,9", "matrix": [0, 9], "x": 10, "y": 0 }, + { "label": "0,10", "matrix": [0, 10], "x": 11, "y": 0 }, + { "label": "6,0", "matrix": [6, 0], "x": 13, "y": 0 }, + { "label": "6,1", "matrix": [6, 1], "x": 14, "y": 0 }, + { "label": "6,3", "matrix": [6, 3], "x": 15.25, "y": 0 }, + { "label": "6,4", "matrix": [6, 4], "x": 16.25, "y": 0 }, + { "label": "6,5", "matrix": [6, 5], "x": 17.25, "y": 0 }, + { "label": "6,6", "matrix": [6, 6], "x": 18.25, "y": 0 }, + { "label": "6,7", "matrix": [6, 7], "x": 19.5, "y": 0 }, + { "label": "6,8", "matrix": [6, 8], "x": 20.75, "y": 0 }, + { "label": "6,9", "matrix": [6, 9], "x": 21.75, "y": 0 }, + { "label": "1,0", "matrix": [1, 0], "x": 0, "y": 1.5 }, + { "label": "1,1", "matrix": [1, 1], "x": 1, "y": 1.5 }, + { "label": "1,2", "matrix": [1, 2], "x": 2, "y": 1.5 }, + { "label": "1,3", "matrix": [1, 3], "x": 3, "y": 1.5 }, + { "label": "1,4", "matrix": [1, 4], "x": 4.5, "y": 1.5 }, + { "label": "1,5", "matrix": [1, 5], "x": 5.5, "y": 1.5 }, + { "label": "1,6", "matrix": [1, 6], "x": 6.5, "y": 1.5 }, + { "label": "1,7", "matrix": [1, 7], "x": 7.5, "y": 1.5 }, + { "label": "1,8", "matrix": [1, 8], "x": 8.5, "y": 1.5 }, + { "label": "1,9", "matrix": [1, 9], "x": 9.5, "y": 1.5 }, + { "label": "1,10", "matrix": [1, 10], "x": 10.5, "y": 1.5 }, + { "label": "7,0", "matrix": [7, 0], "x": 12.5, "y": 1.5 }, + { "label": "7,1", "matrix": [7, 1], "x": 13.5, "y": 1.5 }, + { "label": "7,2", "matrix": [7, 2], "x": 14.5, "y": 1.5 }, + { "label": "7,3", "matrix": [7, 3], "x": 15.5, "y": 1.5 }, + { "label": "7,4", "matrix": [7, 4], "x": 16.5, "y": 1.5 }, + { "label": "7,5", "matrix": [7, 5], "x": 17.5, "y": 1.5 }, + { "label": "7,6", "matrix": [7, 6], "x": 18.5, "y": 1.5 }, + { "label": "7,7", "matrix": [7, 7], "x": 19.5, "y": 1.5 }, + { "label": "7,8", "matrix": [7, 8], "x": 20.75, "y": 1.5 }, + { "label": "7,9", "matrix": [7, 9], "x": 21.75, "y": 1.5 }, + { "label": "2,0", "matrix": [2, 0], "x": 0, "y": 2.5 }, + { "label": "2,1", "matrix": [2, 1], "x": 1, "y": 2.5 }, + { "label": "2,2", "matrix": [2, 2], "x": 2, "y": 2.5 }, + { "label": "2,3", "matrix": [2, 3], "x": 3, "y": 2.5 }, + { "label": "2,4", "matrix": [2, 4], "w": 1.5, "x": 4.5, "y": 2.5 }, + { "label": "2,5", "matrix": [2, 5], "x": 6, "y": 2.5 }, + { "label": "2,6", "matrix": [2, 6], "x": 7, "y": 2.5 }, + { "label": "2,7", "matrix": [2, 7], "x": 8, "y": 2.5 }, + { "label": "2,8", "matrix": [2, 8], "x": 9, "y": 2.5 }, + { "label": "2,9", "matrix": [2, 9], "x": 10, "y": 2.5 }, + { "label": "8,0", "matrix": [8, 0], "x": 12, "y": 2.5 }, + { "label": "8,1", "matrix": [8, 1], "x": 13, "y": 2.5 }, + { "label": "8,2", "matrix": [8, 2], "x": 14, "y": 2.5 }, + { "label": "8,3", "matrix": [8, 3], "x": 15, "y": 2.5 }, + { "label": "8,4", "matrix": [8, 4], "x": 16, "y": 2.5 }, + { "label": "8,5", "matrix": [8, 5], "x": 17, "y": 2.5 }, + { "label": "8,6", "matrix": [8, 6], "x": 18, "y": 2.5 }, + { "label": "8,7", "matrix": [8, 7], "w": 1.5, "x": 19, "y": 2.5 }, + { "label": "8,8", "matrix": [8, 8], "x": 20.75, "y": 2.5 }, + { "label": "8,9", "matrix": [8, 9], "x": 21.75, "y": 2.5 }, + { "label": "3,0", "matrix": [3, 0], "x": 0, "y": 3.5 }, + { "label": "3,1", "matrix": [3, 1], "x": 1, "y": 3.5 }, + { "label": "3,2", "matrix": [3, 2], "x": 2, "y": 3.5 }, + { "label": "3,3", "matrix": [3, 3], "x": 3, "y": 3.5 }, + { "label": "3,4", "matrix": [3, 4], "w": 1.75, "x": 4.5, "y": 3.5 }, + { "label": "3,5", "matrix": [3, 5], "x": 6.25, "y": 3.5 }, + { "label": "3,6", "matrix": [3, 6], "x": 7.25, "y": 3.5 }, + { "label": "3,7", "matrix": [3, 7], "x": 8.25, "y": 3.5 }, + { "label": "3,8", "matrix": [3, 8], "x": 9.25, "y": 3.5 }, + { "label": "3,9", "matrix": [3, 9], "x": 10.25, "y": 3.5 }, + { "label": "9,0", "matrix": [9, 0], "x": 12.25, "y": 3.5 }, + { "label": "9,1", "matrix": [9, 1], "x": 13.25, "y": 3.5 }, + { "label": "9,2", "matrix": [9, 2], "x": 14.25, "y": 3.5 }, + { "label": "9,3", "matrix": [9, 3], "x": 15.25, "y": 3.5 }, + { "label": "9,4", "matrix": [9, 4], "x": 16.25, "y": 3.5 }, + { "label": "9,5", "matrix": [9, 5], "x": 17.25, "y": 3.5 }, + { "label": "9,6", "matrix": [9, 6], "x": 18.25, "y": 3.5 }, + { "label": "9,7", "matrix": [9, 7], "w": 1.25, "x": 19.25, "y": 3.5 }, + { "label": "9,8", "matrix": [9, 8], "x": 20.75, "y": 3.5 }, + { "label": "9,9", "matrix": [9, 9], "x": 21.75, "y": 3.5 }, + { "label": "4,0", "matrix": [4, 0], "x": 0, "y": 4.5 }, + { "label": "4,1", "matrix": [4, 1], "x": 1, "y": 4.5 }, + { "label": "4,2", "matrix": [4, 2], "x": 2, "y": 4.5 }, + { "label": "4,3", "matrix": [4, 3], "x": 3, "y": 4.5 }, + { "label": "4,4", "matrix": [4, 4], "w": 1.25, "x": 4.5, "y": 4.5 }, + { "label": "4,5", "matrix": [4, 5], "x": 5.75, "y": 4.5 }, + { "label": "4,6", "matrix": [4, 6], "x": 6.75, "y": 4.5 }, + { "label": "4,7", "matrix": [4, 7], "x": 7.75, "y": 4.5 }, + { "label": "4,8", "matrix": [4, 8], "x": 8.75, "y": 4.5 }, + { "label": "4,9", "matrix": [4, 9], "x": 9.75, "y": 4.5 }, + { "label": "4,10", "matrix": [4, 10], "x": 10.75, "y": 4.5 }, + { "label": "10,1", "matrix": [10, 1], "x": 12.75, "y": 4.5 }, + { "label": "10,1", "matrix": [10, 2], "x": 13.75, "y": 4.5 }, + { "label": "10,2", "matrix": [10, 3], "x": 14.75, "y": 4.5 }, + { "label": "10,3", "matrix": [10, 4], "x": 15.75, "y": 4.5 }, + { "label": "10,4", "matrix": [10, 5], "x": 16.75, "y": 4.5 }, + { "label": "10,6", "matrix": [10, 6], "w": 1.75, "x": 17.75, "y": 4.5 }, + { "label": "10,7", "matrix": [10, 7], "x": 19.5, "y": 4.5 }, + { "label": "10,8", "matrix": [10, 8], "x": 20.75, "y": 4.75 }, + { "label": "5.0", "matrix": [5, 0], "x": 0, "y": 5.5 }, + { "label": "5,1", "matrix": [5, 1], "x": 1, "y": 5.5 }, + { "label": "5,2", "matrix": [5, 2], "x": 2, "y": 5.5 }, + { "label": "5,3", "matrix": [5, 3], "x": 3, "y": 5.5 }, + { "label": "5,4", "matrix": [5, 4], "w": 1.25, "x": 4.5, "y": 5.5 }, + { "label": "5,5", "matrix": [5, 5], "w": 1.25, "x": 5.75, "y": 5.5 }, + { "label": "5,7", "matrix": [5, 7], "w": 1.25, "x": 7, "y": 5.5 }, + { "label": "5,8", "matrix": [5, 8], "x": 8.25, "y": 5.5 }, + { "label": "5,9", "matrix": [5, 9], "w": 2.25, "x": 9.25, "y": 5.5 }, + { "label": "11,2", "matrix": [11, 2], "w": 2.25, "x": 12.5, "y": 5.5 }, + { "label": "11,3", "matrix": [11, 3], "x": 14.75, "y": 5.5 }, + { "label": "11,4", "matrix": [11, 4], "w": 1.25, "x": 15.75, "y": 5.5 }, + { "label": "11,5", "matrix": [11, 5], "w": 1.25, "x": 17, "y": 5.5 }, + { "label": "11,6", "matrix": [11, 6], "w": 1.25, "x": 18.25, "y": 5.5 }, + { "label": "11,7", "matrix": [11, 7], "x": 19.75, "y": 5.75 }, + { "label": "11,8", "matrix": [11, 8], "x": 20.75, "y": 5.75 }, + { "label": "11,9", "matrix": [11, 9], "x": 21.75, "y": 5.75 } + ] + } + } +} diff --git a/keyboards/viktus/sp111_v2/keymaps/default/keymap.c b/keyboards/viktus/sp111_v2/keymaps/default/keymap.c new file mode 100644 index 0000000000..ac1b84e199 --- /dev/null +++ b/keyboards/viktus/sp111_v2/keymaps/default/keymap.c @@ -0,0 +1,49 @@ +// Copyright 2023 BlindAssassin111 (@blindassassin111) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +// Defines names for use in layer keycodes and the keymap +enum layer_names { + _BASE, + _FN +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌──┐┌──┐┌──┐┌──┐ ┌──┐ ┌──┐┌──┐┌──┐┌──┐ ┌──┐┌──┐ ┌──┐┌──┐ ┌──┐┌──┐┌──┐┌──┐ ┌──┐ ┌──┐┌──┐ + * │0A││0B││0C││0D│ │0E│ │0F││0G││0H││0I│ │0J││0K│ │6A││6B│ │6D││6E││6F││6G│ │6H│ │6I││6J│ + * └──┘└──┘└──┘└──┘ └──┘ └──┘└──┘└──┘└──┘ └──┘└──┘ └──┘└──┘ └──┘└──┘└──┘└──┘ └──┘ └──┘└──┘ + * ┌──┐┌──┐┌──┐┌──┐ ┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐ ┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐ ┌──┐┌──┐ + * │1A││1B││1C││1D│ │1E││1F││1G││1H││1I││1J││1K│ │7A││7B││7C││7D││7E││7F││7G││7H│ │7I││7J│ + * └──┘└──┘└──┘└──┘ └──┘└──┘└──┘└──┘└──┘└──┘└──┘ └──┘└──┘└──┘└──┘└──┘└──┘└──┘└──┘ └──┘└──┘ + * ┌──┐┌──┐┌──┐┌──┐ ┌────┐┌──┐┌──┐┌──┐┌──┐┌──┐ ┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌────┐ ┌──┐┌──┐ + * │2A││2B││2C││2D│ │2E ││2F││2G││2H││2I││2J│ │8A││8B││8C││8D││8E││8F││8G││8H │ │8I││8J│ + * └──┘└──┘└──┘└──┘ └────┘└──┘└──┘└──┘└──┘└──┘ └──┘└──┘└──┘└──┘└──┘└──┘└──┘└────┘ └──┘└──┘ + * ┌──┐┌──┐┌──┐┌──┐ ┌─────┐┌──┐┌──┐┌──┐┌──┐┌──┐ ┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐┌───┐ ┌──┐┌──┐ + * │3A││3B││3C││3D│ │3E ││3F││3G││3H││3I││3J│ │9A││9B││9C││9D││9E││9F││9G││9H │ │9I││9J│ + * └──┘└──┘└──┘└──┘ └─────┘└──┘└──┘└──┘└──┘└──┘ └──┘└──┘└──┘└──┘└──┘└──┘└──┘└───┘ └──┘└──┘ + * ┌──┐┌──┐┌──┐┌──┐ ┌───┐┌──┐┌──┐┌──┐┌──┐┌──┐┌──┐ ┌──┐┌──┐┌──┐┌──┐┌──┐┌─────┐┌──┐ + * │4A││4B││4C││4D│ │4E ││4F││4G││4H││4I││4J││4K│ │AB││AC││AD││AE││AF││AG ││AH│ ┌──┐ + * └──┘└──┘└──┘└──┘ └───┘└──┘└──┘└──┘└──┘└──┘└──┘ └──┘└──┘└──┘└──┘└──┘└─────┘└──┘ │AI│ + * ┌──┐┌──┐┌──┐┌──┐ ┌───┐┌───┐┌───┐┌──┐┌───────┐ ┌───────┐┌──┐┌───┐┌───┐┌───┐ └──┘ + * │5A││5B││5C││5D│ │5E ││5F ││5H ││5I││5J │ │BC ││BD││BE ││BF ││BG │ ┌──┐┌──┐┌──┐ + * └──┘└──┘└──┘└──┘ └───┘└───┘└───┘└──┘└───────┘ └───────┘└──┘└───┘└───┘└───┘ │BH││BI││BJ│ + * └──┘└──┘└──┘ + */ + [_BASE] = LAYOUT( + KC_MUTE,KC_MPRV,KC_MPLY,KC_MNXT, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, + KC_NUM, KC_PSLS,KC_PAST,KC_PMNS, 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_DEL, KC_HOME, KC_INS, + KC_P7, KC_P8, KC_P9, KC_PPLS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END, KC_DEL, + KC_P4, KC_P5, KC_P6, KC_PEQL, 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_PGUP, KC_PGDN, + KC_P1, KC_P2, KC_P3, KC_PENT, 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(_FN), KC_UP, + KC_P0, KC_P0, KC_P0, KC_PDOT, KC_LCTL, KC_LGUI, KC_LALT, KC_MUTE, KC_SPC, KC_SPC, KC_APP, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), + + [_FN] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) +}; diff --git a/keyboards/viktus/sp111_v2/keymaps/via/config.h b/keyboards/viktus/sp111_v2/keymaps/via/config.h new file mode 100644 index 0000000000..917fe0c8bb --- /dev/null +++ b/keyboards/viktus/sp111_v2/keymaps/via/config.h @@ -0,0 +1,6 @@ +// Copyright 2023 BlindAssassin111 (@blindassassin111) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 diff --git a/keyboards/viktus/sp111_v2/keymaps/via/keymap.c b/keyboards/viktus/sp111_v2/keymaps/via/keymap.c new file mode 100644 index 0000000000..57e25720f9 --- /dev/null +++ b/keyboards/viktus/sp111_v2/keymaps/via/keymap.c @@ -0,0 +1,22 @@ +// Copyright 2023 BlindAssassin111 (@blindassassin111) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_MUTE,KC_MPRV,KC_MPLY,KC_MNXT, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, + KC_NUM, KC_PSLS,KC_PAST,KC_PMNS, 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_BSPC, KC_HOME, KC_INS, + KC_P7, KC_P8, KC_P9, KC_PMNS, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END, KC_DEL, + KC_P4, KC_P5, KC_P6, KC_PPLS, 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_PGUP, KC_PGDN, + KC_P1, KC_P2, KC_P3, KC_PPLS, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, + KC_P0, KC_P0, KC_PDOT, KC_PENT, KC_LCTL, KC_LGUI, KC_LALT, KC_MUTE, KC_SPC, KC_SPC, KC_APP, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), + + [1] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) +}; diff --git a/keyboards/viktus/sp111_v2/keymaps/via/rules.mk b/keyboards/viktus/sp111_v2/keymaps/via/rules.mk new file mode 100644 index 0000000000..36b7ba9cbc --- /dev/null +++ b/keyboards/viktus/sp111_v2/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/viktus/sp111_v2/readme.md b/keyboards/viktus/sp111_v2/readme.md new file mode 100644 index 0000000000..c3767ba02b --- /dev/null +++ b/keyboards/viktus/sp111_v2/readme.md @@ -0,0 +1,27 @@ +# Viktus Styrka v2 + +![viktus/sp111_v2](https://i.imgur.com/ApgZRhgh.png) + +A split southpaw fullsize-esque layout. Round 2 of the board has RGB LED indicators. + +* Keyboard Maintainer: [BlindAssassin111](https://github.com/blindassassin111) +* Hardware Supported: SP-111 round 2 PCBs only +* Hardware Availability: Space Cables, Ashkeebs, protoTypist, mykeyboard, ilumkb, SwitchKeys + +Make example for this keyboard (after setting up your build environment): + + make viktus/sp111_v2:default + +Flashing example for this keyboard: + + make viktus/sp111_v2:default:flash + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/viktus/sp111_v2/rules.mk b/keyboards/viktus/sp111_v2/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/viktus/sp111_v2/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/viktus/sp111_v2/sp111_v2.c b/keyboards/viktus/sp111_v2/sp111_v2.c new file mode 100644 index 0000000000..96a9aaa5fe --- /dev/null +++ b/keyboards/viktus/sp111_v2/sp111_v2.c @@ -0,0 +1,12 @@ +// Copyright 2023 BlindAssassin111 (@blindassassin111) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "quantum.h" + +void keyboard_pre_init_kb(void) { + // enable built in pullups to avoid timeouts when right hand not connected + setPinInputHigh(D0); + setPinInputHigh(D1); + + keyboard_pre_init_user(); +} |