summaryrefslogtreecommitdiffstats
path: root/keyboards/jian/handwired/handwired.h
diff options
context:
space:
mode:
authorKgOfHedgehogs <kgofhedgehogs@gmail.com>2020-06-18 04:17:30 +0200
committerGitHub <noreply@github.com>2020-06-17 19:17:30 -0700
commit157319fbd03e6f7a6618111fd03ab3e53317893e (patch)
tree93ca9aab1d065325d22b939f4814eeda4544fc25 /keyboards/jian/handwired/handwired.h
parent39ff121d7389fd6575e65ecb54b11bb87777ca38 (diff)
[Keyboard] Jian keyboard (#8914)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/jian/handwired/handwired.h')
-rw-r--r--keyboards/jian/handwired/handwired.h30
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 0000000000..9b388b94ae
--- /dev/null
+++ b/keyboards/jian/handwired/handwired.h
@@ -0,0 +1,30 @@
+#pragma once
+
+#include "jian.h"
+
+#define XXX KC_NO
+#define LAYOUT( \
+ L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00, \
+ L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, \
+ L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, \
+ L34, L35, L36, R36, R35, R34 \
+) \
+{ \
+ {L00, L01, L02, L03, L04, L05, L06, R06, R05, R04, R03, R02, R01, R00}, \
+ {XXX, L11, L12, L13, L14, L15, L16, R16, R15, R14, R13, R12, R11, XXX}, \
+ {XXX, L21, L22, L23, L24, L25, L26, R26, R25, R24, R23, R22, R21, XXX}, \
+ {XXX, XXX, XXX, XXX, L34, L35, L36, R36, R35, R34, XXX, XXX, XXX, XXX} \
+}
+
+#define LAYOUT_symmetric( \
+ K00, K01, K02, K03, K04, K05, K06, \
+ K11, K12, K13, K14, K15, K16, \
+ K21, K22, K23, K24, K25, K26, \
+ K34, K35, K36 \
+) \
+{ \
+ {K00, K01, K02, K03, K04, K05, K06, K06, K05, K04, K03, K02, K01, K00}, \
+ {XXX, K11, K12, K13, K14, K15, K16, K16, K15, K14, K13, K12, K11, XXX}, \
+ {XXX, K21, K22, K23, K24, K25, K26, K26, K25, K24, K23, K22, K21, XXX}, \
+ {XXX, XXX, XXX, XXX, K34, K35, K36, K36, K35, K34, XXX, XXX, XXX, XXX} \
+}