HID Device description
HID Device description
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
USB_CFG_DEVICE_NAME (be sure to update USB_CFG_DEVICE_NAME_LEN afterwards).
Re: HID Device description
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
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.
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.