diff options
author | SethSenpai <pimwing@gmail.com> | 2016-10-03 10:53:09 +0200 |
---|---|---|
committer | SethSenpai <pimwing@gmail.com> | 2016-10-03 10:53:09 +0200 |
commit | c0c0c579ff00e8f11cbe201402d3e322090e1975 (patch) | |
tree | ed6401e26cf8736765d4c9d7019cf05588437665 /keyboards/gamenum/gamenum.c | |
parent | 35e6870e5c8943c044187256e01c96ef400ca067 (diff) | |
download | qmk_firmware-c0c0c579ff00e8f11cbe201402d3e322090e1975.tar.gz qmk_firmware-c0c0c579ff00e8f11cbe201402d3e322090e1975.tar.xz |
added gamenum handwired keyboard
Diffstat (limited to 'keyboards/gamenum/gamenum.c')
-rw-r--r-- | keyboards/gamenum/gamenum.c | 14 |
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(); + +} |