Mercurial > sdl-ios-xcode
diff src/haptic/SDL_haptic.c @ 2486:24dd8b8669fa gsoc2008_force_feedback
Added SDL_HAPTIC_CUSTOM (not supported on linux).
Exposed SDL_HapticEffectSupported().
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Tue, 01 Jul 2008 16:19:54 +0000 |
parents | 67978eea6d10 |
children | 8e2bdbccf7ff |
line wrap: on
line diff
--- a/src/haptic/SDL_haptic.c Tue Jul 01 14:31:04 2008 +0000 +++ b/src/haptic/SDL_haptic.c Tue Jul 01 16:19:54 2008 +0000 @@ -228,6 +228,9 @@ return haptic->supported; } +/* + * Checks to see if the device can support the effect. + */ int SDL_HapticEffectSupported(SDL_Haptic * haptic, SDL_HapticEffect * effect) {