diff options
Diffstat (limited to 'keyboards/adpenrose/akemipad/akemipad.h')
-rw-r--r-- | keyboards/adpenrose/akemipad/akemipad.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/adpenrose/akemipad/akemipad.h b/keyboards/adpenrose/akemipad/akemipad.h new file mode 100644 index 0000000000..2e4b13baef --- /dev/null +++ b/keyboards/adpenrose/akemipad/akemipad.h @@ -0,0 +1,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 } \ +} |