src/joystick/darwin/SDL_sysjoystick.c
branchSDL-1.2
changeset 8918 3c8124d60e8e
parent 7625 952791dbe6ba
equal deleted inserted replaced
8914:3984998ee330 8918:3c8124d60e8e
   180 		{
   180 		{
   181 			/* Call a method of the intermediate plug-in to create the device interface */
   181 			/* Call a method of the intermediate plug-in to create the device interface */
   182 			plugInResult = (*ppPlugInInterface)->QueryInterface (ppPlugInInterface,
   182 			plugInResult = (*ppPlugInInterface)->QueryInterface (ppPlugInInterface,
   183 								CFUUIDGetUUIDBytes (kIOHIDDeviceInterfaceID), (void *) &(pDevice->interface));
   183 								CFUUIDGetUUIDBytes (kIOHIDDeviceInterfaceID), (void *) &(pDevice->interface));
   184 			if (S_OK != plugInResult)
   184 			if (S_OK != plugInResult)
   185 				HIDReportErrorNum ("CouldnŐt query HID class device interface from plugInInterface", plugInResult);
   185 				HIDReportErrorNum ("Couldn't query HID class device interface from plugInInterface", plugInResult);
   186 			(*ppPlugInInterface)->Release (ppPlugInInterface);
   186 			(*ppPlugInInterface)->Release (ppPlugInInterface);
   187 		}
   187 		}
   188 		else
   188 		else
   189 			HIDReportErrorNum ("Failed to create **plugInInterface via IOCreatePlugInInterfaceForService.", result);
   189 			HIDReportErrorNum ("Failed to create **plugInInterface via IOCreatePlugInInterfaceForService.", result);
   190 	}
   190 	}