]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/17/17.h
Clueboard refresh (#4902)
[qmk_firmware.git] / keyboards / clueboard / 17 / 17.h
1 #ifndef CLUEPAD_H
2 #define CLUEPAD_H
3
4 #include "quantum.h"
5
6
7 /* Cluepad matrix layout
8  * .-------------------.
9  * |NLCK|   /|   *|   -|
10  * |-------------------|
11  * |   7|   8|   9|    |
12  * |--------------|    |
13  * |   4|   5|   6|   +|
14  * |-------------------|
15  * |   1|   2|   3|    |
16  * |--------------|    |
17  * |        0|   .| Ent|
18  * '-------------------'
19  */
20 // The first section contains all of the arguments
21 // The second converts the arguments into a two-dimensional array
22 #define LAYOUT_numpad_5x4( \
23     k00, k01, k02, k03, \
24     k10, k11, k12,      \
25     k20, k21, k22, k13, \
26     k30, k31, k32,      \
27     k40,      k42, k33  \
28 ) { \
29     { k00, k01,   k02, k03   }, \
30     { k10, k11,   k12, k13   }, \
31     { k20, k21,   k22, KC_NO }, \
32     { k30, k31,   k32, k33   }, \
33     { k40, KC_NO, k42, KC_NO }  \
34 }
35
36 #define LAYOUT LAYOUT_numpad_5x4
37 #define KEYMAP LAYOUT_numpad_5x4
38
39 #endif