2015-10-27 18:33:18 +00:00
|
|
|
#ifndef %KEYBOARD_UPPERCASE%_H
|
|
|
|
#define %KEYBOARD_UPPERCASE%_H
|
|
|
|
|
|
|
|
#include "matrix.h"
|
|
|
|
#include "keymap_common.h"
|
|
|
|
#include "backlight.h"
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
// This a shortcut to help you visually see your layout.
|
|
|
|
// The following is an example using the Planck MIT layout
|
|
|
|
// The first section contains all of the arguements
|
|
|
|
// The second converts the arguments into a two-dimensional array
|
|
|
|
#define KEYMAP( \
|
2016-01-24 01:45:52 +00:00
|
|
|
k00, k01, k02, \
|
2016-03-04 15:53:58 +00:00
|
|
|
k10, k11 \
|
2015-10-27 18:33:18 +00:00
|
|
|
) \
|
|
|
|
{ \
|
2016-01-24 01:45:52 +00:00
|
|
|
{ k00, k01, k02 }, \
|
|
|
|
{ k10, KC_NO, k11 }, \
|
2015-10-27 18:33:18 +00:00
|
|
|
}
|
|
|
|
|
2016-03-10 16:28:34 +00:00
|
|
|
void matrix_init_user(void);
|
|
|
|
void matrix_scan_user(void);
|
2016-03-23 01:39:05 +00:00
|
|
|
void led_set_user(uint8_t usb_led);
|
2015-10-27 18:33:18 +00:00
|
|
|
|
|
|
|
#endif
|