X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Ftemplate%2Ftemplate.c;h=97f788654b9530533ee8453fd18add81246011b9;hb=344ebbac43ef510b29cdcdff2688186ee3ffead7;hp=dcc4b0a221a95aef901c55675004728e4e42469d;hpb=9f33a5593cc70dfb0885328061f1aa4b2c2fa386;p=qmk_firmware.git diff --git a/quantum/template/template.c b/quantum/template/template.c index dcc4b0a22..97f788654 100644 --- a/quantum/template/template.c +++ b/quantum/template/template.c @@ -1,3 +1,18 @@ +/* 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 . + */ #include "%KEYBOARD%.h" void matrix_init_kb(void) { @@ -18,7 +33,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { // put your per-action keyboard code here // runs for every action, just before processing by the firmware - return process_action_user(record); + return process_record_user(keycode, record); } void led_set_kb(uint8_t usb_led) {