summaryrefslogtreecommitdiff
path: root/keyboards/handwired/gamenum/gamenum.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-10-06 19:44:39 -0400
committerGitHub <noreply@github.com>2016-10-06 19:44:39 -0400
commit91d2b64850acb94177eca0c0c03380282c1b890b (patch)
tree0dfd260ebffa260a735fc299a8fb3e6d5f79a4a5 /keyboards/handwired/gamenum/gamenum.c
parentd465e3f0c384654b4e65f4dc031a0c7422cdf853 (diff)
parentb7442999dff637696842f272edca870f8e2f64e4 (diff)
Merge pull request #805 from SethSenpai/gamenum
Gamenum
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();
+
+}