[content] /Users/franzsrambical/qmk_firmware/keyboards/annepro2/keymaps/miryoku/keymap.c (c)
 /* Copyright 2021 OpenAnnePro community * * 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 enum anne_pro_layers { BASE, NAV, MOUSE, MEDIA, NUMBERS, SYMBOLS, FUN }; // Layer-Tap and Mod-Tap keycodes #define NAV_SPC LT(NAV, KC_SPC) #define MOU_TAB LT(MOUSE, KC_TAB) #define MED_ENT LT(MEDIA, KC_ENT) #define NUM_BSP LT(NUMBERS, KC_BSPC) #define SYM_ESC LT(SYMBOLS, KC_ESC) #define FUN_DEL LT(FUN, KC_DEL) #define CTL_ESC MT(MOD_LCTL, KC_ESC) #define GUI_A MT(MOD_LGUI, KC_A) #define ALT_S MT(MOD_LALT, KC_S) #define CTL_D MT(MOD_LCTL, KC_D) #define SFT_F MT(MOD_LSFT, KC_F) #define SFT_J MT(MOD_RSFT, KC_J) #define CTL_K MT(MOD_RCTL, KC_K) #define ALT_L MT(MOD_RALT, KC_L) #define GUI_QUOT MT(MOD_RGUI, KC_QUOT) const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [BASE] = LAYOUT_60_ansi( // Left Hand _______, KC_Q, KC_W, KC_E, KC_R, KC_T, CTL_ESC, GUI_A, ALT_S, CTL_D, SFT_F, KC_G, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, SYM_ESC, NAV_SPC, MOU_TAB, // Right Hand KC_Y, KC_U, KC_I, KC_O, KC_P, FUN_DEL, KC_H, SFT_J, CTL_K, ALT_L, GUI_QUOT, _______, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, _______, MED_ENT, NUM_BSP, _______), [NAV] = LAYOUT_60_ansi( // Left Hand _______, QK_BOOT, _______, _______, _______, _______, _______, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, // Right Hand KC_REDO, KC_PAST, KC_COPY, KC_CUT, KC_UNDO, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_CAPS, _______, KC_INS, KC_PGDN, KC_PGUP, KC_HOME, KC_END, _______, KC_ENT, KC_BSPC, KC_DEL), [MOUSE] = LAYOUT_60_ansi( // Left Hand _______, QK_BOOT, _______, _______, _______, _______, _______, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, // Right Hand KC_REDO, KC_PAST, KC_COPY, KC_CUT, KC_UNDO, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, _______, _______, KC_BTN2, KC_BTN1, KC_BTN3), [MEDIA] = LAYOUT_60_ansi( // Left Hand _______, QK_BOOT, _______, _______, _______, _______, _______, KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, // Right Hand _______, KC_BRIU, KC_BRID, _______, _______, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, _______, _______, _______, KC_AP2_BT1, KC_AP2_BT2, KC_AP2_BT3, KC_AP2_BT4, _______, KC_MUTE, KC_MPLY, _______), [NUMBERS] = LAYOUT_60_ansi( // Left Hand _______, KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, _______, KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, _______, KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_DOT, KC_0, KC_MINS, // Right Hand _______, _______, _______, _______, _______, _______, _______, KC_RSFT, KC_RCTL, KC_RALT, KC_RGUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), [SYMBOLS] = LAYOUT_60_ansi( // Left Hand _______, KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, _______, KC_COLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, _______, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_LPRN, KC_RPRN, KC_UNDS, // Right Hand _______, _______, _______, _______, _______, _______, _______, KC_RSFT, KC_RCTL, KC_RALT, KC_RGUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), [FUN] = LAYOUT_60_ansi( // Left Hand _______, KC_F12, KC_F7, KC_F8, KC_F9, _______, _______, KC_F11, KC_F4, KC_F5, KC_F6, _______, _______, KC_F10, KC_F1, KC_F2, KC_F3, _______, KC_APP, KC_SPC, KC_TAB, // Right Hand _______, _______, _______, _______, _______, _______, _______, KC_RSFT, KC_RCTL, KC_RALT, KC_RGUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) };