qmk-firmware/keyboards/adpenrose/akemipad/akemipad.h

32 lines
863 B
C
Raw Normal View History

// 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 } \
}