mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-14 04:24:41 +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
558 B
C
22 lines
558 B
C
// Copyright %(YEAR)s %(YOUR_NAME)s (@%(USER_NAME)s)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
/* This is a shortcut to help you visually see your layout.
|
|
*
|
|
* The first section contains all of the arguments representing the physical
|
|
* layout of the board and position of the keys.
|
|
*
|
|
* The second converts the arguments into a two-dimensional array which
|
|
* represents the switch matrix.
|
|
*/
|
|
#define LAYOUT( \
|
|
k00, k01, k02, \
|
|
k10, k12 \
|
|
) { \
|
|
{ k00, k01, k02 }, \
|
|
{ k10, KC_NO, k12 } \
|
|
}
|