mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 20:18:49 +06:00
3de3f885de
Co-authored-by: Ryan <fauxpark@gmail.com>
32 lines
863 B
C
32 lines
863 B
C
// Copyright 2022 Arturo Avila (@ADPenrose)
|
|
// 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_all( \
|
|
K00, K01, K02, K03, \
|
|
K10, K11, K12, K13, \
|
|
K20, K21, K22, K23, \
|
|
K30, K31, K32, K33, \
|
|
K40, K41, K42, K43, \
|
|
K54, K50, K51, K52, K53 \
|
|
) { \
|
|
{ K00, K01, K02, K03, KC_NO }, \
|
|
{ K10, K11, K12, K13, KC_NO }, \
|
|
{ K20, K21, K22, K23, KC_NO }, \
|
|
{ K30, K31, K32, K33, KC_NO }, \
|
|
{ K40, K41, K42, K43, KC_NO }, \
|
|
{ K50, K51, K52, K53, K54 } \
|
|
}
|