]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/template/template.h
changes to the template
[qmk_firmware.git] / quantum / template / template.h
1 #ifndef %KEYBOARD_UPPERCASE%_H
2 #define %KEYBOARD_UPPERCASE%_H
3
4 #include "matrix.h"
5 #include "keymap_common.h"
6 #include "backlight.h"
7 #include <stddef.h>
8
9 // This a shortcut to help you visually see your layout.
10 // The following is an example using the Planck MIT layout
11 // The first section contains all of the arguements
12 // The second converts the arguments into a two-dimensional array
13 #define KEYMAP( \
14     k00, k01, k02, \
15       k10,  k11,   \
16 ) \
17 { \
18     { k00, k01,   k02 }, \
19     { k10, KC_NO, k11 }, \
20
21
22 void * matrix_init_user(void);
23 void * matrix_scan_user(void);
24
25 #endif