diff --git a/keyboards/drop/ctrl/keymaps/vial/config.h b/keyboards/drop/ctrl/keymaps/vial/config.h new file mode 100644 index 0000000000..77ee3ed79d --- /dev/null +++ b/keyboards/drop/ctrl/keymaps/vial/config.h @@ -0,0 +1,10 @@ +// Copyright 2023 Massdrop, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define DYNAMIC_KEYMAP_LAYER_COUNT 8 + +#define VIAL_KEYBOARD_UID {0xAB, 0x41, 0x47, 0xE5, 0x46, 0xD6, 0xB8, 0xC2} + +#define VIAL_UNLOCK_COMBO_ROWS { 0, 3 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 13 } \ No newline at end of file diff --git a/keyboards/drop/ctrl/keymaps/vial/keymap.c b/keyboards/drop/ctrl/keymaps/vial/keymap.c new file mode 100644 index 0000000000..82b1088921 --- /dev/null +++ b/keyboards/drop/ctrl/keymaps/vial/keymap.c @@ -0,0 +1,22 @@ +// Copyright 2023 Massdrop, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_tkl_ansi( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_tkl_ansi( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU, + _______, RGB_TOG, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, + _______, RGB_MOD, RGB_VAD, RGB_SPD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, + _______, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW,QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, + _______, _______, _______, EE_CLR, _______, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/drop/ctrl/keymaps/vial/rules.mk b/keyboards/drop/ctrl/keymaps/vial/rules.mk new file mode 100644 index 0000000000..31bb6d699f --- /dev/null +++ b/keyboards/drop/ctrl/keymaps/vial/rules.mk @@ -0,0 +1,3 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes +VIALRGB_ENABLE = yes \ No newline at end of file diff --git a/keyboards/drop/ctrl/keymaps/vial/vial.json b/keyboards/drop/ctrl/keymaps/vial/vial.json new file mode 100644 index 0000000000..2fd5c28e8f --- /dev/null +++ b/keyboards/drop/ctrl/keymaps/vial/vial.json @@ -0,0 +1,210 @@ +{ + "name": "Drop CTRL V2", + "vendorId": "0x359B", + "productId": "0x0009", + "lighting": "vialrgb", + "matrix": { + "rows": 11, + "cols": 8 + }, + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "x": 1, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.5 + }, + "0,5", + "0,6", + "0,7", + "6,0", + { + "x": 0.5 + }, + "6,1", + "6,2", + "6,3", + "6,4", + { + "x": 0.25 + }, + "6,5", + "6,6", + "6,7" + ], + [ + { + "y": 0.5 + }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "7,0", + "7,1", + "7,2", + "7,3", + "7,4", + { + "c": "#aaaaaa", + "w": 2 + }, + "7,5", + { + "x": 0.25, + "c": "#cccccc" + }, + "7,6", + "7,7", + "9,7" + ], + [ + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "8,0", + "8,1", + "8,2", + "8,3", + "8,4", + { + "w": 1.5 + }, + "8,5", + { + "x": 0.25 + }, + "8,6", + "8,7", + "9,6" + ], + [ + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "9,0", + "9,1", + "9,2", + "9,3", + { + "c": "#777777", + "w": 2.25 + }, + "9,4" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "4,0", + { + "c": "#cccccc" + }, + "4,1", + "4,2", + "4,3", + "4,4", + "4,5", + "4,6", + "4,7", + "10,0", + "10,1", + "10,2", + { + "c": "#aaaaaa", + "w": 2.75 + }, + "10,3", + { + "x": 1.25, + "c": "#777777" + }, + "9,5" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "5,3", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,4", + { + "w": 1.25 + }, + "5,5", + { + "w": 1.25 + }, + "5,6", + { + "w": 1.25 + }, + "5,7", + { + "x": 0.25, + "c": "#777777" + }, + "10,4", + "10,5", + "10,6" + ] + ] + } +}