keymap.c (934B)
1 // Copyright 2021 s8erdude (@jpuerto96) 2 // SPDX-License-Identifier: GPL-2.0-or-later 3 4 #include QMK_KEYBOARD_H 5 6 7 // Each layer gets a name for readability, which is then used in the keymap matrix below. 8 // The underscores don't mean anything - you can have a layer called STUFF or any other name. 9 // Layer names don't all need to be of the same length, obviously, and you can also skip them 10 // entirely and just use numbers. 11 12 enum layer_names { 13 _BASE, 14 }; 15 16 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 17 [_BASE] = LAYOUT_split_3x5_3( 18 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, 19 KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, 20 KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, 21 KC_LGUI, KC_SPC, KC_TAB, KC_BSPC, KC_ENT, KC_RALT 22 ) 23 };