Do not explicitly set the bDeviceClass attribute to USB_CLASS_HID for
usb-mouse device. Even if this would be compliant with USB standards,
some OSes (e.g., Mac OS X) don't properly recognize the device as a
valid USB mouse.
Setting the value to 0 fixes the problem.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4263
38d2e660-2303-0410-9eaa-
f027e97ec537
.bLength = sizeof(usb_hid_device_descriptor),
.bDescriptorType = USB_DT_DEVICE,
.bcdUSB = 0x100,
- .bDeviceClass = USB_CLASS_HID,
+ .bDeviceClass = 0,
.bDeviceSubClass = 0,
.bDeviceProtocol = 0,
.idVendor = USB_HID_VENDOR_ID,