diff options
Diffstat (limited to 'keyboards/thevankeyboards/roadkit/roadkit.h')
| -rw-r--r-- | keyboards/thevankeyboards/roadkit/roadkit.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/thevankeyboards/roadkit/roadkit.h b/keyboards/thevankeyboards/roadkit/roadkit.h new file mode 100644 index 000000000..62cfabc5e --- /dev/null +++ b/keyboards/thevankeyboards/roadkit/roadkit.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | #ifndef ROADKIT_H | ||
| 2 | #define ROADKIT_H | ||
| 3 | |||
| 4 | #include "quantum.h" | ||
| 5 | |||
| 6 | // This is a shortcut to help you visually see your layout. | ||
| 7 | #define LAYOUT_numpad_4x4( \ | ||
| 8 | K00, K01, K02, K03, \ | ||
| 9 | K10, K11, K12, \ | ||
| 10 | K20, K21, K22, K23, \ | ||
| 11 | K30, K32 \ | ||
| 12 | ) \ | ||
| 13 | { \ | ||
| 14 | { K00, K01, K02, K03 }, \ | ||
| 15 | { K10, K11, K12, KC_NO }, \ | ||
| 16 | { K20, K21, K22, K23 }, \ | ||
| 17 | { K30, KC_NO, K32, KC_NO } \ | ||
| 18 | } | ||
| 19 | |||
| 20 | #define LAYOUT_ortho_4x4( \ | ||
| 21 | K00, K01, K02, K03, \ | ||
| 22 | K10, K11, K12, K13, \ | ||
| 23 | K20, K21, K22, K23, \ | ||
| 24 | K30, K31, K32, K33 \ | ||
| 25 | ) \ | ||
| 26 | { \ | ||
| 27 | { K00, K01, K02, K03 }, \ | ||
| 28 | { K10, K11, K12, K13 }, \ | ||
| 29 | { K20, K21, K22, K23 }, \ | ||
| 30 | { K30, K31, K32, K33 } \ | ||
| 31 | } | ||
| 32 | |||
| 33 | #endif | ||
