|
|
|
|
|
|
|
|
#include "matrix.h" |
|
|
#include "matrix.h" |
|
|
#include "print.h" |
|
|
#include "print.h" |
|
|
#include "debug.h" |
|
|
#include "debug.h" |
|
|
|
|
|
#include "sendchar.h" |
|
|
#include "util.h" |
|
|
#include "util.h" |
|
|
#include "suspend.h" |
|
|
#include "suspend.h" |
|
|
#include "host.h" |
|
|
#include "host.h" |
|
|
|
|
|
|
|
|
usb_init(); |
|
|
usb_init(); |
|
|
while (!usb_configured()) /* wait */ ; |
|
|
while (!usb_configured()) /* wait */ ; |
|
|
|
|
|
|
|
|
|
|
|
print_set_sendchar(sendchar); |
|
|
|
|
|
|
|
|
keyboard_init(); |
|
|
keyboard_init(); |
|
|
host_set_driver(pjrc_driver()); |
|
|
host_set_driver(pjrc_driver()); |
|
|
#ifdef SLEEP_LED_ENABLE |
|
|
#ifdef SLEEP_LED_ENABLE |