You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
644 B
30 lines
644 B
6 years ago
|
#pragma once
|
||
7 years ago
|
|
||
|
#include "quantum.h"
|
||
|
|
||
7 years ago
|
#define LAYOUT_ortho_4x4( \
|
||
7 years ago
|
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
|
||
7 years ago
|
#define LAYOUT_kc( \
|
||
7 years ago
|
A1, A2, A3, A4, \
|
||
|
B1, B2, B3, B4, \
|
||
|
C1, C2, C3, C4, \
|
||
|
D1, D2, D3, D4 \
|
||
|
) \
|
||
7 years ago
|
LAYOUT_ortho_4x4( \
|
||
7 years ago
|
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 \
|
||
|
)
|