comparison src/haptic/darwin/SDL_syshaptic.c @ 2547:3cfe0ae232c0 gsoc2008_force_feedback

Accidently left in hidDevice.
author Edgar Simo <bobbens@gmail.com>
date Tue, 22 Jul 2008 11:42:01 +0000
parents daf40497dcd4
children b5b8a7f4a965
comparison
equal deleted inserted replaced
2546:daf40497dcd4 2547:3cfe0ae232c0
203 io_registry_entry_t parent1, parent2; 203 io_registry_entry_t parent1, parent2;
204 kern_return_t ret; 204 kern_return_t ret;
205 205
206 hidProperties = usbProperties = 0; 206 hidProperties = usbProperties = 0;
207 207
208 ret = IORegistryEntryCreateCFProperties(hidDevice, &hidProperties, 208 ret = IORegistryEntryCreateCFProperties(dev, &hidProperties,
209 kCFAllocatorDefault, 209 kCFAllocatorDefault,
210 kNilOptions); 210 kNilOptions);
211 if ((ret != KERN_SUCCESS) || !hidProperties) { 211 if ((ret != KERN_SUCCESS) || !hidProperties) {
212 SDL_SetError("Haptic: Unable to create CFProperties."); 212 SDL_SetError("Haptic: Unable to create CFProperties.");
213 return -1; 213 return -1;