]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/lets_split/sockets/sockets.h
Keyboard: fixed build break (size overflow) HelixPico with Backlight or Underglow...
[qmk_firmware.git] / keyboards / lets_split / sockets / sockets.h
1 #ifndef SOCKETS_H
2 #define SOCKETS_H
3 #define DISABLE_JTAG // The keyboard uses PF4 and PF7, which are used by JTAG.
4
5 #include "lets_split.h"
6
7 //void promicro_bootloader_jmp(bool program);
8 #include "quantum.h"
9
10
11 #ifdef USE_I2C
12 #include <stddef.h>
13 #ifdef __AVR__
14         #include <avr/io.h>
15         #include <avr/interrupt.h>
16 #endif
17 #endif
18
19 //void promicro_bootloader_jmp(bool program);
20
21 #ifndef FLIP_HALF
22 // Standard Keymap
23 // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left)
24 #define LAYOUT( \
25         L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
26         L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
27         L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
28         L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \
29         ) \
30         { \
31                 { L00, L01, L02, L03, L04, L05 }, \
32                 { L10, L11, L12, L13, L14, L15 }, \
33                 { L20, L21, L22, L23, L24, L25 }, \
34                 { L30, L31, L32, L33, L34, L35 }, \
35                 { R05, R04, R03, R02, R01, R00 }, \
36                 { R15, R14, R13, R12, R11, R10 }, \
37                 { R25, R24, R23, R22, R21, R20 }, \
38                 { R35, R34, R33, R32, R31, R30 } \
39         }
40 #else
41 // Keymap with right side flipped
42 // (TRRS jack on both halves are to the right)
43 #define LAYOUT( \
44         L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
45         L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
46         L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
47         L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \
48         ) \
49         { \
50                 { L00, L01, L02, L03, L04, L05 }, \
51                 { L10, L11, L12, L13, L14, L15 }, \
52                 { L20, L21, L22, L23, L24, L25 }, \
53                 { L30, L31, L32, L33, L34, L35 }, \
54                 { R00, R01, R02, R03, R04, R05 }, \
55                 { R10, R11, R12, R13, R14, R15 }, \
56                 { R20, R21, R22, R23, R24, R25 }, \
57                 { R30, R31, R32, R33, R34, R35 } \
58         }
59 #endif
60
61 #define LAYOUT_ortho_4x12 LAYOUT
62
63 #endif