X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Ftemplate%2Ftemplate.h;h=c24bb1650fbf834a6614be68a42ecf561759e437;hb=7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9;hp=b1c34d3cbee294ee1d0364e6264529ade8921c1b;hpb=e28334017c94c6928dd7e82436cec171f0243747;p=qmk_firmware.git diff --git a/quantum/template/template.h b/quantum/template/template.h index b1c34d3cb..c24bb1650 100644 --- a/quantum/template/template.h +++ b/quantum/template/template.h @@ -1,16 +1,28 @@ +/* Copyright 2017 REPLACE_WITH_YOUR_NAME + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #ifndef %KEYBOARD_UPPERCASE%_H #define %KEYBOARD_UPPERCASE%_H -#include "matrix.h" -#include "keymap_common.h" -#include "backlight.h" -#include +#include "quantum.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 first section contains all of the arguments // The second converts the arguments into a two-dimensional array -#define KEYMAP( \ +#define LAYOUT( \ k00, k01, k02, \ k10, k11 \ ) \ @@ -19,9 +31,4 @@ { k10, KC_NO, k11 }, \ } -void matrix_init_user(void); -void matrix_scan_user(void); -void process_action_user(keyrecord_t *record); -void led_set_user(uint8_t usb_led); - #endif