summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/dilly/dilly.h
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2019-02-12 19:57:24 -0500
committerDrashna Jaelre <drashna@live.com>2019-02-12 16:57:24 -0800
commitb2ee290c9f506e42dd9c4577c8147646c405aeb0 (patch)
tree4338c3ee37d2f8380c24624a24d8a4cb81d54693 /keyboards/keebio/dilly/dilly.h
parent994852712dbd183e2c764d624ae8ba7d3efb385a (diff)
[Keyboard] Move Keebio boards to own folder (#5109)
* Move boards into keebio folder * Rename keymap * Update BDN9 files * Update BFO-9000 files * Update Chocopad files * Update Dilly files * Update Fourier files, collapse rev1 into main * Update Iris files * Update Laplace files * Update Levinson files, fix buswerks keymap * Update Nyquist files * Fix keymap issues * Update Quefrency files * Update Rorschach files * Update TF68 files * Update Viterbi files * Update Viterbi files * Update Wavelet files * Reformat default layout * Fix up default folder for Iris * Remove already defined aliases
Diffstat (limited to 'keyboards/keebio/dilly/dilly.h')
-rw-r--r--keyboards/keebio/dilly/dilly.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/keebio/dilly/dilly.h b/keyboards/keebio/dilly/dilly.h
new file mode 100644
index 0000000000..c7cc4aa725
--- /dev/null
+++ b/keyboards/keebio/dilly/dilly.h
@@ -0,0 +1,31 @@
+#ifndef DILLY_H
+#define DILLY_H
+
+#include "quantum.h"
+
+#define LAYOUT_ortho_3x10( \
+ A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, \
+ B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, \
+ C1, C2, C3, C4, C5, C6, C7, C8, C9, C10 \
+) { \
+ { A1, A2, A3, A4, A5 }, \
+ { B1, B2, B3, B4, B5 }, \
+ { C1, C2, C3, C4, C5 }, \
+ { A10, A9, A8, A7, A6 }, \
+ { B10, B9, B8, B7, B6 }, \
+ { C10, C9, C8, C7, C6 } \
+}
+
+// Used to create a keymap using only KC_ prefixed keys
+#define LAYOUT_kc( \
+ A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, \
+ B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, \
+ C1, C2, C3, C4, C5, C6, C7, C8, C9, C10 \
+) \
+ LAYOUT_ortho_3x10( \
+ KC_##A1, KC_##A2, KC_##A3, KC_##A4, KC_##A5, KC_##A6, KC_##A7, KC_##A8, KC_##A9, KC_##A10, \
+ KC_##B1, KC_##B2, KC_##B3, KC_##B4, KC_##B5, KC_##B6, KC_##B7, KC_##B8, KC_##B9, KC_##B10, \
+ KC_##C1, KC_##C2, KC_##C3, KC_##C4, KC_##C5, KC_##C6, KC_##C7, KC_##C8, KC_##C9, KC_##C10 \
+ )
+
+#endif