summaryrefslogtreecommitdiffstats
path: root/users/mtei/key_blocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/mtei/key_blocks.h')
-rw-r--r--users/mtei/key_blocks.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/users/mtei/key_blocks.h b/users/mtei/key_blocks.h
new file mode 100644
index 0000000000..9a62e5ccff
--- /dev/null
+++ b/users/mtei/key_blocks.h
@@ -0,0 +1,40 @@
+// Copyright (c) 2022 Takeshi Ishii (mtei@github)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#pragma once
+
+#define _1_____2_____3_____4_____5 KC_1, KC_2, KC_3, KC_4, KC_5
+#define _6_____7_____8_____9_____0 KC_6, KC_7, KC_8, KC_9, KC_0
+#define F1____F2____F3____F4____F5 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5
+#define F6____F7____F8____F9____F10 KC_F6, KC_F7, KC_F8, KC_F9, KC_F10
+
+/* Qwerty */
+#define Q_____W_____E_____R_____T KC_Q, KC_W, KC_E, KC_R, KC_T
+#define Y_____U_____I_____O_____P KC_Y, KC_U, KC_I, KC_O, KC_P
+#define A_____S_____D_____F_____G KC_A, KC_S, KC_D, KC_F, KC_G
+#define H_____J_____K_____L____SCLN KC_H, KC_J, KC_K, KC_L, KC_SCLN
+#define Z_____X_____C_____V_____B KC_Z, KC_X, KC_C, KC_V, KC_B
+#define N_____M____COMM__DOT___SLSH KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH
+
+/* Colemak */
+#define Q_____W_____F_____P_____G KC_Q, KC_W, KC_F, KC_P, KC_G
+#define J_____L_____U_____Y____SCLN KC_J, KC_L, KC_U, KC_Y, KC_SCLN
+#define A_____R_____S_____T_____D KC_A, KC_R, KC_S, KC_T, KC_D
+#define H_____N_____E_____I_____O KC_H, KC_N, KC_E, KC_I, KC_O
+// Z_____X_____C_____V_____B KC_Z, KC_X, KC_C, KC_V, KC_B
+#define K_____M____COMM__DOT___SLSH KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH
+
+/* Dvorak */
+#define QUOT_COMM___DOT____P_____Y KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y
+#define F_____G_____C_____R_____L KC_F, KC_G, KC_C, KC_R, KC_L
+#define A_____O_____E_____U_____I KC_A, KC_O, KC_E, KC_U, KC_I
+#define D_____H_____T_____N_____S KC_D, KC_H, KC_T, KC_N, KC_S
+#define SCLN___Q_____J_____K_____X KC_SCLN, KC_Q, KC_J, KC_K, KC_X
+#define B_____M_____W_____V_____Z KC_B, KC_M, KC_W, KC_V, KC_Z
+
+/* Eucalyn rev3 (http://eucalyn.hatenadiary.jp/entry/about-eucalyn-layout) */
+#define Q_____W___COMM___DOT__SCLN KC_Q, KC_W, KC_COMM, KC_DOT, KC_SCLN
+#define M_____R_____D_____Y_____P KC_M, KC_R, KC_D, KC_Y, KC_P
+#define A_____O_____E_____I_____U KC_A, KC_O, KC_E, KC_I, KC_U
+#define G_____T_____K_____S_____N KC_G, KC_T, KC_K, KC_S, KC_N
+#define Z_____X_____C_____V_____F KC_Z, KC_X, KC_C, KC_V, KC_F
+#define B_____H_____J_____L____SLSH KC_B, KC_H, KC_J, KC_L, KC_SLSH