summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/gamenum/gamenum.c
diff options
context:
space:
mode:
authorIBNobody <protospherex@gmail.com>2016-10-29 11:13:15 -0500
committerIBNobody <protospherex@gmail.com>2016-10-29 11:13:15 -0500
commite40c33f754a86c4dd7bd3c7b5c7efe822f2893bc (patch)
treebf372a8afead88128f68d373435025a16fbf53c2 /keyboards/handwired/gamenum/gamenum.c
parent973f526bb4928bf3aec6067aa444b31ace997c8a (diff)
parent32f88c07173b795c6981c779057dceba00aeb1cb (diff)
Merge branch 'master' of https://github.com/IBNobody/qmk_firmware
Diffstat (limited to 'keyboards/handwired/gamenum/gamenum.c')
-rw-r--r--keyboards/handwired/gamenum/gamenum.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/handwired/gamenum/gamenum.c b/keyboards/handwired/gamenum/gamenum.c
new file mode 100644
index 0000000000..8048194bbc
--- /dev/null
+++ b/keyboards/handwired/gamenum/gamenum.c
@@ -0,0 +1,14 @@
+#include "gamenum.h"
+
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+ DDRC |= (1<<6);
+ PORTC &= ~(1<<6);
+
+ DDRD |= (1<<4);
+ PORTD &= ~(1<<4);
+
+ matrix_init_user();
+
+}