mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 14:40:06 +00:00
b2ee290c9f
* 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
29 lines
644 B
C
29 lines
644 B
C
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
#define LAYOUT_ortho_4x4( \
|
|
A1, A2, A3, A4, \
|
|
B1, B2, B3, B4, \
|
|
C1, C2, C3, C4, \
|
|
D1, D2, D3, D4 \
|
|
) { \
|
|
{ A1, A2, A3, A4 }, \
|
|
{ B1, B2, B3, B4 }, \
|
|
{ C1, C2, C3, C4 }, \
|
|
{ D1, D2, D3, D4 } \
|
|
}
|
|
|
|
// Used to create a keymap using only KC_ prefixed keys
|
|
#define LAYOUT_kc( \
|
|
A1, A2, A3, A4, \
|
|
B1, B2, B3, B4, \
|
|
C1, C2, C3, C4, \
|
|
D1, D2, D3, D4 \
|
|
) \
|
|
LAYOUT_ortho_4x4( \
|
|
KC_##A1, KC_##A2, KC_##A3, KC_##A4, \
|
|
KC_##B1, KC_##B2, KC_##B3, KC_##B4, \
|
|
KC_##C1, KC_##C2, KC_##C3, KC_##C4, \
|
|
KC_##D1, KC_##D2, KC_##D3, KC_##D4 \
|
|
)
|