This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Something wrong with the HID report

Hi, I am working on a keyboard project,I change the HID report as follows

            0x05, 0x0C, 				//	Usage Page (Consumer Devices)		
	0x09, 0x01, 				//	Usage (Consumer Control)		
	0xA1, 0x01, 				//	Collection (Application)			
	0x85, 0x03,			        //		Report ID=3						
	0x05, 0x0C, 				//		Usage Page (Consumer Devices)		
	0x15, 0x00, 				//		Logical Minimum (0)					
	0x25, 0x01, 				//		Logical Maximum (1)					
	0x75, 0x01, 				//		Report Size (1)						
	0x95, 0x08, 				//		Report Count (8)					
	0x09, 0xCD,			        //		Usage (Play / Pause)	bit 1									
	0x0A, 0x83, 0x01,                    //     	        Usage (AL Consumer Control Configuration)	bit2				
	0x0A, 0xAA, 0x01,		        //              Uasge (AL Desktop)	        bit3
	0x0A, 0x04, 0x02,		        //              Usage (AC Exit)	        bit4
	0x09, 0xB7,			        //		Usage (Stop)			bit5			
	0x09, 0x94,			        //		Usage (Quit)			bit6			
	0x09, 0xB3,			        //		Usage (Fast Forward)	bit7
	0x09, 0xB4,			        //		Usage (Rewind)		bit8
	0x81, 0x02, 				//		Input (Data, Variable, Absolute)						
	0xC0		//	End Collection	

But only the Play/Pause and AL Consumer Configuration works well.I test some other report, such as AC Refresh,AC Back, they works fine.
Is there someone who can help me ?Thanks!!!:) :)
Related