#pragma once
#include "quantum.h"
#define XXX KC_NO
#define LAYOUT_4x4_encoders( \
k00, k03, \
k10, k11, k12, k13, \
k20, k21, k22, k23, \
k30, k31, k32, k33, \
k40, k41, k42, k43 \
) \
{ \
{ k00, XXX, XXX, k03 }, \
{ k10, k11, k12, k13 }, \
{ k20, k21, k22, k23 }, \
{ k30, k31, k32, k33 }, \
{ k40, k41, k42, k43 } \
}
#define LAYOUT_4x3_encoders( \
k00, k03, \
k10, k11, k12, k13, \
k20, k21, k22, k23, \
k30, k31, k32, k33 \
) \
{ \
{ k00, XXX, XXX, k03 }, \
{ k10, k11, k12, k13 }, \
{ k20, k21, k22, k23 }, \
{ k30, k31, k32, k33 }, \
{ XXX, XXX, XXX, XXX } \
}
#define LAYOUT_3x4_encoders( \
k01, k03, \
k11, k12, k13, \
k21, k22, k23, \
k31, k32, k33, \
k41, k42, k43 \
) \
{ \
{ XXX, k01, XXX, k03 }, \
{ XXX, k11, k12, k13 }, \
{ XXX, k21, k22, k23 }, \
{ XXX, k31, k32, k33 }, \
{ XXX, k41, k42, k43 } \
}
#define LAYOUT_3x3_encoders( \
k01, k03, \
k11, k12, k13, \
k21, k22, k23, \
k31, k32, k33 \
) \
{ \
{ XXX, k01, XXX, k03 }, \
{ XXX, k11, k12, k13 }, \
{ XXX, k21, k22, k23 }, \
{ XXX, k31, k32, k33 }, \
{ XXX, XXX, XXX, XXX } \
}