]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_colemak.h
fixed two typos
[qmk_firmware.git] / quantum / keymap_extras / keymap_colemak.h
1 /* Copyright 2015-2016 Jack Humbert
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16 #ifndef KEYMAP_COLEMAK_H
17 #define KEYMAP_COLEMAK_H
18
19 #include "keymap.h"
20 // For software implementation of colemak
21 #define CM_Q    KC_Q
22 #define CM_W    KC_W
23 #define CM_F    KC_E
24 #define CM_P    KC_R
25 #define CM_G    KC_T
26 #define CM_J    KC_Y
27 #define CM_L    KC_U
28 #define CM_U    KC_I
29 #define CM_Y    KC_O
30 #define CM_SCLN KC_P
31
32 #define CM_A    KC_A
33 #define CM_R    KC_S
34 #define CM_S    KC_D
35 #define CM_T    KC_F
36 #define CM_D    KC_G
37 #define CM_H    KC_H
38 #define CM_N    KC_J
39 #define CM_E    KC_K
40 #define CM_I    KC_L
41 #define CM_O    KC_SCLN
42 #define CM_COLN LSFT(CM_SCLN)
43
44 #define CM_Z    KC_Z
45 #define CM_X    KC_X
46 #define CM_C    KC_C
47 #define CM_V    KC_V
48 #define CM_B    KC_B
49 #define CM_K    KC_N
50 #define CM_M    KC_M
51 #define CM_COMM KC_COMM
52 #define CM_DOT  KC_DOT
53 #define CM_SLSH KC_SLSH
54
55 // Make it easy to support these in macros
56 // TODO: change macro implementation so these aren't needed
57 #define KC_CM_Q    CM_Q
58 #define KC_CM_W    CM_W
59 #define KC_CM_F    CM_F
60 #define KC_CM_P    CM_P
61 #define KC_CM_G    CM_G
62 #define KC_CM_J    CM_J
63 #define KC_CM_L    CM_L
64 #define KC_CM_U    CM_U
65 #define KC_CM_Y    CM_Y
66 #define KC_CM_SCLN CM_SCLN
67
68 #define KC_CM_A    CM_A
69 #define KC_CM_R    CM_R
70 #define KC_CM_S    CM_S
71 #define KC_CM_T    CM_T
72 #define KC_CM_D    CM_D
73 #define KC_CM_H    CM_H
74 #define KC_CM_N    CM_N
75 #define KC_CM_E    CM_E
76 #define KC_CM_I    CM_I
77 #define KC_CM_O    CM_O
78
79 #define KC_CM_Z    CM_Z
80 #define KC_CM_X    CM_X
81 #define KC_CM_C    CM_C
82 #define KC_CM_V    CM_V
83 #define KC_CM_B    CM_B
84 #define KC_CM_K    CM_K
85 #define KC_CM_M    CM_M
86 #define KC_CM_COMM CM_COMM
87 #define KC_CM_DOT  CM_DOT
88 #define KC_CM_SLSH CM_SLSH
89
90 #endif