summaryrefslogtreecommitdiffstats
path: root/keyboards/adpenrose/akemipad/akemipad.h
blob: 2e4b13baef0b3cb3f6db201234083b9c993e3aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2022 Arturo Avila (@ADPenrose)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "quantum.h"

/* This is a shortcut to help you visually see your layout.
 *
 * The first section contains all of the arguments representing the physical
 * layout of the board and position of the keys.
 *
 * The second converts the arguments into a two-dimensional array which
 * represents the switch matrix.
 */

#define LAYOUT_all( \
         K00, K01, K02, K03, \
         K10, K11, K12, K13, \
         K20, K21, K22, K23, \
         K30, K31, K32, K33, \
         K40, K41, K42, K43, \
    K54, K50, K51, K52, K53  \
) { \
    { K00, K01, K02, K03, KC_NO }, \
    { K10, K11, K12, K13, KC_NO }, \
    { K20, K21, K22, K23, KC_NO }, \
    { K30, K31, K32, K33, KC_NO }, \
    { K40, K41, K42, K43, KC_NO }, \
    { K50, K51, K52, K53, K54 } \
}