forked from mirrors/qmk_userspace
		
	V-USB: Use structs for USB descriptors (#8572)
* V-USB: Use structs for USB descriptors * Update usbconfigs * cformat pass
This commit is contained in:
		
					parent
					
						
							
								05d9a0ff03
							
						
					
				
			
			
				commit
				
					
						14079ce698
					
				
			
		
					 51 changed files with 370 additions and 572 deletions
				
			
		| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -197,7 +197,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -206,7 +206,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -217,9 +217,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -298,18 +295,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -197,7 +197,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -206,7 +206,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -217,9 +217,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS 0
 | 
					#define USB_CFG_DEVICE_CLASS 0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS 0
 | 
					#define USB_CFG_DEVICE_SUBCLASS 0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -298,18 +295,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -197,7 +197,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -206,7 +206,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -217,9 +217,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS 0
 | 
					#define USB_CFG_DEVICE_CLASS 0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS 0
 | 
					#define USB_CFG_DEVICE_SUBCLASS 0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -298,18 +295,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,7 +305,7 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -207,7 +207,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -227,9 +227,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -308,18 +305,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -208,7 +208,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID       (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -217,7 +217,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID       (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -228,9 +228,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION  (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS        0
 | 
					#define USB_CFG_DEVICE_CLASS        0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS     0
 | 
					#define USB_CFG_DEVICE_SUBCLASS     0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -309,18 +306,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE                  0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE                  USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS                 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0                USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR           USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT          USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER    USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID                     USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT              USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN                 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -197,7 +197,7 @@ section at the end of this file).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* -------------------------- Device Description --------------------------- */
 | 
					/* -------------------------- Device Description --------------------------- */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_VENDOR_ID
 | 
				
			||||||
/* USB vendor ID for the device, low byte first. If you have registered your
 | 
					/* USB vendor ID for the device, low byte first. If you have registered your
 | 
				
			||||||
 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
					 * own Vendor ID, define it here. Otherwise you may use one of obdev's free
 | 
				
			||||||
 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
					 * shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
 | 
				
			||||||
| 
						 | 
					@ -206,7 +206,7 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
 | 
					#define USB_CFG_DEVICE_ID
 | 
				
			||||||
/* This is the ID of the product, low byte first. It is interpreted in the
 | 
					/* This is the ID of the product, low byte first. It is interpreted in the
 | 
				
			||||||
 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
					 * scope of the vendor ID. If you have registered your own VID with usb.org
 | 
				
			||||||
 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
					 * or if you have licensed a PID from somebody else, define it here. Otherwise
 | 
				
			||||||
| 
						 | 
					@ -217,34 +217,6 @@ section at the end of this file).
 | 
				
			||||||
 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
					 * with libusb: 0x16c0/0x5dc.  Use this VID/PID pair ONLY if you understand
 | 
				
			||||||
 * the implications!
 | 
					 * the implications!
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
 | 
					 | 
				
			||||||
/* Version number of the device: Minor number first, then major number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
 | 
					 | 
				
			||||||
#define USB_CFG_VENDOR_NAME_LEN 13
 | 
					 | 
				
			||||||
/* These two values define the vendor name returned by the USB device. The name
 | 
					 | 
				
			||||||
 * must be given as a list of characters under single quotes. The characters
 | 
					 | 
				
			||||||
 * are interpreted as Unicode (UTF-16) entities.
 | 
					 | 
				
			||||||
 * If you don't want a vendor name string, undefine these macros.
 | 
					 | 
				
			||||||
 * ALWAYS define a vendor name containing your Internet domain name if you use
 | 
					 | 
				
			||||||
 * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
 | 
					 | 
				
			||||||
 * details.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_NAME_LEN 8
 | 
					 | 
				
			||||||
/* Same as above for the device name. If you don't want a device name, undefine
 | 
					 | 
				
			||||||
 * the macros. See the file USB-IDs-for-free.txt before you assign a name if
 | 
					 | 
				
			||||||
 * you use a shared VID/PID.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
/*#define USB_CFG_SERIAL_NUMBER   'N', 'o', 'n', 'e' */
 | 
					 | 
				
			||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN   0 */
 | 
					 | 
				
			||||||
/* Same as above for the serial number. If you don't want a serial number,
 | 
					 | 
				
			||||||
 * undefine the macros.
 | 
					 | 
				
			||||||
 * It may be useful to provide the serial number through other means than at
 | 
					 | 
				
			||||||
 * compile time. See the section about descriptor properties below for how
 | 
					 | 
				
			||||||
 * to fine tune control over USB descriptors such as the string descriptor
 | 
					 | 
				
			||||||
 * for the serial number.
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
#define USB_CFG_DEVICE_CLASS 0
 | 
					#define USB_CFG_DEVICE_CLASS 0
 | 
				
			||||||
#define USB_CFG_DEVICE_SUBCLASS 0
 | 
					#define USB_CFG_DEVICE_SUBCLASS 0
 | 
				
			||||||
/* See USB specification if you want to conform to an existing device class.
 | 
					/* See USB specification if you want to conform to an existing device class.
 | 
				
			||||||
| 
						 | 
					@ -323,18 +295,15 @@ section at the end of this file).
 | 
				
			||||||
 * };
 | 
					 * };
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
 | 
					#define USB_CFG_DESCR_PROPS_DEVICE USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION           0
 | 
					#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
 | 
					#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
 | 
					#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
 | 
					#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
 | 
					#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID                     0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
 | 
					#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
 | 
				
			||||||
//#define USB_CFG_DESCR_PROPS_HID_REPORT              0
 | 
					 | 
				
			||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN 0
 | 
					#define USB_CFG_DESCR_PROPS_UNKNOWN 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define usbMsgPtr_t unsigned short
 | 
					#define usbMsgPtr_t unsigned short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -349,7 +349,7 @@ const PROGMEM uchar mouse_extra_hid_report[] = {
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// clang-format off
 | 
					// clang-format off
 | 
				
			||||||
const PROGMEM usbStringDescriptor_t usbDescriptorStringZero = {
 | 
					const PROGMEM usbStringDescriptor_t usbStringDescriptorZero = {
 | 
				
			||||||
    .header = {
 | 
					    .header = {
 | 
				
			||||||
        .bLength         = USB_STRING_LEN(1),
 | 
					        .bLength         = USB_STRING_LEN(1),
 | 
				
			||||||
        .bDescriptorType = USBDESCR_STRING
 | 
					        .bDescriptorType = USBDESCR_STRING
 | 
				
			||||||
| 
						 | 
					@ -357,7 +357,7 @@ const PROGMEM usbStringDescriptor_t usbDescriptorStringZero = {
 | 
				
			||||||
    .bString             = {0x0409} // US English
 | 
					    .bString             = {0x0409} // US English
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const PROGMEM usbStringDescriptor_t usbDescriptorStringManufacturer = {
 | 
					const PROGMEM usbStringDescriptor_t usbStringDescriptorManufacturer = {
 | 
				
			||||||
    .header = {
 | 
					    .header = {
 | 
				
			||||||
        .bLength         = USB_STRING_LEN(sizeof(STR(MANUFACTURER)) - 1),
 | 
					        .bLength         = USB_STRING_LEN(sizeof(STR(MANUFACTURER)) - 1),
 | 
				
			||||||
        .bDescriptorType = USBDESCR_STRING
 | 
					        .bDescriptorType = USBDESCR_STRING
 | 
				
			||||||
| 
						 | 
					@ -365,7 +365,7 @@ const PROGMEM usbStringDescriptor_t usbDescriptorStringManufacturer = {
 | 
				
			||||||
    .bString             = LSTR(MANUFACTURER)
 | 
					    .bString             = LSTR(MANUFACTURER)
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const PROGMEM usbStringDescriptor_t usbDescriptorStringProduct = {
 | 
					const PROGMEM usbStringDescriptor_t usbStringDescriptorProduct = {
 | 
				
			||||||
    .header = {
 | 
					    .header = {
 | 
				
			||||||
        .bLength         = USB_STRING_LEN(sizeof(STR(PRODUCT)) - 1),
 | 
					        .bLength         = USB_STRING_LEN(sizeof(STR(PRODUCT)) - 1),
 | 
				
			||||||
        .bDescriptorType = USBDESCR_STRING
 | 
					        .bDescriptorType = USBDESCR_STRING
 | 
				
			||||||
| 
						 | 
					@ -373,110 +373,150 @@ const PROGMEM usbStringDescriptor_t usbDescriptorStringProduct = {
 | 
				
			||||||
    .bString             = LSTR(PRODUCT)
 | 
					    .bString             = LSTR(PRODUCT)
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const PROGMEM usbStringDescriptor_t usbDescriptorStringSerial = {
 | 
					const PROGMEM usbStringDescriptor_t usbStringDescriptorSerial = {
 | 
				
			||||||
    .header = {
 | 
					    .header = {
 | 
				
			||||||
        .bLength         = USB_STRING_LEN(sizeof(STR(SERIAL_NUMBER)) - 1),
 | 
					        .bLength         = USB_STRING_LEN(sizeof(STR(SERIAL_NUMBER)) - 1),
 | 
				
			||||||
        .bDescriptorType = USBDESCR_STRING
 | 
					        .bDescriptorType = USBDESCR_STRING
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    .bString             = LSTR(SERIAL_NUMBER)
 | 
					    .bString             = LSTR(SERIAL_NUMBER)
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
// clang-format on
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if USB_CFG_DESCR_PROPS_DEVICE
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Descriptor for compite device: Keyboard + Mouse
 | 
					 * Device descriptor
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * contains: device, interface, HID and endpoint descriptors
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					const PROGMEM usbDeviceDescriptor_t usbDeviceDescriptor = {
 | 
				
			||||||
 | 
					    .header = {
 | 
				
			||||||
 | 
					        .bLength         = sizeof(usbDeviceDescriptor_t),
 | 
				
			||||||
 | 
					        .bDescriptorType = USBDESCR_DEVICE
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    .bcdUSB              = 0x0110,
 | 
				
			||||||
 | 
					    .bDeviceClass        = USB_CFG_DEVICE_CLASS,
 | 
				
			||||||
 | 
					    .bDeviceSubClass     = USB_CFG_DEVICE_SUBCLASS,
 | 
				
			||||||
 | 
					    .bDeviceProtocol     = 0x00,
 | 
				
			||||||
 | 
					    .bMaxPacketSize0     = 8,
 | 
				
			||||||
 | 
					    .idVendor            = VENDOR_ID,
 | 
				
			||||||
 | 
					    .idProduct           = PRODUCT_ID,
 | 
				
			||||||
 | 
					    .bcdDevice           = DEVICE_VER,
 | 
				
			||||||
 | 
					    .iManufacturer       = 0x01,
 | 
				
			||||||
 | 
					    .iProduct            = 0x02,
 | 
				
			||||||
 | 
					    .iSerialNumber       = 0x03,
 | 
				
			||||||
 | 
					    .bNumConfigurations  = 1
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if USB_CFG_DESCR_PROPS_CONFIGURATION
 | 
					#if USB_CFG_DESCR_PROPS_CONFIGURATION
 | 
				
			||||||
const PROGMEM char usbDescriptorConfiguration[] = {
 | 
					/*
 | 
				
			||||||
    /* USB configuration descriptor */
 | 
					 * Configuration descriptors
 | 
				
			||||||
    9,               /* sizeof(usbDescriptorConfiguration): length of descriptor in bytes */
 | 
					 */
 | 
				
			||||||
    USBDESCR_CONFIG, /* descriptor type */
 | 
					const PROGMEM usbConfigurationDescriptor_t usbConfigurationDescriptor = {
 | 
				
			||||||
 | 
					    .header = {
 | 
				
			||||||
 | 
					        .header = {
 | 
				
			||||||
 | 
					            .bLength         = sizeof(usbConfigurationDescriptorHeader_t),
 | 
				
			||||||
 | 
					            .bDescriptorType = USBDESCR_CONFIG
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        .wTotalLength        = sizeof(usbConfigurationDescriptor_t),
 | 
				
			||||||
#    if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
					#    if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
				
			||||||
    59,  // 9 + (9 + 9 + 7) + (9 + 9 + 7)
 | 
					        .bNumInterfaces      = 2,
 | 
				
			||||||
#    else
 | 
					#    else
 | 
				
			||||||
    34,  // 9 + (9 + 9 + 7)
 | 
					        .bNumInterfaces      = 1,
 | 
				
			||||||
#    endif
 | 
					#    endif
 | 
				
			||||||
    0,
 | 
					        .bConfigurationValue = 0x01,
 | 
				
			||||||
// 18 + 7 * USB_CFG_HAVE_INTRIN_ENDPOINT + 7 * USB_CFG_HAVE_INTRIN_ENDPOINT3 + 9, 0,
 | 
					        .iConfiguration      = 0x00,
 | 
				
			||||||
/* total length of data returned (including inlined descriptors) */
 | 
					 | 
				
			||||||
#    if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
					 | 
				
			||||||
    2, /* number of interfaces in this configuration */
 | 
					 | 
				
			||||||
#    else
 | 
					 | 
				
			||||||
    1,
 | 
					 | 
				
			||||||
#    endif
 | 
					 | 
				
			||||||
    1, /* index of this configuration */
 | 
					 | 
				
			||||||
    0, /* configuration name string index */
 | 
					 | 
				
			||||||
#    if USB_CFG_IS_SELF_POWERED
 | 
					#    if USB_CFG_IS_SELF_POWERED
 | 
				
			||||||
    (1 << 7) | USBATTR_SELFPOWER, /* attributes */
 | 
					        .bmAttributes        = (1 << 7) | USBATTR_SELFPOWER,
 | 
				
			||||||
#    else
 | 
					#    else
 | 
				
			||||||
    (1 << 7), /* attributes */
 | 
					        .bmAttributes        = (1 << 7),
 | 
				
			||||||
#    endif
 | 
					#    endif
 | 
				
			||||||
    USB_MAX_POWER_CONSUMPTION / 2, /* max USB current in 2mA units */
 | 
					        .bMaxPower           = USB_MAX_POWER_CONSUMPTION / 2
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /*
 | 
					    /*
 | 
				
			||||||
     * Keyboard interface
 | 
					     * Keyboard
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    /* Interface descriptor */
 | 
					    .keyboardInterface = {
 | 
				
			||||||
    9,                                                                                  /* sizeof(usbDescrInterface): length of descriptor in bytes */
 | 
					        .header = {
 | 
				
			||||||
    USBDESCR_INTERFACE,                                                                 /* descriptor type */
 | 
					            .bLength         = sizeof(usbInterfaceDescriptor_t),
 | 
				
			||||||
    0,                                                                                  /* index of this interface */
 | 
					            .bDescriptorType = USBDESCR_INTERFACE
 | 
				
			||||||
    0,                                                                                  /* alternate setting for this interface */
 | 
					        },
 | 
				
			||||||
    USB_CFG_HAVE_INTRIN_ENDPOINT,                                                       /* endpoints excl 0: number of endpoint descriptors to follow */
 | 
					        .bInterfaceNumber    = 0,
 | 
				
			||||||
    USB_CFG_INTERFACE_CLASS, USB_CFG_INTERFACE_SUBCLASS, USB_CFG_INTERFACE_PROTOCOL, 0, /* string index for interface */
 | 
					        .bAlternateSetting   = 0x00,
 | 
				
			||||||
    /* HID descriptor */
 | 
					        .bNumEndpoints       = USB_CFG_HAVE_INTRIN_ENDPOINT,
 | 
				
			||||||
    9,                              /* sizeof(usbDescrHID): length of descriptor in bytes */
 | 
					        .bInterfaceClass     = USB_CFG_INTERFACE_CLASS,
 | 
				
			||||||
    USBDESCR_HID,                   /* descriptor type: HID */
 | 
					        .bInterfaceSubClass  = USB_CFG_INTERFACE_SUBCLASS,
 | 
				
			||||||
    0x01, 0x01,                     /* BCD representation of HID version */
 | 
					        .bInterfaceProtocol  = USB_CFG_INTERFACE_PROTOCOL,
 | 
				
			||||||
    0x00,                           /* target country code */
 | 
					        .iInterface          = 0x00
 | 
				
			||||||
    0x01,                           /* number of HID Report (or other HID class) Descriptor infos to follow */
 | 
					    },
 | 
				
			||||||
    0x22,                           /* descriptor type: report */
 | 
					    .keyboardHID = {
 | 
				
			||||||
    sizeof(keyboard_hid_report), 0, /* total length of report descriptor */
 | 
					        .header = {
 | 
				
			||||||
/* Endpoint descriptor */
 | 
					            .bLength         = sizeof(usbHIDDescriptor_t),
 | 
				
			||||||
#    if USB_CFG_HAVE_INTRIN_ENDPOINT /* endpoint descriptor for endpoint 1 */
 | 
					            .bDescriptorType = USBDESCR_HID
 | 
				
			||||||
    7,                               /* sizeof(usbDescrEndpoint) */
 | 
					        },
 | 
				
			||||||
    USBDESCR_ENDPOINT,               /* descriptor type = endpoint */
 | 
					        .bcdHID              = 0x0101,
 | 
				
			||||||
    (char)0x81,                      /* IN endpoint number 1 */
 | 
					        .bCountryCode        = 0x00,
 | 
				
			||||||
    0x03,                            /* attrib: Interrupt endpoint */
 | 
					        .bNumDescriptors     = 1,
 | 
				
			||||||
    8, 0,                            /* maximum packet size */
 | 
					        .bDescriptorType     = USBDESCR_HID_REPORT,
 | 
				
			||||||
    USB_POLLING_INTERVAL_MS,         /* in ms */
 | 
					        .wDescriptorLength   = sizeof(keyboard_hid_report)
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					#    ifdef USB_CFG_HAVE_INTRIN_ENDPOINT
 | 
				
			||||||
 | 
					    .keyboardINEndpoint = {
 | 
				
			||||||
 | 
					        .header = {
 | 
				
			||||||
 | 
					            .bLength         = sizeof(usbEndpointDescriptor_t),
 | 
				
			||||||
 | 
					            .bDescriptorType = USBDESCR_ENDPOINT
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        .bEndpointAddress    = (USBRQ_DIR_DEVICE_TO_HOST | 1),
 | 
				
			||||||
 | 
					        .bmAttributes        = 0x03,
 | 
				
			||||||
 | 
					        .wMaxPacketSize      = 8,
 | 
				
			||||||
 | 
					        .bInterval           = USB_POLLING_INTERVAL_MS
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
#    endif
 | 
					#    endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#    if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
					#    if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
				
			||||||
    /*
 | 
					    /*
 | 
				
			||||||
     * Mouse/extrakeys interface
 | 
					     * Mouse/Extrakeys
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    /* Interface descriptor */
 | 
					    .mouseExtraInterface = {
 | 
				
			||||||
    9,                             /* sizeof(usbDescrInterface): length of descriptor in bytes */
 | 
					        .header = {
 | 
				
			||||||
    USBDESCR_INTERFACE,            /* descriptor type */
 | 
					            .bLength         = sizeof(usbInterfaceDescriptor_t),
 | 
				
			||||||
    1,                             /* index of this interface */
 | 
					            .bDescriptorType = USBDESCR_INTERFACE
 | 
				
			||||||
    0,                             /* alternate setting for this interface */
 | 
					        },
 | 
				
			||||||
    USB_CFG_HAVE_INTRIN_ENDPOINT3, /* endpoints excl 0: number of endpoint descriptors to follow */
 | 
					        .bInterfaceNumber    = 1,
 | 
				
			||||||
    0x03,                          /* CLASS: HID */
 | 
					        .bAlternateSetting   = 0x00,
 | 
				
			||||||
    0,                             /* SUBCLASS: none */
 | 
					        .bNumEndpoints       = USB_CFG_HAVE_INTRIN_ENDPOINT3,
 | 
				
			||||||
    0,                             /* PROTOCOL: none */
 | 
					        .bInterfaceClass     = 0x03,
 | 
				
			||||||
    0,                             /* string index for interface */
 | 
					        .bInterfaceSubClass  = 0x00,
 | 
				
			||||||
    /* HID descriptor */
 | 
					        .bInterfaceProtocol  = 0x00,
 | 
				
			||||||
    9,                                    /* sizeof(usbDescrHID): length of descriptor in bytes */
 | 
					        .iInterface          = 0x00
 | 
				
			||||||
    USBDESCR_HID,                         /* descriptor type: HID */
 | 
					    },
 | 
				
			||||||
    0x01, 0x01,                           /* BCD representation of HID version */
 | 
					    .mouseExtraHID = {
 | 
				
			||||||
    0x00,                                 /* target country code */
 | 
					        .header = {
 | 
				
			||||||
    0x01,                                 /* number of HID Report (or other HID class) Descriptor infos to follow */
 | 
					            .bLength         = sizeof(usbHIDDescriptor_t),
 | 
				
			||||||
    0x22,                                 /* descriptor type: report */
 | 
					            .bDescriptorType = USBDESCR_HID
 | 
				
			||||||
    sizeof(mouse_extra_hid_report), 0,    /* total length of report descriptor */
 | 
					        },
 | 
				
			||||||
#        if USB_CFG_HAVE_INTRIN_ENDPOINT3 /* endpoint descriptor for endpoint 3 */
 | 
					        .bcdHID              = 0x0101,
 | 
				
			||||||
    /* Endpoint descriptor */
 | 
					        .bCountryCode        = 0x00,
 | 
				
			||||||
    7,                                 /* sizeof(usbDescrEndpoint) */
 | 
					        .bNumDescriptors     = 1,
 | 
				
			||||||
    USBDESCR_ENDPOINT,                 /* descriptor type = endpoint */
 | 
					        .bDescriptorType     = USBDESCR_HID_REPORT,
 | 
				
			||||||
    (char)(0x80 | USB_CFG_EP3_NUMBER), /* IN endpoint number 3 */
 | 
					        .wDescriptorLength   = sizeof(mouse_extra_hid_report)
 | 
				
			||||||
    0x03,                              /* attrib: Interrupt endpoint */
 | 
					    },
 | 
				
			||||||
    8, 0,                              /* maximum packet size */
 | 
					#        if USB_CFG_HAVE_INTRIN_ENDPOINT3
 | 
				
			||||||
    USB_POLLING_INTERVAL_MS,           /* in ms */
 | 
					    .mouseExtraINEndpoint = {
 | 
				
			||||||
 | 
					        .header = {
 | 
				
			||||||
 | 
					            .bLength         = sizeof(usbEndpointDescriptor_t),
 | 
				
			||||||
 | 
					            .bDescriptorType = USBDESCR_ENDPOINT
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        .bEndpointAddress    = (USBRQ_DIR_DEVICE_TO_HOST | USB_CFG_EP3_NUMBER),
 | 
				
			||||||
 | 
					        .bmAttributes        = 0x03,
 | 
				
			||||||
 | 
					        .wMaxPacketSize      = 8,
 | 
				
			||||||
 | 
					        .bInterval           = USB_POLLING_INTERVAL_MS
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
#        endif
 | 
					#        endif
 | 
				
			||||||
#    endif
 | 
					#    endif
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// clang-format on
 | 
				
			||||||
 | 
					
 | 
				
			||||||
USB_PUBLIC usbMsgLen_t usbFunctionDescriptor(struct usbRequest *rq) {
 | 
					USB_PUBLIC usbMsgLen_t usbFunctionDescriptor(struct usbRequest *rq) {
 | 
				
			||||||
    usbMsgLen_t len = 0;
 | 
					    usbMsgLen_t len = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -489,42 +529,48 @@ USB_PUBLIC usbMsgLen_t usbFunctionDescriptor(struct usbRequest *rq) {
 | 
				
			||||||
        debug_hex16(rq->wLength.word); debug("\n");
 | 
					        debug_hex16(rq->wLength.word); debug("\n");
 | 
				
			||||||
    */
 | 
					    */
 | 
				
			||||||
    switch (rq->wValue.bytes[1]) {
 | 
					    switch (rq->wValue.bytes[1]) {
 | 
				
			||||||
 | 
					#if USB_CFG_DESCR_PROPS_DEVICE
 | 
				
			||||||
 | 
					        case USBDESCR_DEVICE:
 | 
				
			||||||
 | 
					            usbMsgPtr = (unsigned char *)&usbDeviceDescriptor;
 | 
				
			||||||
 | 
					            len       = sizeof(usbDeviceDescriptor_t);
 | 
				
			||||||
 | 
					            break;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#if USB_CFG_DESCR_PROPS_CONFIGURATION
 | 
					#if USB_CFG_DESCR_PROPS_CONFIGURATION
 | 
				
			||||||
        case USBDESCR_CONFIG:
 | 
					        case USBDESCR_CONFIG:
 | 
				
			||||||
            usbMsgPtr = (unsigned char *)usbDescriptorConfiguration;
 | 
					            usbMsgPtr = (unsigned char *)&usbConfigurationDescriptor;
 | 
				
			||||||
            len       = sizeof(usbDescriptorConfiguration);
 | 
					            len       = sizeof(usbConfigurationDescriptor_t);
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
        case USBDESCR_STRING:
 | 
					        case USBDESCR_STRING:
 | 
				
			||||||
            switch (rq->wValue.bytes[0]) {
 | 
					            switch (rq->wValue.bytes[0]) {
 | 
				
			||||||
                case 0:
 | 
					                case 0:
 | 
				
			||||||
                    usbMsgPtr = (unsigned char *)&usbDescriptorStringZero;
 | 
					                    usbMsgPtr = (unsigned char *)&usbStringDescriptorZero;
 | 
				
			||||||
                    len       = usbDescriptorStringZero.header.bLength;
 | 
					                    len       = usbStringDescriptorZero.header.bLength;
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
                case 1:  // iManufacturer
 | 
					                case 1:  // iManufacturer
 | 
				
			||||||
                    usbMsgPtr = (unsigned char *)&usbDescriptorStringManufacturer;
 | 
					                    usbMsgPtr = (unsigned char *)&usbStringDescriptorManufacturer;
 | 
				
			||||||
                    len       = usbDescriptorStringManufacturer.header.bLength;
 | 
					                    len       = usbStringDescriptorManufacturer.header.bLength;
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
                case 2:  // iProduct
 | 
					                case 2:  // iProduct
 | 
				
			||||||
                    usbMsgPtr = (unsigned char *)&usbDescriptorStringProduct;
 | 
					                    usbMsgPtr = (unsigned char *)&usbStringDescriptorProduct;
 | 
				
			||||||
                    len       = usbDescriptorStringProduct.header.bLength;
 | 
					                    len       = usbStringDescriptorProduct.header.bLength;
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
                case 3:  // iSerialNumber
 | 
					                case 3:  // iSerialNumber
 | 
				
			||||||
                    usbMsgPtr = (unsigned char *)&usbDescriptorStringSerial;
 | 
					                    usbMsgPtr = (unsigned char *)&usbStringDescriptorSerial;
 | 
				
			||||||
                    len       = usbDescriptorStringSerial.header.bLength;
 | 
					                    len       = usbStringDescriptorSerial.header.bLength;
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        case USBDESCR_HID:
 | 
					        case USBDESCR_HID:
 | 
				
			||||||
            switch (rq->wValue.bytes[0]) {
 | 
					            switch (rq->wValue.bytes[0]) {
 | 
				
			||||||
                case 0:
 | 
					                case 0:
 | 
				
			||||||
                    usbMsgPtr = (unsigned char *)(usbDescriptorConfiguration + 9 + 9);
 | 
					                    usbMsgPtr = (unsigned char *)&usbConfigurationDescriptor.keyboardHID;
 | 
				
			||||||
                    len       = 9;
 | 
					                    len       = sizeof(usbHIDDescriptor_t);
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
#if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
					#if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
				
			||||||
                case 1:
 | 
					                case 1:
 | 
				
			||||||
                    usbMsgPtr = (unsigned char *)(usbDescriptorConfiguration + 9 + (9 + 9 + 7) + 9);
 | 
					                    usbMsgPtr = (unsigned char *)&usbConfigurationDescriptor.mouseExtraHID;
 | 
				
			||||||
                    len       = 9;
 | 
					                    len       = sizeof(usbHIDDescriptor_t);
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
 | 
				
			||||||
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef VUSB_H
 | 
					#pragma once
 | 
				
			||||||
#define VUSB_H
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "host_driver.h"
 | 
					#include "host_driver.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,14 +24,83 @@ typedef struct usbDescriptorHeader {
 | 
				
			||||||
    uchar bDescriptorType;
 | 
					    uchar bDescriptorType;
 | 
				
			||||||
} __attribute__((packed)) usbDescriptorHeader_t;
 | 
					} __attribute__((packed)) usbDescriptorHeader_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typedef struct usbDeviceDescriptor {
 | 
				
			||||||
 | 
					    usbDescriptorHeader_t header;
 | 
				
			||||||
 | 
					    unsigned              bcdUSB;
 | 
				
			||||||
 | 
					    uchar                 bDeviceClass;
 | 
				
			||||||
 | 
					    uchar                 bDeviceSubClass;
 | 
				
			||||||
 | 
					    uchar                 bDeviceProtocol;
 | 
				
			||||||
 | 
					    uchar                 bMaxPacketSize0;
 | 
				
			||||||
 | 
					    unsigned              idVendor;
 | 
				
			||||||
 | 
					    unsigned              idProduct;
 | 
				
			||||||
 | 
					    unsigned              bcdDevice;
 | 
				
			||||||
 | 
					    uchar                 iManufacturer;
 | 
				
			||||||
 | 
					    uchar                 iProduct;
 | 
				
			||||||
 | 
					    uchar                 iSerialNumber;
 | 
				
			||||||
 | 
					    uchar                 bNumConfigurations;
 | 
				
			||||||
 | 
					} __attribute__((packed)) usbDeviceDescriptor_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typedef struct usbConfigurationDescriptorHeader {
 | 
				
			||||||
 | 
					    usbDescriptorHeader_t header;
 | 
				
			||||||
 | 
					    unsigned              wTotalLength;
 | 
				
			||||||
 | 
					    uchar                 bNumInterfaces;
 | 
				
			||||||
 | 
					    uchar                 bConfigurationValue;
 | 
				
			||||||
 | 
					    uchar                 iConfiguration;
 | 
				
			||||||
 | 
					    uchar                 bmAttributes;
 | 
				
			||||||
 | 
					    uchar                 bMaxPower;
 | 
				
			||||||
 | 
					} __attribute__((packed)) usbConfigurationDescriptorHeader_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct usbStringDescriptor {
 | 
					typedef struct usbStringDescriptor {
 | 
				
			||||||
    usbDescriptorHeader_t header;
 | 
					    usbDescriptorHeader_t header;
 | 
				
			||||||
    int                   bString[];
 | 
					    int                   bString[];
 | 
				
			||||||
} __attribute__((packed)) usbStringDescriptor_t;
 | 
					} __attribute__((packed)) usbStringDescriptor_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typedef struct usbInterfaceDescriptor {
 | 
				
			||||||
 | 
					    usbDescriptorHeader_t header;
 | 
				
			||||||
 | 
					    uchar                 bInterfaceNumber;
 | 
				
			||||||
 | 
					    uchar                 bAlternateSetting;
 | 
				
			||||||
 | 
					    uchar                 bNumEndpoints;
 | 
				
			||||||
 | 
					    uchar                 bInterfaceClass;
 | 
				
			||||||
 | 
					    uchar                 bInterfaceSubClass;
 | 
				
			||||||
 | 
					    uchar                 bInterfaceProtocol;
 | 
				
			||||||
 | 
					    uchar                 iInterface;
 | 
				
			||||||
 | 
					} __attribute__((packed)) usbInterfaceDescriptor_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typedef struct usbEndpointDescriptor {
 | 
				
			||||||
 | 
					    usbDescriptorHeader_t header;
 | 
				
			||||||
 | 
					    uchar                 bEndpointAddress;
 | 
				
			||||||
 | 
					    uchar                 bmAttributes;
 | 
				
			||||||
 | 
					    unsigned              wMaxPacketSize;
 | 
				
			||||||
 | 
					    uchar                 bInterval;
 | 
				
			||||||
 | 
					} __attribute__((packed)) usbEndpointDescriptor_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typedef struct usbHIDDescriptor {
 | 
				
			||||||
 | 
					    usbDescriptorHeader_t header;
 | 
				
			||||||
 | 
					    unsigned              bcdHID;
 | 
				
			||||||
 | 
					    uchar                 bCountryCode;
 | 
				
			||||||
 | 
					    uchar                 bNumDescriptors;
 | 
				
			||||||
 | 
					    uchar                 bDescriptorType;
 | 
				
			||||||
 | 
					    unsigned              wDescriptorLength;
 | 
				
			||||||
 | 
					} __attribute__((packed)) usbHIDDescriptor_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					typedef struct usbConfigurationDescriptor {
 | 
				
			||||||
 | 
					    usbConfigurationDescriptorHeader_t header;
 | 
				
			||||||
 | 
					    usbInterfaceDescriptor_t           keyboardInterface;
 | 
				
			||||||
 | 
					    usbHIDDescriptor_t                 keyboardHID;
 | 
				
			||||||
 | 
					#ifdef USB_CFG_HAVE_INTRIN_ENDPOINT
 | 
				
			||||||
 | 
					    usbEndpointDescriptor_t keyboardINEndpoint;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(MOUSE_ENABLE) || defined(EXTRAKEY_ENABLE)
 | 
				
			||||||
 | 
					    usbInterfaceDescriptor_t mouseExtraInterface;
 | 
				
			||||||
 | 
					    usbHIDDescriptor_t       mouseExtraHID;
 | 
				
			||||||
 | 
					#    ifdef USB_CFG_HAVE_INTRIN_ENDPOINT3
 | 
				
			||||||
 | 
					    usbEndpointDescriptor_t mouseExtraINEndpoint;
 | 
				
			||||||
 | 
					#    endif
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					} __attribute__((packed)) usbConfigurationDescriptor_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define USB_STRING_LEN(s) (sizeof(usbDescriptorHeader_t) + ((s) << 1))
 | 
					#define USB_STRING_LEN(s) (sizeof(usbDescriptorHeader_t) + ((s) << 1))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
host_driver_t *vusb_driver(void);
 | 
					host_driver_t *vusb_driver(void);
 | 
				
			||||||
void           vusb_transfer_keyboard(void);
 | 
					void           vusb_transfer_keyboard(void);
 | 
				
			||||||
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue