branch | gsoc2008_force_feedback |
changeset 2620 | 4d91a53c6f8a |
parent 2619 | fb71df34124f |
child 2621 | 83659de20bf2 |
2619:fb71df34124f | 2620:4d91a53c6f8a |
---|---|
353 creat_err: |
353 creat_err: |
354 if (haptic->hwdata != NULL) { |
354 if (haptic->hwdata != NULL) { |
355 SDL_free(haptic->hwdata); |
355 SDL_free(haptic->hwdata); |
356 haptic->hwdata = NULL; |
356 haptic->hwdata = NULL; |
357 } |
357 } |
358 return -1; |
|
358 } |
359 } |
359 |
360 |
360 |
361 |
361 /* |
362 /* |
362 * Opens the haptic device from the file descriptor. |
363 * Opens the haptic device from the file descriptor. |