]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/jj50/jj50.h
[Keyboard] fixed pins for numpad_5x4 layout (#6311)
[qmk_firmware.git] / keyboards / jj50 / jj50.h
1 /*
2 Base Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
3 Modified 2017 Andrew Novak <ndrw.nvk@gmail.com>
4 Modified 2018 Wayne Jones (WarmCatUK) <waynekjones@gmail.com>
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef KEYMAP_COMMON_H
21 #define KEYMAP_COMMON_H
22
23 #include "quantum.h"
24 #include "quantum_keycodes.h"
25 #include "keycode.h"
26 #include "action.h"
27
28 void matrix_init_user(void);
29
30 #define LAYOUT_ortho_5x12( \
31     K011, K010, K009, K008, K004, K005, K006, K007, K003, K002, K201, K000, \
32     K111, K110, K109, K108, K104, K105, K106, K107, K103, K102, K001, K100, \
33     K211, K210, K209, K208, K204, K205, K206, K207, K203, K202, K101, K200, \
34     K311, K310, K309, K308, K304, K305, K306, K307, K303, K302, K301, K300, \
35     K411, K410, K409, K408, K404, K405, K406, K407, K403, K402, K401, K400  \
36 ) { \
37   { K100, K001, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, }, \
38   { K200, K101, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, }, \
39   { K000, K201, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, }, \
40   { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, }, \
41   { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411  }  \
42 }
43
44 #define LAYOUT LAYOUT_ortho_5x12
45
46 #endif