aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bpiphany/pegasushoof/2015/2015.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bpiphany/pegasushoof/2015/2015.c')
-rw-r--r--keyboards/bpiphany/pegasushoof/2015/2015.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/bpiphany/pegasushoof/2015/2015.c b/keyboards/bpiphany/pegasushoof/2015/2015.c
new file mode 100644
index 000000000..62841e7af
--- /dev/null
+++ b/keyboards/bpiphany/pegasushoof/2015/2015.c
@@ -0,0 +1,58 @@
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 "2015.h"
19
20
21extern inline void ph_caps_led_on(void);
22extern inline void ph_caps_led_off(void);
23
24extern inline void ph_sclk_led_on(void);
25extern inline void ph_sclk_led_off(void);
26
27__attribute__ ((weak))
28void matrix_init_user(void) {
29};
30
31__attribute__ ((weak))
32void matrix_scan_user(void) {
33}
34
35__attribute__ ((weak))
36bool process_action_user(keyrecord_t *record) {
37 return true;
38}
39
40__attribute__ ((weak))
41void led_set_user(uint8_t usb_led) {
42}
43
44void matrix_init_kb(void) {
45 matrix_init_user();
46}
47
48void matrix_scan_kb(void) {
49 matrix_scan_user();
50}
51
52bool process_action_kb(keyrecord_t *record) {
53 return process_action_user(record);
54}
55
56void led_set_kb(uint8_t usb_led) {
57 led_set_user(usb_led);
58}