aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/gamenum/gamenum.c
diff options
context:
space:
mode:
authorGravatar SethSenpai <pimwing@gmail.com>2016-10-03 08:53:09 +0000
committerGravatar SethSenpai <pimwing@gmail.com>2016-10-03 08:53:09 +0000
commitc0c0c579ff00e8f11cbe201402d3e322090e1975 (patch)
treeed6401e26cf8736765d4c9d7019cf05588437665 /keyboards/gamenum/gamenum.c
parent35e6870e5c8943c044187256e01c96ef400ca067 (diff)
downloadqmk_firmware-c0c0c579ff00e8f11cbe201402d3e322090e1975.tar.gz
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 000000000..8048194bb
--- /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();
+
+}