1 #include QMK_KEYBOARD_H
3 // Each layer gets a name for readability, which is then used in the keymap matrix below.
4 // The underscores don't mean anything - you can have a layer called STUFF or any other name.
5 // Layer names don't all need to be of the same length, obviously, and you can also skip them
6 // entirely and just use numbers.
10 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
11 /* Keymap _BL: (Base Layer) Default Layer
12 * ,-------------------.
14 * |----|----|----|----|
16 * |----|----|----|----|
18 * |----|----|----| + |
20 * |----|----|----|----|
22 * |----|----|----| En |
24 * `-------------------'
27 [_BL] = LAYOUT_numpad_6x4(
28 KC_ESC, KC_TAB, KC_BSPC, KC_PEQL,
29 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
31 KC_P4, KC_P5, KC_P6, KC_PPLS,
33 KC_P0, LT(_FL,KC_PDOT), KC_PENT
36 /* Keymap _FL: Function Layer
37 * ,-------------------.
39 * |----|----|----|----|
41 * |----|----|----|----|
43 * |----|----|----|RST |
45 * |----|----|----|----|
47 * |----|----|----| En |
49 * `-------------------'
51 [_FL] = LAYOUT_numpad_6x4(
52 KC_ESC, KC_TAB, KC_BSPC, KC_PEQL,
53 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
55 KC_P4, KC_P5, KC_P6, RESET,
57 KC_P0, LT(_FL,KC_PDOT), KC_PENT