diff options
Diffstat (limited to 'keyboards/xenon/xenon.h')
-rw-r--r-- | keyboards/xenon/xenon.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/xenon/xenon.h b/keyboards/xenon/xenon.h new file mode 100644 index 000000000..030d9bcb8 --- /dev/null +++ b/keyboards/xenon/xenon.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Copyright 2020 Kyrre Havik Eriksen | ||
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 | #pragma once | ||
17 | |||
18 | #include "quantum.h" | ||
19 | |||
20 | #define XXX KC_NO | ||
21 | |||
22 | #define LAYOUT( \ | ||
23 | L00, L01, L02, L03, L04, L05, R06, R07, R08, R09, R10, R11, \ | ||
24 | L12, L13, L14, L15, L16, L17, R18, R19, R20, R21, R22, R23, \ | ||
25 | L24, L25, L26, L27, L28, L29, R30, R31, R32, R33, R34, R35, \ | ||
26 | L36, L37, L38, L39, L40, R41, R42, R43, R44, R45, \ | ||
27 | L46, L47, L48, L49, R50, R51, R52, R53 \ | ||
28 | ) \ | ||
29 | { \ | ||
30 | { XXX, L05, L04, L03, L02, L01, L00 }, \ | ||
31 | { XXX, L17, L16, L15, L14, L13, L12 }, \ | ||
32 | { XXX, L29, L28, L27, L26, L25, L24 }, \ | ||
33 | { L40, L39, L38, L37, L36, XXX, XXX }, \ | ||
34 | { L49, L48, L47, L46, XXX, XXX, XXX }, \ | ||
35 | { XXX, R06, R07, R08, R09, R10, R11 }, \ | ||
36 | { XXX, R18, R19, R20, R21, R22, R23 }, \ | ||
37 | { XXX, R30, R31, R32, R33, R34, R35 }, \ | ||
38 | { R41, R42, R43, R44, R45, XXX, XXX }, \ | ||
39 | { R50, R51, R52, R53, XXX, XXX, XXX } \ | ||
40 | } | ||