|
|
@ -18,9 +18,7 @@
|
|
|
|
#include "debug.h"
|
|
|
|
#include "debug.h"
|
|
|
|
#include "action_layer.h"
|
|
|
|
#include "action_layer.h"
|
|
|
|
|
|
|
|
|
|
|
|
#undef KEYMAP
|
|
|
|
#define KEYMAP_YORUIAN( \
|
|
|
|
#define KEYMAP\
|
|
|
|
|
|
|
|
( \
|
|
|
|
|
|
|
|
/* Spacial positions. */ \
|
|
|
|
/* Spacial positions. */ \
|
|
|
|
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, \
|
|
|
|
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, \
|
|
|
|
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, \
|
|
|
|
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, \
|
|
|
@ -30,24 +28,15 @@
|
|
|
|
k55, k56, k57, k58, \
|
|
|
|
k55, k56, k57, k58, \
|
|
|
|
k54, k59, \
|
|
|
|
k54, k59, \
|
|
|
|
k53, k52, k51, k5C, k5B, k5A) \
|
|
|
|
k53, k52, k51, k5C, k5B, k5A) \
|
|
|
|
\
|
|
|
|
KEYMAP( \
|
|
|
|
/* Matrix positions. */ \
|
|
|
|
KC_##k00, KC_##k01, KC_##k02, KC_##k03, KC_##k04, KC_##k05, KC_##k06, KC_##k07, KC_##k08, KC_##k09, KC_##k0A, KC_##k0B, KC_##k0C, KC_##k0D, \
|
|
|
|
{ \
|
|
|
|
KC_##k10, KC_##k11, KC_##k12, KC_##k13, KC_##k14, KC_##k15, KC_##k16, KC_##k17, KC_##k18, KC_##k19, KC_##k1A, KC_##k1B, KC_##k1C, KC_##k1D, \
|
|
|
|
{ KC_##k00, KC_##k10, KC_##k20, KC_##k30, KC_##k40, KC_NO }, \
|
|
|
|
KC_##k20, KC_##k21, KC_##k22, KC_##k23, KC_##k24, KC_##k25, KC_##k28, KC_##k29, KC_##k2A, KC_##k2B, KC_##k2C, KC_##k2D, \
|
|
|
|
{ KC_##k01, KC_##k11, KC_##k21, KC_##k31, KC_##k41, KC_##k51 }, \
|
|
|
|
KC_##k30, KC_##k31, KC_##k32, KC_##k33, KC_##k34, KC_##k35, KC_##k36, KC_##k37, KC_##k38, KC_##k39, KC_##k3A, KC_##k3B, KC_##k3C, KC_##k3D, \
|
|
|
|
{ KC_##k02, KC_##k12, KC_##k22, KC_##k32, KC_##k42, KC_##k52 }, \
|
|
|
|
KC_##k40, KC_##k41, KC_##k42, KC_##k43, KC_##k44, KC_##k49, KC_##k4A, KC_##k4B, KC_##k4C, KC_##k4D, \
|
|
|
|
{ KC_##k03, KC_##k13, KC_##k23, KC_##k33, KC_##k43, KC_##k53 }, \
|
|
|
|
KC_##k55, KC_##k56, KC_##k57, KC_##k58, \
|
|
|
|
{ KC_##k04, KC_##k14, KC_##k24, KC_##k34, KC_##k44, KC_##k54 }, \
|
|
|
|
KC_##k54, KC_##k59, \
|
|
|
|
{ KC_##k05, KC_##k15, KC_##k25, KC_##k35, KC_NO, KC_##k55 }, \
|
|
|
|
KC_##k53, KC_##k52, KC_##k51, KC_##k5C, KC_##k5B, KC_##k5A)
|
|
|
|
{ KC_##k06, KC_##k16, KC_NO, KC_##k36, KC_NO, KC_##k56 }, \
|
|
|
|
|
|
|
|
{ KC_##k07, KC_##k17, KC_NO, KC_##k37, KC_NO, KC_##k57 }, \
|
|
|
|
|
|
|
|
{ KC_##k08, KC_##k18, KC_##k28, KC_##k38, KC_NO, KC_##k58 }, \
|
|
|
|
|
|
|
|
{ KC_##k09, KC_##k19, KC_##k29, KC_##k39, KC_##k49, KC_##k59 }, \
|
|
|
|
|
|
|
|
{ KC_##k0A, KC_##k1A, KC_##k2A, KC_##k3A, KC_##k4A, KC_##k5A }, \
|
|
|
|
|
|
|
|
{ KC_##k0B, KC_##k1B, KC_##k2B, KC_##k3B, KC_##k4B, KC_##k5B }, \
|
|
|
|
|
|
|
|
{ KC_##k0C, KC_##k1C, KC_##k2C, KC_##k3C, KC_##k4C, KC_##k5C }, \
|
|
|
|
|
|
|
|
{ KC_##k0D, KC_##k1D, KC_##k2D, KC_##k3D, KC_##k4D, KC_NO } \
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define KC_ES KC_ESC
|
|
|
|
#define KC_ES KC_ESC
|
|
|
|
#define KC_LC KC_LCTL
|
|
|
|
#define KC_LC KC_LCTL
|
|
|
|