1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/handwired/m40/5x5_macropad/keymaps/default/keymap.c

27 lines
1.4 KiB
C
Raw Normal View History

// Copyright 2022 Tomek (@m40-dev)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE,
_FN
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
[_BASE] = LAYOUT_ortho_5x5(
//┌────────┬────────┬────────┬────────┬────────┐
KC_ESC, KC_1, KC_2, KC_3, QK_BOOT,
//├────────┼────────┼────────┼────────┬────────┤
KC_1, KC_2, KC_3, KC_4, KC_5,
//├────────┼────────┼────────┼────────┼────────┤
KC_1, KC_2, KC_3, KC_4, KC_5,
//├────────┼────────┼────────┼────────┼────────┤
KC_1, KC_2, KC_3, KC_4, KC_5,
//├────────┼────────┼────────┼────────┼────────┤
KC_1, KC_2, KC_3, KC_4, KC_5 )
//└────────┴────────┴────────┴─────────────────┘
};