2021-09-01 15:03:14 +06:00
|
|
|
#pragma once
|
2017-06-09 02:24:37 +06:00
|
|
|
|
|
|
|
#include "quantum.h"
|
|
|
|
|
|
|
|
// This a shortcut to help you visually see your layout.
|
|
|
|
// The following is an example using the Planck MIT layout
|
|
|
|
// The first section contains all of the arguements
|
|
|
|
// The second converts the arguments into a two-dimensional array
|
2018-08-18 05:12:22 +06:00
|
|
|
#define LAYOUT_ortho_4x4( \
|
2017-06-09 02:24:37 +06:00
|
|
|
k00, k01, k02, k03, \
|
|
|
|
k10, k11, k12, k13, \
|
|
|
|
k20, k21, k22, k23, \
|
|
|
|
k30, k31, k32, k33 \
|
2021-09-01 15:03:14 +06:00
|
|
|
) { \
|
2017-06-09 02:24:37 +06:00
|
|
|
{ k00, k01, k02, k03 }, \
|
|
|
|
{ k10, k11, k12, k13 }, \
|
|
|
|
{ k20, k21, k22, k23 }, \
|
|
|
|
{ k30, k31, k32, k33 } \
|
|
|
|
}
|