Fix layout macro keys with no matrix position (#20033)
parent
9e2ef5078a
commit
cf5e9d172d
@ -1 +0,0 @@ |
|||||||
#include "4x4.h" |
|
@ -1,58 +0,0 @@ |
|||||||
#pragma once |
|
||||||
|
|
||||||
#include "quantum.h" |
|
||||||
#define ___ KC_NO |
|
||||||
|
|
||||||
// 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_ortho_4x4( \ |
|
||||||
K00, K01, K02, K03, \
|
|
||||||
K10, K11, K12, K13, \
|
|
||||||
K20, K21, K22, K23, \
|
|
||||||
K30, K31, K32, K33 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ K00, K01, K02, K03, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___}, \
|
|
||||||
{ K10, K11, K12, K13, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___}, \
|
|
||||||
{ K20, K21, K22, K23, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___}, \
|
|
||||||
{ K30, K31, K32, K33, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___} \
|
|
||||||
} |
|
||||||
#define LAYOUT_ortho_4x8( \ |
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37\
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07, ___, ___, ___, ___, ___, ___, ___, ___}, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17, ___, ___, ___, ___, ___, ___, ___, ___}, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, ___, ___, ___, ___, ___, ___, ___, ___}, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K35, K37, ___, ___, ___, ___, ___, ___, ___, ___} \
|
|
||||||
} |
|
||||||
#define LAYOUT_ortho_4x12( \ |
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, ___, ___, ___, ___}, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, ___, ___, ___, ___}, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, ___, ___, ___, ___}, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b, ___, ___, ___, ___} \
|
|
||||||
} |
|
||||||
|
|
||||||
#define LAYOUT_ortho_4x16( \ |
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, K0c, K0d, K0e, K0f, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c, K1d, K1e, K1f, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, K2c, K2d, K2e, K2f, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b, K3c, K3d, K3e, K3f \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, K0c, K0d, K0e, K0f }, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, K1c, K1d, K1e, K1f }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, K2c, K2d, K2e, K2f }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3a, K3b, K3c, K3d, K3e, K3f } \
|
|
||||||
} |
|
@ -1,16 +0,0 @@ |
|||||||
/* Copyright 2021 Nix Keyboards
|
|
||||||
* |
|
||||||
* This program is free software: you can redistribute it and/or modify |
|
||||||
* it under the terms of the GNU General Public License as published by |
|
||||||
* the Free Software Foundation, either version 2 of the License, or |
|
||||||
* (at your option) any later version. |
|
||||||
* |
|
||||||
* This program is distributed in the hope that it will be useful, |
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||||
* GNU General Public License for more details. |
|
||||||
* |
|
||||||
* You should have received a copy of the GNU General Public License |
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/ |
|
||||||
#include "day_off.h" |
|
@ -1,32 +0,0 @@ |
|||||||
/* Copyright 2021 Nix Keyboards
|
|
||||||
* |
|
||||||
* This program is free software: you can redistribute it and/or modify |
|
||||||
* it under the terms of the GNU General Public License as published by |
|
||||||
* the Free Software Foundation, either version 2 of the License, or |
|
||||||
* (at your option) any later version. |
|
||||||
* |
|
||||||
* This program is distributed in the hope that it will be useful, |
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||||
* GNU General Public License for more details. |
|
||||||
* |
|
||||||
* You should have received a copy of the GNU General Public License |
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/ |
|
||||||
#pragma once |
|
||||||
|
|
||||||
#include "quantum.h" |
|
||||||
|
|
||||||
#define LAYOUT_all(K001, K002, K003, K004, K005, K006, K007, K008, K009, K010,\ |
|
||||||
K011, K012, K013, K014, K101, K102, K103, K104, K105, K106, \
|
|
||||||
K107, K108, K109, K110, K111, K112, K113, K114, K200, K201, \
|
|
||||||
K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
|
|
||||||
K212, K213, K214, K300, K301, K302, K303, K304, K305, K306, \
|
|
||||||
K307, K308, K309, K310, K311, K312, K313, K314, K400, K401, \
|
|
||||||
K402, K403, K405, K407, K408, K410, K411, K412, K413, K414) \
|
|
||||||
{ {KC_NO, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014}, \
|
|
||||||
{KC_NO, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114}, \
|
|
||||||
{K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214}, \
|
|
||||||
{K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314}, \
|
|
||||||
{K400, K401, K402, K403, KC_NO, K405, KC_NO, K407, K408, KC_NO, K410, K411, K412, K413, KC_NO} \
|
|
||||||
} |
|
Loading…
Reference in new issue