|
@@ -202,7 +202,7 @@ static const USBDescDevice desc_device_mouse = {
|
|
.bNumInterfaces = 1,
|
|
.bNumInterfaces = 1,
|
|
.bConfigurationValue = 1,
|
|
.bConfigurationValue = 1,
|
|
.iConfiguration = STR_CONFIG_MOUSE,
|
|
.iConfiguration = STR_CONFIG_MOUSE,
|
|
- .bmAttributes = 0xa0,
|
|
|
|
|
|
+ .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP,
|
|
.bMaxPower = 50,
|
|
.bMaxPower = 50,
|
|
.nif = 1,
|
|
.nif = 1,
|
|
.ifs = &desc_iface_mouse,
|
|
.ifs = &desc_iface_mouse,
|
|
@@ -219,7 +219,7 @@ static const USBDescDevice desc_device_tablet = {
|
|
.bNumInterfaces = 1,
|
|
.bNumInterfaces = 1,
|
|
.bConfigurationValue = 1,
|
|
.bConfigurationValue = 1,
|
|
.iConfiguration = STR_CONFIG_TABLET,
|
|
.iConfiguration = STR_CONFIG_TABLET,
|
|
- .bmAttributes = 0xa0,
|
|
|
|
|
|
+ .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP,
|
|
.bMaxPower = 50,
|
|
.bMaxPower = 50,
|
|
.nif = 1,
|
|
.nif = 1,
|
|
.ifs = &desc_iface_tablet,
|
|
.ifs = &desc_iface_tablet,
|
|
@@ -236,7 +236,7 @@ static const USBDescDevice desc_device_tablet2 = {
|
|
.bNumInterfaces = 1,
|
|
.bNumInterfaces = 1,
|
|
.bConfigurationValue = 1,
|
|
.bConfigurationValue = 1,
|
|
.iConfiguration = STR_CONFIG_TABLET,
|
|
.iConfiguration = STR_CONFIG_TABLET,
|
|
- .bmAttributes = 0xa0,
|
|
|
|
|
|
+ .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP,
|
|
.bMaxPower = 50,
|
|
.bMaxPower = 50,
|
|
.nif = 1,
|
|
.nif = 1,
|
|
.ifs = &desc_iface_tablet2,
|
|
.ifs = &desc_iface_tablet2,
|
|
@@ -253,7 +253,7 @@ static const USBDescDevice desc_device_keyboard = {
|
|
.bNumInterfaces = 1,
|
|
.bNumInterfaces = 1,
|
|
.bConfigurationValue = 1,
|
|
.bConfigurationValue = 1,
|
|
.iConfiguration = STR_CONFIG_KEYBOARD,
|
|
.iConfiguration = STR_CONFIG_KEYBOARD,
|
|
- .bmAttributes = 0xa0,
|
|
|
|
|
|
+ .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP,
|
|
.bMaxPower = 50,
|
|
.bMaxPower = 50,
|
|
.nif = 1,
|
|
.nif = 1,
|
|
.ifs = &desc_iface_keyboard,
|
|
.ifs = &desc_iface_keyboard,
|