aboutsummaryrefslogtreecommitdiff
path: root/keyboards/pegasushoof/pegasushoof.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pegasushoof/pegasushoof.c')
-rw-r--r--keyboards/pegasushoof/pegasushoof.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/pegasushoof/pegasushoof.c b/keyboards/pegasushoof/pegasushoof.c
new file mode 100644
index 000000000..6bb249aef
--- /dev/null
+++ b/keyboards/pegasushoof/pegasushoof.c
@@ -0,0 +1,51 @@
1/*
2Copyright 2016 Daniel Svensson <dsvensson@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "pegasushoof.h"
19
20__attribute__ ((weak))
21void matrix_init_user(void) {
22};
23
24__attribute__ ((weak))
25void matrix_scan_user(void) {
26}
27
28__attribute__ ((weak))
29bool process_action_user(keyrecord_t *record) {
30 return true;
31}
32
33__attribute__ ((weak))
34void led_set_user(uint8_t usb_led) {
35}
36
37void matrix_init_kb(void) {
38 matrix_init_user();
39}
40
41void matrix_scan_kb(void) {
42 matrix_scan_user();
43}
44
45bool process_action_kb(keyrecord_t *record) {
46 return process_action_user(record);
47}
48
49void led_set_kb(uint8_t usb_led) {
50 led_set_user(usb_led);
51}