mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-03 14:16:35 +06:00
26 lines
1.2 KiB
C
26 lines
1.2 KiB
C
#pragma once
|
|
|
|
#include "rev2.h"
|
|
|
|
#include "quantum.h"
|
|
|
|
// This a shortcut to help you visually see your layout.
|
|
// The first section contains all of the arguments
|
|
// The second converts the arguments into a two-dimensional array
|
|
|
|
#define XXX KC_NO
|
|
|
|
#define LAYOUT_ansi( \
|
|
k00, k01, k02, k03, k04, k05, k06, k46, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F, k3F,\
|
|
k10, k11, k12, k13, k14, k15, k16, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k2F,\
|
|
k20, k21, k22, k23, k24, k25, k26, k28, k29, k2A, k2B, k2C, k2D, k2E, \
|
|
k30, k31, k32, k33, k34, k35, k36, k38, k39, k3A, k3B, k3C, k3D, k3E, \
|
|
k40, k41, k42, k43, k44, k45, k48, k49, k4A, k4C, k4D, k4E, k4F \
|
|
) { \
|
|
{ k00, k01, k02, k03, k04, k05, k06, XXX, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F }, \
|
|
{ k10, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F }, \
|
|
{ k20, k21, k22, k23, k24, k25, k26, XXX, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F }, \
|
|
{ k30, k31, k32, k33, k34, k35, k36, XXX, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F }, \
|
|
{ k40, k41, k42, k43, k44, k45, k46, XXX, k48, k49, k4A, XXX, k4C, k4D, k4E, k4F } \
|
|
}
|