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