Mercurial > sdl-ios-xcode
comparison src/joystick/darwin/SDL_sysjoystick.c @ 2735:204be4fc2726
Final merge of Google Summer of Code 2008 work...
Port SDL 1.3 to the Nintendo DS
by Darren Alton, mentored by Sam Lantinga
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 27 Aug 2008 15:10:03 +0000 |
parents | 0906692aa6a4 |
children | caf3d5b2153f |
comparison
equal
deleted
inserted
replaced
2734:dd25eabe441c | 2735:204be4fc2726 |
---|---|
147 /* Call a method of the intermediate plug-in to create the device interface */ | 147 /* Call a method of the intermediate plug-in to create the device interface */ |
148 plugInResult = | 148 plugInResult = |
149 (*ppPlugInInterface)->QueryInterface(ppPlugInInterface, | 149 (*ppPlugInInterface)->QueryInterface(ppPlugInInterface, |
150 CFUUIDGetUUIDBytes | 150 CFUUIDGetUUIDBytes |
151 (kIOHIDDeviceInterfaceID), | 151 (kIOHIDDeviceInterfaceID), |
152 (void *) &(pDevice-> | 152 (void *) |
153 interface)); | 153 &(pDevice->interface)); |
154 if (S_OK != plugInResult) | 154 if (S_OK != plugInResult) |
155 HIDReportErrorNum | 155 HIDReportErrorNum |
156 ("CouldnŐt query HID class device interface from plugInInterface", | 156 ("CouldnŐt query HID class device interface from plugInInterface", |
157 plugInResult); | 157 plugInResult); |
158 (*ppPlugInInterface)->Release(ppPlugInInterface); | 158 (*ppPlugInInterface)->Release(ppPlugInInterface); |