forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MechWild Mercutio Layout Addition (qmk#20738)
* add matrix_diagram.md * info.json: apply friendly formatting * add LAYOUT_625u_space with reference keymap
- Loading branch information
1 parent
38a3f6e
commit 0a8f023
Showing
4 changed files
with
177 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
keyboards/mechwild/mercutio/keymaps/default_625u_space/keymap.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* Copyright 2021 Kyle McCreery | ||
* | ||
* 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 <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[0] = LAYOUT_625u_space( | ||
KC_MUTE, | ||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, | ||
KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, | ||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(2), KC_RCTL ), | ||
|
||
[1] = LAYOUT_625u_space( | ||
_______, | ||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
_______, _______, KC_GRV, KC_BSLS, _______, _______, _______, KC_LBRC, KC_RBRC, KC_SCLN, _______, KC_QUOT, | ||
_______, _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_SLSH, KC_UP, | ||
_______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT ), | ||
|
||
[2] = LAYOUT_625u_space( | ||
_______, | ||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, | ||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______ ), | ||
|
||
[3] = LAYOUT_625u_space( | ||
_______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, _______ ) | ||
}; | ||
|
||
#ifdef ENCODER_MAP_ENABLE | ||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { | ||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, | ||
[1] = { ENCODER_CCW_CW(_______, _______) }, | ||
[2] = { ENCODER_CCW_CW(_______, _______) }, | ||
[3] = { ENCODER_CCW_CW(_______, _______) }, | ||
}; | ||
#endif |
1 change: 1 addition & 0 deletions
1
keyboards/mechwild/mercutio/keymaps/default_625u_space/rules.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Matrix Diagram for MechWild Mercutio | ||
|
||
``` | ||
┌───┐ | ||
│42 │ | ||
└───┘ | ||
┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐ | ||
│00 │01 │02 │03 │04 │05 │06 │46 │45 │44 │43 │52 │ | ||
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬────┤ ┌────────┐ | ||
│10 │11 │12 │13 │14 │15 │16 │56 │55 │54 │41 │53 │ │53 │ 2.25u Enter | ||
├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┤ └────────┘ | ||
│20 │21 │61 │23 │24 │25 │26 │66 │65 │64 │63 │62 │ | ||
├────┼───┼───┴┬──┴───┴─┬─┴─┬─┴───┴───┴┬──┴─┬─┴─┬────┤ | ||
│30 │51 │31 │34 │35 │36 │33 │32 │22 │ | ||
└────┴───┴────┴────────┴───┴──────────┴────┴───┴────┘ | ||
┌────────┐ | ||
│20 │ 2.25u LShift | ||
└────────┘ | ||
┌────┬───┬───┬────────────────────────┐ | ||
│30 │51 │31 │35 │ 6.25u Spacebar | ||
└────┴───┴───┴────────────────────────┘ | ||
``` |