@ -40,41 +40,41 @@
 
			
		
	
		
		
			
				
					
					/** Buffer to hold the previously generated Keyboard HID report, for comparison purposes inside the HID class driver. */ /** Buffer to hold the previously generated Keyboard HID report, for comparison purposes inside the HID class driver. */  
			
		
	
		
		
			
				
					
					uint8_t  PrevKeyboardHIDReportBuffer [ sizeof ( USB_KeyboardReport_Data_t ) ] ; uint8_t  PrevKeyboardHIDReportBuffer [ sizeof ( USB_KeyboardReport_Data_t ) ] ;  
			
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
					/** LUFA  Mass Storage  Class driver interface configuration and state information. This structure is
/** LUFA  HID  Class driver interface configuration and state information. This structure is
 
			
				
				
			
		
	
		
		
			
				
					
					 *   passed  to  all  Mass Storage   Class  driver  functions ,  so  that  multiple  instances  of  the  same  class 
 *   passed  to  all  HID  Class  driver  functions ,  so  that  multiple  instances  of  the  same  class 
 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 *   within  a  device  can  be  differentiated  from  one  another . 
 *   within  a  device  can  be  differentiated  from  one  another . 
 
			
		
	
		
		
			
				
					
					 */ 
 */ 
 
			
		
	
		
		
			
				
					
					USB_ClassInfo_ MS_Device_t Disk_MS  _Interface = USB_ClassInfo_ HID_Device_t Keyboard_HID  _Interface =  
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 	{ 
 	{ 
 
			
		
	
		
		
			
				
					
							. Config  = 
		. Config  = 
 
			
		
	
		
		
			
				
					
								{ 
			{ 
 
			
		
	
		
		
			
				
					
									. InterfaceNumber         =  0 , 
				. InterfaceNumber          =  1 , 
 
			
				
				
			
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
									. DataINEndpointNumber    =  MASS_STORAGE_IN_EPNUM , 
 
			
		
	
		
		
			
				
					
									. DataINEndpointSize      =  MASS_STORAGE_IO_EPSIZE , 
 
			
		
	
		
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
									. DataOUTEndpointNumber  =  MASS_STORAGE_OUT  _EPNUM, 
				. ReportINEndpointNumber   =  KEYBOARD_EPNUM , 
 
			
				
				
			
		
	
		
		
			
				
					
									. DataOUTEndpointSize    =  MASS_STORAGE_IO  _EPSIZE, 
				. ReportINEndpointSize     =  KEYBOARD_EPSIZE , 
 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
									. TotalLUNs               =  TOTAL_LUNS , 
				. PrevReportINBuffer       =  PrevKeyboardHIDReportBuffer , 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
									. PrevReportINBufferSize   =  sizeof ( PrevKeyboardHIDReportBuffer ) , 
 
			
		
	
		
		
			
				
					
								} , 
			} , 
 
			
		
	
		
		
			
				
					
					    } ; 
    } ; 
 
			
		
	
		
		
			
				
					
						
	
 
			
		
	
		
		
			
				
					
					/** LUFA  HID  Class driver interface configuration and state information. This structure is
/** LUFA  Mass Storage  Class driver interface configuration and state information. This structure is
 
			
				
				
			
		
	
		
		
			
				
					
					 *   passed  to  all  HID  Class  driver  functions ,  so  that  multiple  instances  of  the  same  class 
 *   passed  to  all  Mass Storage   Class  driver  functions ,  so  that  multiple  instances  of  the  same  class 
 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 *   within  a  device  can  be  differentiated  from  one  another . 
 *   within  a  device  can  be  differentiated  from  one  another . 
 
			
		
	
		
		
			
				
					
					 */ 
 */ 
 
			
		
	
		
		
			
				
					
					USB_ClassInfo_ HID_Device_t Keyboard_HID  _Interface = USB_ClassInfo_ MS_Device_t Disk_MS  _Interface =  
			
				
				
			
		
	
		
		
	
		
		
			
				
					
						{ 
	{ 
 
			
		
	
		
		
			
				
					
							. Config  = 
		. Config  = 
 
			
		
	
		
		
			
				
					
								{ 
			{ 
 
			
		
	
		
		
			
				
					
									. InterfaceNumber          =  1  , 
				. InterfaceNumber         =  0 , 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
									. ReportINEndpointNumber  =  KEYBOARD  _EPNUM, 
				. DataINEndpointNumber   =  MASS_STORAGE_IN  _EPNUM, 
 
			
				
				
			
		
	
		
		
			
				
					
									. ReportINEndpointSize    =  KEYBOARD  _EPSIZE, 
				. DataINEndpointSize     =  MASS_STORAGE_IO  _EPSIZE, 
 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
									. PrevReportINBuffer       =  PrevKeyboardHIDReportBuffer , 
				. DataOUTEndpointNumber   =  MASS_STORAGE_OUT_EPNUM , 
 
			
				
				
			
		
	
		
		
			
				
					
									. PrevReportINBufferSize   =  sizeof ( PrevKeyboardHIDReportBuffer ) , 
				. DataOUTEndpointSize     =  MASS_STORAGE_IO_EPSIZE , 
 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
									. TotalLUNs               =  TOTAL_LUNS , 
 
			
		
	
		
		
			
				
					
								} , 
			} , 
 
			
		
	
		
		
			
				
					
						} ; 
	} ;