]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ergodox/keymaps/yoruian/yoruian.h
Merge remote-tracking branch 'bigtunaio/layouts/adam-lee' into dev
[qmk_firmware.git] / keyboards / ergodox / keymaps / yoruian / yoruian.h
1 /*
2  * Copyright 2016 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 #include "ergodox.h"
18 #include "debug.h"
19 #include "action_layer.h"
20
21 #define KEYMAP_YORUIAN(                                                        \
22  /* Spacial positions. */                                                      \
23  k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D,         \
24  k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D,         \
25  k20, k21, k22, k23, k24, k25,           k28, k29, k2A, k2B, k2C, k2D,         \
26  k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D,         \
27  k40, k41, k42, k43, k44,                     k49, k4A, k4B, k4C, k4D,         \
28                           k55, k56, k57, k58,                                  \
29                                k54, k59,                                       \
30                      k53, k52, k51, k5C, k5B, k5A)                             \
31   KEYMAP(KC_##k00, KC_##k01, KC_##k02, KC_##k03, KC_##k04, KC_##k05, KC_##k06, \
32          KC_##k10, KC_##k11, KC_##k12, KC_##k13, KC_##k14, KC_##k15, KC_##k16, \
33          KC_##k20, KC_##k21, KC_##k22, KC_##k23, KC_##k24, KC_##k25,           \
34          KC_##k30, KC_##k31, KC_##k32, KC_##k33, KC_##k34, KC_##k35, KC_##k36, \
35          KC_##k40, KC_##k41, KC_##k42, KC_##k43, KC_##k44,                     \
36                                                            KC_##k55, KC_##k56, \
37                                                                      KC_##k54, \
38                                                  KC_##k53, KC_##k52, KC_##k51, \
39          KC_##k07, KC_##k08, KC_##k09, KC_##k0A, KC_##k0B, KC_##k0C, KC_##k0D, \
40          KC_##k17, KC_##k18, KC_##k19, KC_##k1A, KC_##k1B, KC_##k1C, KC_##k1D, \
41                    KC_##k28, KC_##k29, KC_##k2A, KC_##k2B, KC_##k2C, KC_##k2D, \
42          KC_##k37, KC_##k38, KC_##k39, KC_##k3A, KC_##k3B, KC_##k3C, KC_##k3D, \
43                              KC_##k49, KC_##k4A, KC_##k4B, KC_##k4C, KC_##k4D, \
44          KC_##k57, KC_##k58,                                                   \
45          KC_##k59,                                                             \
46          KC_##k5C, KC_##k5B, KC_##k5A)
47
48 #define KC_ES  KC_ESC
49 #define KC_LC  KC_LCTL
50 #define KC_RC  KC_RCTL
51 #define KC_FF  MO(1)
52 #define KC_IN  KC_INS
53 #define KC_PS  KC_PSCR
54 #define KC_TR  KC_TRNS
55 #define KC_FT  KC_F10
56 #define KC_FE  KC_F11
57 #define KC_FW  KC_F12