keymap.c (1640B)
1 /* Copyright 2024 Vinod Chowl (@vchowl) 2 * 3 * This program is free software: you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published by 5 * the Free Software Foundation, either version 2.0 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 17 #include QMK_KEYBOARD_H 18 19 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 20 /* 21 * ┌───┐ 22 * │Tog│ 23 * ├───┼───┬───┐ 24 * │ 7 │ 8 │ 9 │ 25 * ├───┼───┼───┤ 26 * │ 4 │ 5 │ 6 │ 27 * ├───┼───┼───┤ 28 * │ 1 │ 2 │ 3 │ 29 * └───┴───┴───┘ 30 */ 31 [0] = LAYOUT( 32 TO(1), 33 KC_7, KC_8, KC_9, 34 KC_4, KC_5, KC_6, 35 KC_1, KC_2, KC_3 36 ), 37 38 [1] = LAYOUT( 39 TO(2), 40 KC_A, KC_B, KC_C, 41 KC_D, KC_E, KC_F, 42 KC_G, KC_H, KC_I 43 ), 44 45 [2] = LAYOUT( 46 TO(3), 47 KC_J, KC_K, KC_L, 48 KC_M, KC_N, KC_O, 49 KC_P, KC_Q, KC_R 50 ), 51 52 [3] = LAYOUT( 53 TO(0), 54 KC_S, KC_T, KC_U, 55 KC_V, KC_W, KC_X, 56 KC_Y, KC_Z, KC_ENT 57 ) 58 };