mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-18 15:43:23 +00:00
42 lines
1.5 KiB
C
42 lines
1.5 KiB
C
|
#ifndef LAPTREUS_H
|
||
|
#define LAPTREUS_H
|
||
|
|
||
|
#include "quantum.h"
|
||
|
#include "outputselect.h"
|
||
|
|
||
|
/*
|
||
|
// This a shortcut to help you visually see your layout.
|
||
|
// The first section contains all of the arguments
|
||
|
// The second converts the arguments into a two-dimensional array
|
||
|
*/
|
||
|
#define LAYOUT( \
|
||
|
A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, \
|
||
|
B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, \
|
||
|
C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, \
|
||
|
D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12 \
|
||
|
) \
|
||
|
{ \
|
||
|
{A2, A3, A4, A5, A6, A7, A8, A9, A10, A11}, \
|
||
|
{B2, B3, B4, B5, B6, B7, B8, B9, B10, B11}, \
|
||
|
{C2, C3, C4, C5, C6, C7, C8, C9, C10, C11}, \
|
||
|
{D2, D3, D4, D5, D6, D7, D8, D9, D10, D11}, \
|
||
|
{A1, B1, C1, D1, KC_NO, KC_NO, D12, C12, B12, A12} \
|
||
|
}
|
||
|
|
||
|
#define LAYOUT_kc( \
|
||
|
A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, \
|
||
|
B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, \
|
||
|
C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, \
|
||
|
D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12 \
|
||
|
) \
|
||
|
{ \
|
||
|
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_##B1, KC_##B2, KC_##B3, KC_##B4, KC_##B5, KC_##B6, KC_##B7, KC_##B8, KC_##B9, KC_##B10, KC_##B11, KC_##B12, \
|
||
|
KC_##C1, KC_##C2, KC_##C3, KC_##C4, KC_##C5, KC_##C6, KC_##C7, KC_##C8, KC_##C9, KC_##C10, KC_##C11, KC_##C12, \
|
||
|
KC_##D1, KC_##D2, KC_##D3, KC_##D4, KC_##D5, KC_##D6, KC_##D7, KC_##D8, KC_##D9, KC_##D10, KC_##D11, KC_##D12 \
|
||
|
) \
|
||
|
}
|
||
|
|
||
|
#endif
|