forked from forks/qmk_firmware
db32864ce7
* sorts out keycodes * move midi around * remove mbed * replaces keymap with qmk/keymap_common * fixes keymap.h * keymap, config, quantum rearrange * removes unneeded lufa stuff
31 lines
706 B
C
31 lines
706 B
C
#ifndef %KEYBOARD_UPPERCASE%_H
|
|
#define %KEYBOARD_UPPERCASE%_H
|
|
|
|
#include "matrix.h"
|
|
#include "keymap.h"
|
|
#ifdef BACKLIGHT_ENABLE
|
|
#include "backlight.h"
|
|
#endif
|
|
#include <avr/io.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( \
|
|
k00, k01, k02, \
|
|
k10, k11 \
|
|
) \
|
|
{ \
|
|
{ k00, k01, k02 }, \
|
|
{ k10, KC_NO, k11 }, \
|
|
}
|
|
|
|
void matrix_init_user(void);
|
|
void matrix_scan_user(void);
|
|
bool process_action_user(keyrecord_t *record);
|
|
void led_set_user(uint8_t usb_led);
|
|
|
|
#endif
|