forked from forks/qmk_firmware
fefd7fdc51
* Use copy_tree from distutils for python 3.7 support * Bump python version in docs * Changed new-keyboard to use printf-style format strings * Use username for manunfacturer / maintainer * Update lib/python/qmk/cli/new/keyboard.py Co-authored-by: Zach White <skullydazed@drpepper.org> Co-authored-by: Zach White <skullydazed@drpepper.org>
23 lines
490 B
C
23 lines
490 B
C
// Copyright %(YEAR)s %(YOUR_NAME)s (@%(USER_NAME)s)
|
|
// 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(
|
|
KC_A, KC_1, MO(_FN),
|
|
KC_TAB, KC_SPC
|
|
),
|
|
[_FN] = LAYOUT(
|
|
_______, _______, _______,
|
|
RESET, XXXXXXX
|
|
)
|
|
};
|