diff options
Diffstat (limited to 'keyboards/clueboard/card/card.h')
| -rw-r--r-- | keyboards/clueboard/card/card.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/clueboard/card/card.h b/keyboards/clueboard/card/card.h new file mode 100644 index 000000000..3342a0823 --- /dev/null +++ b/keyboards/clueboard/card/card.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #ifndef CLUECARD_H | ||
| 2 | #define CLUECARD_H | ||
| 3 | |||
| 4 | #include "quantum.h" | ||
| 5 | |||
| 6 | // This a shortcut to help you visually see your layout. | ||
| 7 | // The first section contains all of the arguements | ||
| 8 | // The second converts the arguments into a two-dimensional array | ||
| 9 | #define KEYMAP( \ | ||
| 10 | k00, k01, k02, \ | ||
| 11 | k10, k12, \ | ||
| 12 | k20, k21, k22, \ | ||
| 13 | k11, \ | ||
| 14 | k30, k31, k32 \ | ||
| 15 | ) { \ | ||
| 16 | { k00, k01, k02, }, \ | ||
| 17 | { k10, k11, k12, }, \ | ||
| 18 | { k20, k21, k22, }, \ | ||
| 19 | { k30, k31, k32, } \ | ||
| 20 | } | ||
| 21 | |||
| 22 | #endif | ||
