Changeset bf42f57 in avrstuff for starkadroid/code/usbconfig.h
- Timestamp:
- Oct 17, 2010, 9:49:32 PM (14 years ago)
- Branches:
- main
- Children:
- 1dc9759
- Parents:
- be9ba97
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
starkadroid/code/usbconfig.h
rbe9ba97 rbf42f57 120 120 * USBID-License.txt! 121 121 */ 122 #define USB_CFG_DEVICE_ID 0x31, 0x e1122 #define USB_CFG_DEVICE_ID 0x31, 0x17 123 123 /** Version number of the device: Minor number first, then major number. 124 124 */ … … 139 139 * the macros. See the file USBID-License.txt before you assign a name. 140 140 */ 141 #define USB_CFG_DEVICE_NAME ' A','m','i','k','e','y','2','u','s','b'141 #define USB_CFG_DEVICE_NAME 'S','t','a','r','k','a','d','r','o','i','d' 142 142 /** Length of USB_CFG_DEVICE_NAME 143 143 */ 144 #define USB_CFG_DEVICE_NAME_LEN 1 0144 #define USB_CFG_DEVICE_NAME_LEN 11 145 145 /** See USB specification if you want to conform to an existing device class. 146 146 * This setting means to specify the class at the interface level. … … 155 155 #define USB_CFG_INTERFACE_CLASS 0x03 156 156 /** See USB specification if you want to conform to an existing device class or 157 * protocol. This is a boot device.158 */ 159 #define USB_CFG_INTERFACE_SUBCLASS 0x0 1157 * protocol. This is not a boot device. 158 */ 159 #define USB_CFG_INTERFACE_SUBCLASS 0x00 160 160 /** See USB specification if you want to conform to an existing device class or 161 * protocol. This is keyboard protocol.162 */ 163 #define USB_CFG_INTERFACE_PROTOCOL 0x0 1161 * protocol. 162 */ 163 #define USB_CFG_INTERFACE_PROTOCOL 0x00 164 164 /** Define this to the length of the HID report descriptor, if you implement 165 165 * an HID device. Otherwise don't define it or define it to 0. 166 166 */ 167 #define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 63167 #define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 42 168 168 169 169 /* ------------------- Fine Control over USB Descriptors ------------------- */
Note:
See TracChangeset
for help on using the changeset viewer.