Added multiple Report ID support to the HID class driver. Removed OUT endpoint suppor...
[pub/USBasp.git] / Demos / Device / Keyboard / Descriptors.c
index ddd19fc..8914909 100644 (file)
@@ -136,7 +136,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .InterfaceNumber        = 0x00,\r
                        .AlternateSetting       = 0x00,\r
                        \r
-                       .TotalEndpoints         = 2,\r
+                       .TotalEndpoints         = 1,\r
                                \r
                        .Class                  = 0x03,\r
                        .SubClass               = 0x01,\r
@@ -165,16 +165,6 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
                        .EndpointSize           = KEYBOARD_EPSIZE,\r
                        .PollingIntervalMS      = 0x04\r
                },\r
-\r
-       .KeyboardLEDsEndpoint = \r
-               {\r
-                       .Header                 = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},\r
-\r
-                       .EndpointAddress        = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_LEDS_EPNUM),\r
-                       .Attributes             = EP_TYPE_INTERRUPT,\r
-                       .EndpointSize           = KEYBOARD_EPSIZE,\r
-                       .PollingIntervalMS      = 0x04\r
-               }\r
 };\r
 \r
 /** Language descriptor structure. This descriptor, located in FLASH memory, is returned when the host requests\r