1
0
Fork 0

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

View file

@ -163,8 +163,8 @@ usbRequest_t *rq = (void *)data;
if(rq->bRequest == USBRQ_HID_GET_REPORT){
debug(" GET_REPORT");
/* we only have one report type, so don't look at wValue */
usbMsgPtr = (void *)keyboard_report;
return sizeof(*keyboard_report);
usbMsgPtr = (void *)keyboard_report_prev;
return sizeof(*keyboard_report_prev);
}else if(rq->bRequest == USBRQ_HID_GET_IDLE){
debug(" GET_IDLE: ");
debug_hex(idleRate);