]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/noxary/280/280.h
Remove commented out MCUs in rules.mk (#5884)
[qmk_firmware.git] / keyboards / noxary / 280 / 280.h
1 /* Copyright 2019 MechMerlin
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16 #pragma once
17
18 #include "quantum.h"
19
20 /* This a shortcut to help you visually see your layout.
21  *
22  * The first section contains all of the arguments representing the physical
23  * layout of the board and position of the keys.
24  *
25  * The second converts the arguments into a two-dimensional array which
26  * represents the switch matrix.
27  */
28
29 #define LAYOUT( \
30         K000,       K002, K103, K004, K105, K006, K107, K008, K109,       K111, K012, K113, K014, K115, K016, K117, \
31         K200, K301, K202, K303, K204, K305, K206, K307, K208, K309, K210, K311, K212, K313, K214, K315, K216, K317, \
32         K400, K501, K402, K503, K404, K505, K406, K507, K408, K509, K410, K511, K412,       K414, K515, K416, K517, \
33         K600, K701, K602, K703, K604, K705, K606, K707, K608, K709, K610, K711, K612,       K614,                   \
34         K800, K901, K802, K903, K804, K905, K806, K907, K808, K909, K810, K911, K812,       K814,       K816,       \
35     K1000,K1101,K1002,                  K1006,                  K1010,K1111,K1012,      K1014,K1115,K1016,K1117\
36 ) { \
37         { K000,   K002,   K004,   K006,   K008,   KC_NO,  K012,   K014,   K016  },\
38     { KC_NO,  K103,   K105,   K107,   K109,   K111,   K113,   K115,   K117  },\
39         { K200,   K202,   K204,   K206,   K208,   K210,   K212,   K214,   K216  },\
40     { K301,   K303,   K305,   K307,   K309,   K311,   K313,   K315,   K317  },\
41         { K400,   K402,   K404,   K406,   K408,   K410,   K412,   K414,   K416  },\
42     { K501,   K503,   K505,   K507,   K509,   K511,   KC_NO,  K515,   K517  },\
43         { K600,   K602,   K604,   K606,   K608,   K610,   K612,   K614,   KC_NO },\
44     { K701,   K703,   K705,   K707,   K709,   K711,   KC_NO,  KC_NO,  KC_NO },\
45         { K800,   K802,   K804,   K806,   K808,   K810,   K812,   K814,   K816  },\
46     { K901,   K903,   K905,   K907,   K909,   K911,   KC_NO,  KC_NO,  KC_NO },\
47     { K1000,  K1002,  KC_NO,  K1006,  KC_NO,  K1010,  K1012,  K1014,  K1016 },\
48     { K1101,  KC_NO,  KC_NO,  KC_NO,  KC_NO,  K1111,  KC_NO,  K1115,  K1117 }\
49 }