Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out standard descri...
[pub/USBasp.git] / Demos / Device / ClassDriver / Joystick / Descriptors.h
index c6926ac..aaee982 100644 (file)
@@ -40,7 +40,7 @@
                #include <avr/pgmspace.h>\r
 \r
                #include <LUFA/Drivers/USB/USB.h>\r
-               #include <LUFA/Drivers/USB/Class/Device/HID.h>\r
+               #include <LUFA/Drivers/USB/Class/HID.h>\r
 \r
        /* Type Defines: */\r
                /** Type define for the device configuration descriptor structure. This must be defined in the\r
@@ -51,7 +51,7 @@
                {\r
                        USB_Descriptor_Configuration_Header_t Config;\r
                        USB_Descriptor_Interface_t            Interface;\r
-                       USB_Descriptor_HID_t                  JoystickHID;\r
+                       USB_HID_Descriptor_t                  JoystickHID;\r
                USB_Descriptor_Endpoint_t             JoystickEndpoint;\r
                } USB_Descriptor_Configuration_t;\r
 \r