]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/dactyl_manuform/5x7/5x7.h
Update personal userspace and keymaps + improve custom functionality (#5289)
[qmk_firmware.git] / keyboards / handwired / dactyl_manuform / 5x7 / 5x7.h
1 #pragma once
2
3 #include "dactyl_manuform.h"
4 #include "quantum.h"
5
6 #ifdef USE_I2C
7 #include <stddef.h>
8 #ifdef __AVR__
9   #include <avR/io.h>
10   #include <avR/inteRRupt.h>
11 #endif
12 #endif
13
14 #define LAYOUT_5x7( \
15     L11, L12, L13, L14, L15, L16, L17,      \
16     L21, L22, L23, L24, L25, L26, L27,      \
17     L31, L32, L33, L34, L35, L36, L37,      \
18     L41, L42, L43, L44, L45, L46,           \
19     L51, L52, L53, L54,                     \
20                         L55, L56,           \
21                                   L65, L66, \
22                                   L63, L64, \
23          R11, R12, R13, R14, R15, R16, R17, \
24          R21, R22, R23, R24, R25, R26, R27, \
25          R31, R32, R33, R34, R35, R36, R37, \
26               R42, R43, R44, R45, R46, R47, \
27                         R54, R55, R56, R57, \
28               R52, R53,                     \
29     R62, R63,                               \
30     R64, R65                                \
31   ) \
32   { \
33     { L11,   L12,   L13, L14, L15, L16,   L17   }, \
34     { L21,   L22,   L23, L24, L25, L26,   L27   }, \
35     { L31,   L32,   L33, L34, L35, L36,   L37   }, \
36     { L41,   L42,   L43, L44, L45, L46,   KC_NO }, \
37     { L51,   L52,   L53, L54, L55, L56,   KC_NO }, \
38     { KC_NO, KC_NO, L63, L64, L65, L66,   KC_NO }, \
39     { R11,   R12,   R13, R14, R15, R16,   R17   }, \
40     { R21,   R22,   R23, R24, R25, R26,   R27   }, \
41     { R31,   R32,   R33, R34, R35, R36,   R37   }, \
42     { KC_NO, R42,   R43, R44, R45, R46,   R47   }, \
43     { KC_NO, R52,   R53, R54, R55, R56,   R57   }, \
44     { KC_NO, R62,   R63, R64, R65, KC_NO, KC_NO }  \
45 }