Skip to content

Commit

Permalink
Add Vial keymap for Drop TheKey v2 (qmk#662)
Browse files Browse the repository at this point in the history
Add Vial keymap for Drop TheKey v2 (no lighting).
  • Loading branch information
OTLabs authored Feb 5, 2024
1 parent ac3f6d5 commit 0ae9fc6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
11 changes: 11 additions & 0 deletions keyboards/drop/thekey/v2/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright 2023 Oleg Titov <oleg.titov@gmail.com>
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

// Unique keyboard id
#define VIAL_KEYBOARD_UID {0x08, 0x3B, 0x57, 0xCA, 0xC1, 0xE4, 0x65, 0xB4}

// Unlock with left + right keys
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
7 changes: 7 additions & 0 deletions keyboards/drop/thekey/v2/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// 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(KC_LCTL, KC_C, KC_V)
};
4 changes: 4 additions & 0 deletions keyboards/drop/thekey/v2/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VIA_ENABLE = yes # Enable VIA
VIAL_ENABLE = yes # Enable VIAL
LTO_ENABLE = yes
RGBLIGHT_ENABLE = no
13 changes: 13 additions & 0 deletions keyboards/drop/thekey/v2/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"lighting": "none",
"matrix": { "rows": 1, "cols": 3 },
"layouts": {
"keymap":[
[
"0,0",
"0,1",
"0,2"
]
]
}
}

0 comments on commit 0ae9fc6

Please sign in to comment.