comparison src/haptic/linux/SDL_syshaptic.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 4c8e25ef2d97
comparison
equal deleted inserted replaced
2485:67978eea6d10 2486:24dd8b8669fa
92 EV_TEST(FF_RAMP, SDL_HAPTIC_RAMP); 92 EV_TEST(FF_RAMP, SDL_HAPTIC_RAMP);
93 EV_TEST(FF_SPRING, SDL_HAPTIC_SPRING); 93 EV_TEST(FF_SPRING, SDL_HAPTIC_SPRING);
94 EV_TEST(FF_FRICTION, SDL_HAPTIC_FRICTION); 94 EV_TEST(FF_FRICTION, SDL_HAPTIC_FRICTION);
95 EV_TEST(FF_DAMPER, SDL_HAPTIC_DAMPER); 95 EV_TEST(FF_DAMPER, SDL_HAPTIC_DAMPER);
96 EV_TEST(FF_INERTIA, SDL_HAPTIC_INERTIA); 96 EV_TEST(FF_INERTIA, SDL_HAPTIC_INERTIA);
97 EV_TEST(FF_CUSTOM, SDL_HAPTIC_CUSTOM);
97 EV_TEST(FF_GAIN, SDL_HAPTIC_GAIN); 98 EV_TEST(FF_GAIN, SDL_HAPTIC_GAIN);
98 EV_TEST(FF_AUTOCENTER, SDL_HAPTIC_AUTOCENTER); 99 EV_TEST(FF_AUTOCENTER, SDL_HAPTIC_AUTOCENTER);
99 100
100 return ret; 101 return ret;
101 } 102 }