diff options
Diffstat (limited to 'keyboards/jian/handwired/handwired.h')
| -rw-r--r-- | keyboards/jian/handwired/handwired.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/jian/handwired/handwired.h b/keyboards/jian/handwired/handwired.h new file mode 100644 index 000000000..9b388b94a --- /dev/null +++ b/keyboards/jian/handwired/handwired.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "jian.h" | ||
| 4 | |||
| 5 | #define XXX KC_NO | ||
| 6 | #define LAYOUT( \ | ||
| 7 | L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00, \ | ||
| 8 | L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, \ | ||
| 9 | L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, \ | ||
| 10 | L34, L35, L36, R36, R35, R34 \ | ||
| 11 | ) \ | ||
| 12 | { \ | ||
| 13 | {L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00}, \ | ||
| 14 | {XXX, L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, XXX}, \ | ||
| 15 | {XXX, L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, XXX}, \ | ||
| 16 | {XXX, XXX, XXX, XXX, L34, L35, L36, R36, R35, R34, XXX, XXX, XXX, XXX} \ | ||
| 17 | } | ||
| 18 | |||
| 19 | #define LAYOUT_symmetric( \ | ||
| 20 | K00, K01, K02, K03, K04, K05, K06, \ | ||
| 21 | K11, K12, K13, K14, K15, K16, \ | ||
| 22 | K21, K22, K23, K24, K25, K26, \ | ||
| 23 | K34, K35, K36 \ | ||
| 24 | ) \ | ||
| 25 | { \ | ||
| 26 | {K00, K01, K02, K03, K04, K05, K06, K06, K05, K04, K03, K02, K01, K00}, \ | ||
| 27 | {XXX, K11, K12, K13, K14, K15, K16, K16, K15, K14, K13, K12, K11, XXX}, \ | ||
| 28 | {XXX, K21, K22, K23, K24, K25, K26, K26, K25, K24, K23, K22, K21, XXX}, \ | ||
| 29 | {XXX, XXX, XXX, XXX, K34, K35, K36, K36, K35, K34, XXX, XXX, XXX, XXX} \ | ||
| 30 | } | ||
