]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard_17/clueboard_17.h
Clueboard 60% support (#1746)
[qmk_firmware.git] / keyboards / clueboard_17 / clueboard_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 KEYMAP( \
23     k00, k01, k02, k03, \
24     k10, k11, k12, k13, \
25     k20, k21, k22, \
26     k30, k31, k32, k33, \
27     k40,      k42 \
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 #endif