Find the maximum packet size of this pipe
| 53 | |
| 54 | // Find the maximum packet size of this pipe |
| 55 | static UInt32 GetMaxPacketSize(IOUSBPipe *pipe) |
| 56 | { |
| 57 | const IOUSBEndpointDescriptor *ed = pipe->GetEndpointDescriptor(); |
| 58 | |
| 59 | if(ed==NULL) return 0; |
| 60 | else return ed->wMaxPacketSize; |
| 61 | } |
| 62 | |
| 63 | void Xbox360Peripheral::SendSpecial(UInt16 value) |
| 64 | { |