summaryrefslogtreecommitdiff
path: root/keyboards/keebio/laplace/laplace.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/laplace/laplace.h
parent994852712dbd183e2c764d624ae8ba7d3efb385a (diff)
downloadqmk_firmware-b2ee290c9f506e42dd9c4577c8147646c405aeb0.tar.gz
qmk_firmware-b2ee290c9f506e42dd9c4577c8147646c405aeb0.zip
[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/laplace/laplace.h')
-rw-r--r--keyboards/keebio/laplace/laplace.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/keebio/laplace/laplace.h b/keyboards/keebio/laplace/laplace.h
new file mode 100644
index 0000000000..fc0510fe58
--- /dev/null
+++ b/keyboards/keebio/laplace/laplace.h
@@ -0,0 +1,33 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, \
+ B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B13, \
+ C1, C2, C3, C4, C5, C6, C7, C9, C10, C11, C12, C13, \
+ D1, D2, D3, D4, D5, D7, D10, D11, D12, D13 \
+ ) { \
+ {A1, A2, A3, A4, A5, A6, A7}, \
+ {KC_NO, A13, A12, A11, A10, A9, A8}, \
+ {B1, B2, B3, B4, B5, B6, B7}, \
+ {KC_NO, B13, KC_NO, B11, B10, B9, B8}, \
+ {C1, C2, C3, C4, C5, C6, C7}, \
+ {KC_NO, C13, C12, C11, C10, C9, KC_NO}, \
+ {D1, D2, D3, D4, D5, KC_NO, D7}, \
+ {KC_NO, D13, D12, D11, D10, KC_NO, KC_NO} \
+ }
+
+// Used to create a keymap using only KC_ prefixed keys
+#define LAYOUT_kc( \
+ A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, \
+ B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B13, \
+ C1, C2, C3, C4, C5, C6, C7, C9, C10, C11, C12, C13, \
+ D1, D2, D3, D4, D5, D7, D10, D11, D12, D13 \
+ ) \
+ LAYOUT( \
+ KC_##A1, KC_##A2, KC_##A3, KC_##A4, KC_##A5, KC_##A6, KC_##A7, KC_##A8, KC_##A9, KC_##A10, KC_##A11, KC_##A12, KC_##A13, \
+ KC_##B1, KC_##B2, KC_##B3, KC_##B4, KC_##B5, KC_##B6, KC_##B7, KC_##B8, KC_##B9, KC_##B10, KC_##B11, KC_##B13, \
+ KC_##C1, KC_##C2, KC_##C3, KC_##C4, KC_##C5, KC_##C6, KC_##C7, KC_##C9, KC_##C10, KC_##C11, KC_##C12, KC_##C13, \
+ KC_##D1, KC_##D2, KC_##D3, KC_##D4, KC_##D5, KC_##D7, KC_##D10, KC_##D11, KC_##D12, KC_##D13 \
+ )