mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-25 02:49:55 +00:00
f2a31b944d
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Karl Berggren <berggren.karl+git@gmail.com> Co-authored-by: spacefrogfeds <73514335+spacefrogfeds@users.noreply.github.com> Co-authored-by: Karl Berggren <karber@raysearchlabs.com>
29 lines
1.2 KiB
C
29 lines
1.2 KiB
C
// Copyright 2021 Karl Berggren <@bkarl>
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
// This a shortcut to help you visually see your layout.
|
|
// The first section contains all of the arguements
|
|
// The second converts the arguments into a two-dimensional array
|
|
#define LAYOUT( \
|
|
K10, K00, K11, K01, K12, K02, K13, K03, K14, K04, K15, K05, K16, K06, K17, K07, \
|
|
K30, K20, K31, K21, K32, K22, K33, K23, K34, K24, K35, K25, K36, K26, K37, \
|
|
K50, K40, K51, K41, K52, K42, K53, K43, K54, K44, K55, K45, K56, K47, \
|
|
K70, K60, K71, K61, K72, K62, K73, K63, K74, K64, K75, K65, K76, K66, K57, \
|
|
K80, K81, K82, K83, K84, K85, K86, K87, K77, K67 \
|
|
) { \
|
|
{K00, K01, K02, K03, K04, K05, K06, K07}, \
|
|
{K10, K11, K12, K13, K14, K15, K16, K17}, \
|
|
{K20, K21, K22, K23, K24, K25, K26, KC_NO}, \
|
|
{K30, K31, K32, K33, K34, K35, K36, K37}, \
|
|
{K40, K41, K42, K43, K44, K45, KC_NO, K47}, \
|
|
{K50, K51, K52, K53, K54, K55, K56, K57}, \
|
|
{K60, K61, K62, K63, K64, K65, K66, K67}, \
|
|
{K70, K71, K72, K73, K74, K75, K76, K77}, \
|
|
{K80, K81, K82, K83, K84, K85, K86, K87} \
|
|
}
|
|
|