Conversation
| <key>ControllerHost</key> | ||
| <dict> | ||
| <key>CFBundleIdentifier</key> | ||
| <string>com.mice.driver.Xbox360Controller</string> | ||
| <key>IOCFPlugInTypes</key> | ||
| <dict> | ||
| <key>F4545CE5-BF5B-11D6-A4BB-0003933E3E3E</key> | ||
| <string>360Controller.kext/Contents/PlugIns/Feedback360.plugin</string> | ||
| </dict> | ||
| <key>IOClass</key> | ||
| <string>Xbox360Peripheral</string> | ||
| <key>IOKitDebug</key> | ||
| <integer>65535</integer> | ||
| <key>IOProviderClass</key> | ||
| <string>IOUSBHostDevice</string> | ||
| <key>idProduct</key> | ||
| <integer>654</integer> | ||
| <key>idVendor</key> | ||
| <integer>1118</integer> | ||
| </dict> |
There was a problem hiding this comment.
This probably needs to replace all instances of IOUSBDevice with IOUSBHostDevice instead of creating a new ControllerHost dictionary.
| //#define PROTOCOL_DEBUG | ||
|
|
||
| OSDefineMetaClassAndStructors(WirelessGamingReceiver, IOService) | ||
| OSDefineMetaClassAndStructorsWithInit(WirelessGamingReceiver, IOService) |
There was a problem hiding this comment.
This should have stayed OSDefineMetaClassAndStructors.
| IOUSBInterface *interface; | ||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
The moving of these declarations to inline causes Clang to complain due to the use of goto: in this function.
| connections[i].controllerIn->Abort(); | ||
| connections[i].controllerIn->abort(kAbortOptionNone, kIOReturnAborted, this); |
There was a problem hiding this comment.
I don't know where you got kAbortOptionNone, but that doesn't seem to be in the macOS' current SDKs.
| 55B636FA18C1054F00CE933D /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
|
|
||
|
|
||
| 55B636FB18C1054F00CE933D /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; |
There was a problem hiding this comment.
As a general rule, when I manually edit a .pbxproj file, I usually move a file in the Xcode window or something to regenerate the project file. It usually takes care of any added newlines or comments that no longer match up with the actual content.
No description provided.