summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/gamenum/gamenum.c
diff options
context:
space:
mode:
authorSethSenpai <pimwing@gmail.com>2016-10-03 10:59:50 +0200
committerSethSenpai <pimwing@gmail.com>2016-10-03 10:59:50 +0200
commit468e8552072971c773ec166844d179089c544dc5 (patch)
tree1b42d426930a362af022d0da0dc3ce5759d0d6d5 /keyboards/handwired/gamenum/gamenum.c
parentc0c0c579ff00e8f11cbe201402d3e322090e1975 (diff)
downloadqmk_firmware-468e8552072971c773ec166844d179089c544dc5.tar.gz
qmk_firmware-468e8552072971c773ec166844d179089c544dc5.tar.xz
moved folder, update readme
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 000000000..8048194bb
--- /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();
+
+}