mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
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>
22 lines
490 B
C
22 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
|
|
)
|
|
};
|