# HG changeset patch # User Edgar Simo # Date 1218042669 0 # Node ID 318e67011ad99ddb385c0f36df383e9fd4a5e7ac # Parent dbd63c419ba5f07cf74c67a7cd0886c2b79f664c Linux documentation was off, periodic does not imply all the individual effects. diff -r dbd63c419ba5 -r 318e67011ad9 src/haptic/linux/SDL_syshaptic.c --- a/src/haptic/linux/SDL_syshaptic.c Wed Aug 06 15:39:08 2008 +0000 +++ b/src/haptic/linux/SDL_syshaptic.c Wed Aug 06 17:11:09 2008 +0000 @@ -102,11 +102,11 @@ /* Convert supported features to SDL_HAPTIC platform-neutral features. */ EV_TEST(FF_CONSTANT, SDL_HAPTIC_CONSTANT); - EV_TEST(FF_PERIODIC, SDL_HAPTIC_SINE | - SDL_HAPTIC_SQUARE | - SDL_HAPTIC_TRIANGLE | - SDL_HAPTIC_SAWTOOTHUP | - SDL_HAPTIC_SAWTOOTHDOWN); + EV_TEST(FF_SINE, SDL_HAPTIC_SINE); + EV_TEST(FF_SQUARE, SDL_HAPTIC_SQUARE); + EV_TEST(FF_TRIANGLE, SDL_HAPTIC_TRIANGLE); + EV_TEST(FF_SAW_UP, SDL_HAPTIC_SAWTOOTHUP); + EV_TEST(FF_SAW_DOWN, SDL_HAPTIC_SAWTOOTHDOWN); EV_TEST(FF_RAMP, SDL_HAPTIC_RAMP); EV_TEST(FF_SPRING, SDL_HAPTIC_SPRING); EV_TEST(FF_FRICTION, SDL_HAPTIC_FRICTION);