usb-mouse: do not set bDeviceClass in the device descriptor
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Sep 2010 16:57:36 +0000 (16:57 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Sep 2010 16:57:36 +0000 (16:57 +0000)
commitfec685638a3874280ab768bd4f5ddab3dac3a0ed
tree3cf02b7472e9e538edc830db4635cac3cebf70ca
parent30b1188d136328a19ac25ab366fb9bf222c5da48
usb-mouse: do not set bDeviceClass in the device descriptor

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
bertos/drv/usb_mouse.c