aboutsummaryrefslogtreecommitdiff
path: root/keyboards/atreus/atreus.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-06-21 22:39:54 -0400
committerGitHub <noreply@github.com>2016-06-21 22:39:54 -0400
commit649b33d7783cf3021928534b7ae127e0a89e8807 (patch)
treec2b5e0cf8ff4aa2918e3b88ab75dbdb071cc0a1d /keyboards/atreus/atreus.c
parent464c8e274f993d3571fe5ea5e836fe55a3912ffe (diff)
downloadqmk_firmware-649b33d7783cf3021928534b7ae127e0a89e8807.tar.gz
qmk_firmware-649b33d7783cf3021928534b7ae127e0a89e8807.zip
Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432)
* fixes from tmk's repo * rename keyboard to keyboards
Diffstat (limited to 'keyboards/atreus/atreus.c')
-rw-r--r--keyboards/atreus/atreus.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/atreus/atreus.c b/keyboards/atreus/atreus.c
new file mode 100644
index 000000000..9d1de631b
--- /dev/null
+++ b/keyboards/atreus/atreus.c
@@ -0,0 +1,29 @@
1#include "atreus.h"
2
3__attribute__ ((weak))
4void matrix_init_user(void) {
5 // leave these blank
6};
7
8__attribute__ ((weak))
9void matrix_scan_user(void) {
10 // leave these blank
11};
12
13void matrix_init_kb(void) {
14 // put your keyboard start-up code here
15 // runs once when the firmware starts up
16
17 if (matrix_init_user) {
18 (*matrix_init_user)();
19 }
20};
21
22void matrix_scan_kb(void) {
23 // put your looping keyboard code here
24 // runs every cycle (a lot)
25
26 if (matrix_scan_user) {
27 (*matrix_scan_user)();
28 }
29};