added initial V-USB support for HHKB

This commit is contained in:
tmk 2011-05-16 00:08:06 +09:00
parent 61e12a3157
commit 068c31a7ba
7 changed files with 661 additions and 57 deletions

5
ps2.c
View file

@ -227,8 +227,13 @@ uint8_t ps2_host_recv(void)
return pbuf_dequeue();
}
#if 0
#define DEBUGP_INIT() do { DDRC = 0xFF; } while (0)
#define DEBUGP(x) do { PORTC = x; } while (0)
#else
#define DEBUGP_INIT()
#define DEBUGP(x)
#endif
ISR(PS2_INT_VECT)
{
static enum {