added initial V-USB support for HHKB
This commit is contained in:
		
							parent
							
								
									61e12a3157
								
							
						
					
					
						commit
						068c31a7ba
					
				
					 7 changed files with 661 additions and 57 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue