diff options
Diffstat (limited to 'keyboards/bfake/bfake.h')
-rw-r--r-- | keyboards/bfake/bfake.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/keyboards/bfake/bfake.h b/keyboards/bfake/bfake.h new file mode 100644 index 000000000..59a40de2f --- /dev/null +++ b/keyboards/bfake/bfake.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | Copyright 2017 Luiz Ribeiro <[email protected]> | ||
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 2 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 | |||
18 | #pragma once | ||
19 | |||
20 | #include "quantum.h" | ||
21 | |||
22 | #define XXX KC_NO | ||
23 | |||
24 | #define LAYOUT_all( \ | ||
25 | k61, k71, k72, k73, k74, k64, k65, k75, k76, k77, k78, k68, k66, k1A, k6A,\ | ||
26 | k11, k01, k02, k03, k04, k14, k15, k05, k06, k07, k08, k18, k16, k2A, \ | ||
27 | k12, k21, k22, k23, k24, k34, k35, k25, k26, k27, k28, k38, k4A, \ | ||
28 | k19, k13, k41, k42, k43, k44, k54, k55, k45, k46, k47, k58, k49, k5A, \ | ||
29 | k09, k0A, k39, k3A, k59, k69, k57, k29 \ | ||
30 | ) { \ | ||
31 | { XXX, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \ | ||
32 | { XXX, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1A }, \ | ||
33 | { XXX, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A }, \ | ||
34 | { XXX, XXX, XXX, XXX, k34, k35, XXX, XXX, k38, k39, k3A }, \ | ||
35 | { XXX, k41, k42, k43, k44, k45, k46, k47, XXX, k49, k4A }, \ | ||
36 | { XXX, XXX, XXX, XXX, k54, k55, XXX, k57, k58, k59, k5A }, \ | ||
37 | { XXX, k61, XXX, XXX, k64, k65, k66, XXX, k68, k69, k6A }, \ | ||
38 | { XXX, k71, k72, k73, k74, k75, k76, k77, k78, XXX, XXX } \ | ||
39 | } | ||
40 | |||
41 | #define LAYOUT_60_ansi( \ | ||
42 | k61, k71, k72, k73, k74, k64, k65, k75, k76, k77, k78, k68, k66, k6A, \ | ||
43 | k11, k01, k02, k03, k04, k14, k15, k05, k06, k07, k08, k18, k16, k2A, \ | ||
44 | k12, k21, k22, k23, k24, k34, k35, k25, k26, k27, k28, k38, k4A, \ | ||
45 | k19, k41, k42, k43, k44, k54, k55, k45, k46, k47, k58, k49, \ | ||
46 | k09, k0A, k39, k3A, k59, k69, k57, k29 \ | ||
47 | ) { \ | ||
48 | { XXX, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \ | ||
49 | { XXX, k11, k12, XXX, k14, k15, k16, XXX, k18, k19, XXX }, \ | ||
50 | { XXX, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A }, \ | ||
51 | { XXX, XXX, XXX, XXX, k34, k35, XXX, XXX, k38, k39, k3A }, \ | ||
52 | { XXX, k41, k42, k43, k44, k45, k46, k47, XXX, k49, k4A }, \ | ||
53 | { XXX, XXX, XXX, XXX, k54, k55, XXX, k57, k58, k59, XXX }, \ | ||
54 | { XXX, k61, XXX, XXX, k64, k65, k66, XXX, k68, k69, k6A }, \ | ||
55 | { XXX, k71, k72, k73, k74, k75, k76, k77, k78, XXX, XXX } \ | ||
56 | } | ||