diff options
author | katherine <ageha@airen-no-jikken.icu> | 2022-05-13 00:40:55 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2022-05-13 00:40:55 -0700 |
commit | 58529a552b973f7c3cf45fb7796fc0d4e526875c (patch) | |
tree | 9bde142a428a5531e18e3c2e70aa2fc84598b45b /.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c | |
parent | 2062f27b949d21fe01662e32a70b186a9d0f3741 (diff) | |
download | dotfiles-58529a552b973f7c3cf45fb7796fc0d4e526875c.tar.gz |
new keyboard
Diffstat (limited to '.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c')
-rw-r--r-- | .config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c new file mode 100644 index 0000000..76540c9 --- /dev/null +++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c @@ -0,0 +1,87 @@ +#include QMK_KEYBOARD_H + +#define _BASE 0 +#define _QWERTY 1 +#define _FN 2 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* BASE + * ,------------------------------------------ ------------------------------------------. + * | Esc | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Tab | Q | W | D | V | G | | X | T | I | O | U | Bksp | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Ctrl | M | S | E | F | R | | H | J | K | L | ' | Enter| + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Shift| Z | B | C | A | Y | | P | N | , | . | / | Shift| + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | FN | Alt | Super| Ctrl | Space | | Space | Ctrl | Super| Alt | FN | + * `------------------------------------------ ------------------------------------------' + */ +[_BASE] = LAYOUT( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, + KC_TAB, KC_Q, KC_W, KC_D, KC_V, KC_G, KC_X, KC_T, KC_I, KC_O, KC_U, KC_BSPC, + KC_LCTL, KC_M, KC_S, KC_E, KC_F, KC_R, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_B, KC_C, KC_A, KC_Y, KC_P, KC_N, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + MO(_FN), KC_LALT, KC_LGUI, KC_LCTL, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RCTL, KC_RGUI, KC_RALT, MO(_FN) +), + +/* QWERTY + * ,------------------------------------------ ------------------------------------------. + * | | | | | | | | | | | | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | Q | W | E | R | T | | Y | U | I | O | P | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | A | S | D | F | G | | H | J | K | L | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | Z | X | C | V | B | | N | M | | | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | | | | | | | | | | | + * `------------------------------------------ ------------------------------------------' + */ +[_QWERTY] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, _______, + _______, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, _______, _______, + _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ +), + +/* FN + * ,------------------------------------------ ------------------------------------------. + * | | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | ` | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | Caps | F11 | F12 | | | ScLk | | PScr | = | \ | [ | ] | Del | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | VlDn | VlUp | Mute |Eject | | | Left | Down | Up |Right | ; | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | | | | | | | Home | PgDn | PgUp | End | | | + * |------+------+------+------+------+------+ +------+------+------+------+------+------| + * | | | | | | | | | | | | + * `------------------------------------------ ------------------------------------------' + */ +[_FN] = LAYOUT( + RGB_TOG, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_GRV, + KC_CAPS, KC_F11, KC_F12, _______, _______, KC_SCRL, KC_PSCR, KC_EQL, KC_BSLS, KC_LBRC, KC_RBRC, KC_DEL, + _______, KC_KB_VOLUME_DOWN, KC_KB_VOLUME_UP, KC_KB_MUTE, KC_MEDIA_EJECT, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_SCLN, _______, + _______, _______, _______, _______, _______, _______, KC_HOME, KC_PAGE_DOWN, KC_PAGE_UP, KC_END, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ +), + +}; + + +const uint16_t PROGMEM combo_qwerty[] = { KC_LCTL, KC_RCTL, COMBO_END }; + +combo_t key_combos[] = { + COMBO(combo_qwerty, TG(_QWERTY)), +}; +uint16_t COMBO_LEN = sizeof(key_combos) / sizeof(combo_t); + + +void keyboard_post_init_user(void) { + rgblight_disable(); + rgblight_sethsv(148, 56, 71); + rgblight_mode(RGBLIGHT_MODE_BREATHING); +} |