summaryrefslogtreecommitdiff
path: root/include/kernel/udcd.h
diff options
context:
space:
mode:
authorSergi Granell2017-10-26 00:35:26 +0200
committerSergi Granell2017-10-26 00:35:26 +0200
commit6727a32d8b00d17ac020b68cfc28464561320652 (patch)
tree163948398d100791ef7c0e965a7851e029a190c1 /include/kernel/udcd.h
parentUpdate UDCD (diff)
downloadvds-libraries-6727a32d8b00d17ac020b68cfc28464561320652.tar.gz
Update SceUdcdDriver
Diffstat (limited to 'include/kernel/udcd.h')
-rw-r--r--include/kernel/udcd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/kernel/udcd.h b/include/kernel/udcd.h
index 18a5fbc..c014a1b 100644
--- a/include/kernel/udcd.h
+++ b/include/kernel/udcd.h
@@ -335,9 +335,9 @@ typedef struct SceUdcdDriver {
SceUdcdConfiguration *configuration_hi; //!< Pointer to hi-speed device configuration
SceUdcdDeviceDescriptor *descriptor; //!< Pointer to full-speed device descriptor
SceUdcdConfiguration *configuration; //!< Pointer to full-speed device configuration
- SceUdcdStringDescriptor *stringDescriptorsUnk0; //!< Unknown string descriptors
- SceUdcdStringDescriptor *stringDescriptorsUnk1; //!< Default String descriptor
- SceUdcdStringDescriptor *stringDescriptorsUnk2; //!< String descriptors (unknown)
+ SceUdcdStringDescriptor *stringDescriptors; //!< Default string descriptors
+ SceUdcdStringDescriptor *stringDescriptorProduct; //!< Product string descriptor (iProduct has to be 2)
+ SceUdcdStringDescriptor *stringDescriptorSerial; //!< Serial string descriptor (iSerial has to be 3)
int (*processRequest)(int recipient, int arg /* endpoint number or interface number */, SceUdcdEP0DeviceRequest *req, void *user_data); //!< Received a control request
int (*changeSetting)(int interfaceNumber, int alternateSetting, int bus); //!< Change alternate setting
int (*attach)(int usb_version, void *user_data); //!< Configuration set (attach) function