diff options
Diffstat (limited to 'quantum/template')
| -rw-r--r-- | quantum/template/avr/config.h | 2 | ||||
| -rw-r--r-- | quantum/template/avr/template.c | 2 | ||||
| -rw-r--r-- | quantum/template/avr/template.h | 38 | ||||
| -rw-r--r-- | quantum/template/base/keymaps/default/config.h | 2 | ||||
| -rw-r--r-- | quantum/template/base/keymaps/default/keymap.c | 2 | ||||
| -rw-r--r-- | quantum/template/base/template.h (renamed from quantum/template/ps2avrgb/template.h) | 7 | ||||
| -rw-r--r-- | quantum/template/ps2avrgb/rules.mk | 2 | ||||
| -rw-r--r-- | quantum/template/ps2avrgb/template.c | 2 |
8 files changed, 8 insertions, 49 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index eed50e5c0..d05b2cb98 100644 --- a/quantum/template/avr/config.h +++ b/quantum/template/avr/config.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright 2018 REPLACE_WITH_YOUR_NAME | 2 | Copyright 2019 REPLACE_WITH_YOUR_NAME |
| 3 | 3 | ||
| 4 | This program is free software: you can redistribute it and/or modify | 4 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
diff --git a/quantum/template/avr/template.c b/quantum/template/avr/template.c index b6366fd9a..3deeae88b 100644 --- a/quantum/template/avr/template.c +++ b/quantum/template/avr/template.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2018 REPLACE_WITH_YOUR_NAME | 1 | /* Copyright 2019 REPLACE_WITH_YOUR_NAME |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
diff --git a/quantum/template/avr/template.h b/quantum/template/avr/template.h deleted file mode 100644 index 0d626ed50..000000000 --- a/quantum/template/avr/template.h +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | /* Copyright 2018 REPLACE_WITH_YOUR_NAME | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #ifndef %KEYBOARD_UPPERCASE%_H | ||
| 17 | #define %KEYBOARD_UPPERCASE%_H | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | /* This a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | #define LAYOUT( \ | ||
| 30 | K00, K01, K02, \ | ||
| 31 | K10, K11 \ | ||
| 32 | ) \ | ||
| 33 | { \ | ||
| 34 | { K00, K01, K02 }, \ | ||
| 35 | { K10, KC_NO, K11 }, \ | ||
| 36 | } | ||
| 37 | |||
| 38 | #endif | ||
diff --git a/quantum/template/base/keymaps/default/config.h b/quantum/template/base/keymaps/default/config.h index 4496c5910..c8e433412 100644 --- a/quantum/template/base/keymaps/default/config.h +++ b/quantum/template/base/keymaps/default/config.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2018 REPLACE_WITH_YOUR_NAME | 1 | /* Copyright 2019 REPLACE_WITH_YOUR_NAME |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
diff --git a/quantum/template/base/keymaps/default/keymap.c b/quantum/template/base/keymaps/default/keymap.c index 5f0730c8a..11cd134a0 100644 --- a/quantum/template/base/keymaps/default/keymap.c +++ b/quantum/template/base/keymaps/default/keymap.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2018 REPLACE_WITH_YOUR_NAME | 1 | /* Copyright 2019 REPLACE_WITH_YOUR_NAME |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
diff --git a/quantum/template/ps2avrgb/template.h b/quantum/template/base/template.h index b4d6f4662..caf2abb4c 100644 --- a/quantum/template/ps2avrgb/template.h +++ b/quantum/template/base/template.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2018 REPLACE_WITH_YOUR_NAME | 1 | /* Copyright 2019 REPLACE_WITH_YOUR_NAME |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
| @@ -13,8 +13,7 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #ifndef %KEYBOARD_UPPERCASE%_H | 16 | #pragma once |
| 17 | #define %KEYBOARD_UPPERCASE%_H | ||
| 18 | 17 | ||
| 19 | #include "quantum.h" | 18 | #include "quantum.h" |
| 20 | 19 | ||
| @@ -34,5 +33,3 @@ | |||
| 34 | { k00, k01, k02 }, \ | 33 | { k00, k01, k02 }, \ |
| 35 | { k10, KC_NO, k11 }, \ | 34 | { k10, KC_NO, k11 }, \ |
| 36 | } | 35 | } |
| 37 | |||
| 38 | #endif | ||
diff --git a/quantum/template/ps2avrgb/rules.mk b/quantum/template/ps2avrgb/rules.mk index 85603f955..bcd7dff99 100644 --- a/quantum/template/ps2avrgb/rules.mk +++ b/quantum/template/ps2avrgb/rules.mk | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com> | 1 | # Copyright 2019 Luiz Ribeiro <luizribeiro@gmail.com> |
| 2 | # | 2 | # |
| 3 | # This program is free software: you can redistribute it and/or modify | 3 | # This program is free software: you can redistribute it and/or modify |
| 4 | # it under the terms of the GNU General Public License as published by | 4 | # it under the terms of the GNU General Public License as published by |
diff --git a/quantum/template/ps2avrgb/template.c b/quantum/template/ps2avrgb/template.c index 8bbf9ebda..4e35a2c12 100644 --- a/quantum/template/ps2avrgb/template.c +++ b/quantum/template/ps2avrgb/template.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2018 REPLACE_WITH_YOUR_NAME | 1 | /* Copyright 2019 REPLACE_WITH_YOUR_NAME |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
