2015-10-28 00:33:18 +06:00
|
|
|
#ifndef %KEYBOARD_UPPERCASE%_H
|
|
|
|
#define %KEYBOARD_UPPERCASE%_H
|
|
|
|
|
|
|
|
#include "matrix.h"
|
2016-06-19 00:30:24 +06:00
|
|
|
#include "keymap.h"
|
2016-04-30 08:19:40 +06:00
|
|
|
#ifdef BACKLIGHT_ENABLE
|
|
|
|
#include "backlight.h"
|
|
|
|
#endif
|
|
|
|
#include <avr/io.h>
|
2015-10-28 00:33:18 +06:00
|
|
|
#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 07:45:52 +06:00
|
|
|
k00, k01, k02, \
|
2016-03-04 21:53:58 +06:00
|
|
|
k10, k11 \
|
2015-10-28 00:33:18 +06:00
|
|
|
) \
|
|
|
|
{ \
|
2016-01-24 07:45:52 +06:00
|
|
|
{ k00, k01, k02 }, \
|
|
|
|
{ k10, KC_NO, k11 }, \
|
2016-03-28 20:13:37 +06:00
|
|
|
}
|
2015-10-28 00:33:18 +06:00
|
|
|
|
2016-03-10 22:28:34 +06:00
|
|
|
void matrix_init_user(void);
|
|
|
|
void matrix_scan_user(void);
|
2016-05-15 10:27:32 +06:00
|
|
|
bool process_action_user(keyrecord_t *record);
|
2016-03-23 07:39:05 +06:00
|
|
|
void led_set_user(uint8_t usb_led);
|
2015-10-28 00:33:18 +06:00
|
|
|
|
2016-03-28 20:13:37 +06:00
|
|
|
#endif
|