aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/panc40/panc40.h
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2020-02-16 12:14:19 -0800
committerGitHub <noreply@github.com>2020-02-16 12:14:19 -0800
commiteabdef3b4d304e668fcd9711c0e661a64cc96ba6 (patch)
tree94161763b14e701f1f3ced32233adee74be3df2e /keyboards/panc40/panc40.h
parente279b0a1a243638f811184284013288921e1a123 (diff)
downloadfirmware-eabdef3b4d304e668fcd9711c0e661a64cc96ba6.tar.gz
firmware-eabdef3b4d304e668fcd9711c0e661a64cc96ba6.tar.bz2
firmware-eabdef3b4d304e668fcd9711c0e661a64cc96ba6.zip
[Keyboard] Add Panc40 by Panc Interactive (#8175)
* Add Panc40 by Panc Interactive * Fix LAYOUT_sebright macro
Diffstat (limited to 'keyboards/panc40/panc40.h')
-rw-r--r--keyboards/panc40/panc40.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/panc40/panc40.h b/keyboards/panc40/panc40.h
new file mode 100644
index 000000000..f1e317d49
--- /dev/null
+++ b/keyboards/panc40/panc40.h
@@ -0,0 +1,39 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT_all( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3B \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_NO }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, KC_NO, K3B } \
+}
+
+#define LAYOUT_minorca( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, \
+ K30, K31, K32, K34, K36, K38, K39, K3B \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_NO }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B }, \
+ { K30, K31, K32, KC_NO, K34, KC_NO, K36, KC_NO, K38, K39, KC_NO, K3B } \
+}
+
+#define LAYOUT_sebright( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, \
+ K31, K32, K33, K35, K37, K38, K39 \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_NO }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B }, \
+ { KC_NO, K31, K32, K33, KC_NO, K35, KC_NO, K37, K38, K39, KC_NO, KC_NO } \
+}