|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
#ifdef KEYBOARD_INTERFACE |
|
|
|
|
|
if (setup.word1 == 0x02000921 && setup.word2 == ((1 << 16) | KEYBOARD_INTERFACE)) { |
|
|
|
|
|
keyboard_leds = endpoint0_buffer[0]; |
|
|
|
|
|
endpoint0_transmit(NULL, 0, 0); |
|
|
|
|
|
} |
|
|
|
|
|
#endif |
|
|
#ifdef SEREMU_INTERFACE |
|
|
#ifdef SEREMU_INTERFACE |
|
|
if (setup.word1 == 0x03000921 && setup.word2 == ((4<<16)|SEREMU_INTERFACE) |
|
|
if (setup.word1 == 0x03000921 && setup.word2 == ((4<<16)|SEREMU_INTERFACE) |
|
|
&& endpoint0_buffer[0] == 0xA9 && endpoint0_buffer[1] == 0x45 |
|
|
&& endpoint0_buffer[0] == 0xA9 && endpoint0_buffer[1] == 0x45 |