]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/converter/numeric_keypad_IIe/numeric_keypad_IIe.h
Update KBD67 readme so that it mentions the KBD65 PCB (#5143)
[qmk_firmware.git] / keyboards / converter / numeric_keypad_IIe / numeric_keypad_IIe.h
1 /* Copyright Adam Newbold <adam@neatnik.net>
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
17 #pragma once
18 #include "quantum.h"
19
20 #define LAYOUT( \
21     K_ESC,   K_7, K_8,     K_9,   K_LEFT_PARENS, K_RIGHT_PARENS, \
22     K_LEFT,  K_4, K_5,     K_6,   K_MINUS,       K_DIVIDE,       \
23     K_RIGHT, K_1, K_2,     K_3,   K_PLUS,        K_MULTIPLY,     \
24     K_SPACE, K_0, K_COMMA, K_DOT, K_RETURN,      K_PRINT         \
25 ){ \
26     { K_RIGHT_PARENS, K_ESC,   K_4,           K_5,     K_6,      K_7     },\
27     { K_DIVIDE,       K_LEFT,  K_0,           K_1,     K_2,      K_3     },\
28     { K_PRINT,        K_SPACE, K_LEFT_PARENS, K_MINUS, K_RETURN, K_COMMA },\
29     { K_MULTIPLY,     K_RIGHT, K_8,           K_9,     K_DOT,    K_PLUS  },\
30 }