1
0
Fork 0

Add initial fix for new keymap.

This commit is contained in:
tmk 2012-12-16 02:32:07 +09:00
parent 77f157943f
commit 8a709c2750
14 changed files with 967 additions and 611 deletions

View file

@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <avr/interrupt.h>
#include <util/delay.h>
#include "print.h"
#include "debug.h"
#include "util.h"
#include "timer.h"
#include "matrix.h"
@ -135,6 +136,12 @@ uint8_t matrix_cols(void)
void matrix_init(void)
{
#ifdef DEBUG
print_enable = true;
debug_enable = true;
debug_keyboard = true;
#endif
KEY_INIT();
// initialize matrix state: all keys off