summaryrefslogtreecommitdiff
path: root/keyboards/gamenum/gamenum.c
diff options
context:
space:
mode:
authorSethSenpai <pimwing@gmail.com>2016-10-03 08:53:09 +0000
committerSethSenpai <pimwing@gmail.com>2016-10-03 08:53:09 +0000
commitc0c0c579ff00e8f11cbe201402d3e322090e1975 (patch)
treeed6401e26cf8736765d4c9d7019cf05588437665 /keyboards/gamenum/gamenum.c
parent35e6870e5c8943c044187256e01c96ef400ca067 (diff)
added gamenum handwired keyboard
Diffstat (limited to 'keyboards/gamenum/gamenum.c')
-rw-r--r--keyboards/gamenum/gamenum.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/gamenum/gamenum.c b/keyboards/gamenum/gamenum.c
new file mode 100644
index 0000000000..8048194bbc
--- /dev/null
+++ b/keyboards/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();
+
+}