]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/primekb/prime_o/prime_o.h
[Keyboard] fixed pins for numpad_5x4 layout (#6311)
[qmk_firmware.git] / keyboards / primekb / prime_o / prime_o.h
1 /* Copyright 2018 Jumail Mundekkat
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 #ifndef PRIME_O_H
17 #define PRIME_O_H
18
19 #include "quantum.h"
20
21 #define LAYOUT( \
22         K001, K008, K013, K018, K023, K029, K035, K041, K046, K052, K058, K064, K071, K076, K081, K086, \
23         K002, K009, K014, K019, K024, K030, K036, K042, K047, K053, K059, K065, K072, K077, K082, K087, \
24         K004, K010, K015, K020, K025, K031, K037, K043, K048, K054, K060, K066, K073, K078, K083, K089, \
25         K005, K011, K016, K021, K026, K032, K038, K044, K049, K055, K061, K067, K074, K079, K084, K090, \
26         K007, K012, K017, K022, K028, K034, K040, K045, K051, K057, K063, K069, K075, K080, K085, K092  \
27 ) { \
28         { K007,  K017,  K028,  K040,  K051,  K063,  K075,  K085 }, \
29         { K005,  K016,  K026,  K038,  K049,  K061,  K074,  K084 }, \
30         { K004,  K015,  K025,  K037,  K048,  K060,  K073,  K083 }, \
31         { K002,  K014,  K024,  K036,  K047,  K059,  K072,  K082 }, \
32         { K001,  K013,  K023,  K035,  K046,  K058,  K071,  K081 }, \
33         { K008,  K018,  K029,  K041,  K052,  K064,  K076,  K086 }, \
34         { K009,  K019,  K030,  K042,  K053,  K065,  K077,  K087 }, \
35         { K010,  K020,  K031,  K043,  K054,  K066,  K078,  K089 }, \
36         { K011,  K021,  K032,  K044,  K055,  K067,  K079,  K090 }, \
37         { K012,  K022,  K034,  K045,  K057,  K069,  K080,  K092 }  \
38 }
39
40 #endif