aboutsummaryrefslogtreecommitdiff
path: root/keyboards/zen/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/zen/keymaps/default/keymap.c')
-rw-r--r--keyboards/zen/keymaps/default/keymap.c84
1 files changed, 41 insertions, 43 deletions
diff --git a/keyboards/zen/keymaps/default/keymap.c b/keyboards/zen/keymaps/default/keymap.c
index a955e892f..e9e7d798c 100644
--- a/keyboards/zen/keymaps/default/keymap.c
+++ b/keyboards/zen/keymaps/default/keymap.c
@@ -1,6 +1,4 @@
1#include "zen.h" 1#include QMK_KEYBOARD_H
2#include "action_layer.h"
3#include "eeconfig.h"
4 2
5extern keymap_config_t keymap_config; 3extern keymap_config_t keymap_config;
6 4
@@ -24,47 +22,47 @@ enum custom_keycodes {
24 22
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26 24
27/* Qwerty 25 /* Qwerty
28 * ,-----------------------------------------. .-----------------------------------------. 26 * ,-----------------------------------------. .-----------------------------------------.
29 * | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp | 27 * | GESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp |
30 * |------+------+------+------+------+------| |------+------+------+------+------+------| 28 * |------+------+------+------+------+------| |------+------+------+------+------+------|
31 * | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | 29 * | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ |
32 * |------+------+------+------+------+------| |------+------+------+------+------+------| 30 * |------+------+------+------+------+------| |------+------+------+------+------+------|
33 * |CAPS(NAV)|A | S | D | F | G | | H | J | K | L | ; | " | 31 * |CAPS(NAV)|A | S | D | F | G | | H | J | K | L | ; | " |
34 * |------+------+------+------+------+------| |------+------+------+------+------+------| 32 * |------+------+------+------+------+------| |------+------+------+------+------+------|
35 * | Shift| Z | X | C | V | B | | N | M | , | . | / |Enter | 33 * | Shift| Z | X | C | V | B | | N | M | , | . | / |Enter |
36 * |------+------+------+------+------+------+------..-----+------+------+------+------+------+------| 34 * |------+------+------+------+------+------+------..-----+------+------+------+------+------+------|
37 * | Ctrl | GUI | Alt |RGBTOG| NAV |Space |Delete||Enter|Space | NAV | - | = | PGUP | PGDN | 35 * | Ctrl | GUI | Alt |RGBTOG| NAV |Space |Delete||Enter|Space | NAV | - | = | PGUP | PGDN |
38 * `------------------------------------------------''-----------------------------------------------' 36 * `------------------------------------------------''-----------------------------------------------'
39 */ 37 */
40[_QWERTY] = KEYMAP( \ 38 [_QWERTY] = LAYOUT( \
41 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ 39 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
42 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, \ 40 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, \
43 LT(_NAV, KC_CAPS),KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ 41 LT(_NAV, KC_CAPS),KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \
44 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ 42 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, \
45 KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, MO(_NAV), KC_SPC, KC_DEL, KC_ENT, KC_SPACE, MO(_NAV), KC_MINS, KC_EQL, KC_PGUP, KC_PGDN \ 43 KC_LCTL, KC_LGUI, KC_LALT, RGB_TOG, MO(_NAV), KC_SPC, KC_DEL, KC_ENT, KC_SPACE, MO(_NAV), KC_MINS, KC_EQL, KC_PGUP, KC_PGDN \
46), 44 ),
47 45
48/* NAV 46 /* NAV
49 * ,-----------------------------------------. .-----------------------------------------. 47 * ,-----------------------------------------. .-----------------------------------------.
50 * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | 48 * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
51 * |------+------+------+------+------+------| |------+------+------+------+------+------| 49 * |------+------+------+------+------+------| |------+------+------+------+------+------|
52 * | |RGBSAI|RGBVAI|RGBSAD| RESET| [ | | ] | Pgup | Up | Pgdn |Insert| Home | 50 * | |RGBSAI|RGBVAI|RGBSAD| RESET| [ | | ] | Pgup | Up | Pgdn |Insert| Home |
53 * |------+------+------+------+------+------| |------+------+------+------+------+------| 51 * |------+------+------+------+------+------| |------+------+------+------+------+------|
54 * | |RGBHUD|RGBVAD|RGBHUI| | | | | Left | Down | Right|Delete| End | 52 * | |RGBHUD|RGBVAD|RGBHUI| | | | | Left | Down | Right|Delete| End |
55 * |------+------+------+------+------+------| |------+------+------+------+------+------| 53 * |------+------+------+------+------+------| |------+------+------+------+------+------|
56 * |Shift | | | | | | | NKRO | | | Pause| Back | Next | 54 * |Shift | | | | | | | NKRO | | | Pause| Back | Next |
57 * |------+------+------+------+------+------+------..-----+------+------+------+------+------+------| 55 * |------+------+------+------+------+------+------..-----+------+------+------+------+------+------|
58 * | Ctrl | GUI | Alt |RGBMOD| | | || | | | | Mute | VOLUP| VOLDN| 56 * | Ctrl | GUI | Alt |RGBMOD| | | || | | | | Mute | VOLUP| VOLDN|
59 * `------------------------------------------------''-----------------------------------------------' 57 * `------------------------------------------------''-----------------------------------------------'
60 */ 58 */
61[_NAV] = KEYMAP( \ 59 [_NAV] = LAYOUT( \
62 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12 , \ 60 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \
63 KC_TRNS, RGB_SAI, RGB_VAI, RGB_SAD, RESET, KC_LBRC, KC_RBRC, KC_PGUP, KC_UP, KC_PGDN, KC_INS, KC_HOME , \ 61 _______, RGB_SAI, RGB_VAI, RGB_SAD, RESET, KC_LBRC, KC_RBRC, KC_PGUP, KC_UP, KC_PGDN, KC_INS, KC_HOME, \
64 KC_TRNS, RGB_HUD, RGB_VAD, RGB_HUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_DEL, KC_END , \ 62 _______, RGB_HUD, RGB_VAD, RGB_HUI, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_DEL, KC_END, \
65 KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, MAGIC_TOGGLE_NKRO, KC_TRNS, KC_TRNS, KC_MPLY, KC_MPRV, KC_MNXT , \ 63 KC_LSFT, _______, _______, _______, _______, _______, MAGIC_TOGGLE_NKRO, _______, _______, KC_MPLY, KC_MPRV, KC_MNXT, \
66 KC_LCTL, KC_LGUI, KC_LALT, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLU, KC_VOLD \ 64 KC_LCTL, KC_LGUI, KC_LALT, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLU, KC_VOLD \
67), 65 ),
68 66
69}; 67};
70 68