Page 1 of 1
					
				HID Device description
				Posted: Wed Aug 27, 2014 4:46 pm
				by ripper121
				
Where can i set in the usbconfig.h the HID Device description?
I want to name it like the T1 Gaming Keyboard but with my own String.
 
			 
			
					
				Re: HID Device description
				Posted: Wed Aug 27, 2014 9:00 pm
				by blargg
				USB_CFG_DEVICE_NAME (be sure to update USB_CFG_DEVICE_NAME_LEN afterwards).
			 
			
					
				Re: HID Device description
				Posted: Thu Aug 28, 2014 10:47 am
				by ripper121
				No dosent work for me.
Code: Select all
#define USB_CFG_DEVICE_NAME     'P', 'R', '0', 'B', '0', 'A', 'R', 'D','-','R', 'i', 'p', 'p', 'e', 'r', '1', '2', '1', '@', 'g', 'm', 'a', 'i', 'l', '.', 'c', 'o', 'm' 
#define USB_CFG_DEVICE_NAME_LEN 28
 
			 
			
					
				Re: HID Device description
				Posted: Thu Aug 28, 2014 6:37 pm
				by ulao
				No it does not work that way...
The M$ OS gets the description form the registry. If the device is new its pulled from the device. So if you change the name in the device mem like that you need to also delete the device from the registry. usbdview may not work for that, not sure.