Mercurial > sdl-ios-xcode
changeset 2635:318e67011ad9 gsoc2008_force_feedback
Linux documentation was off, periodic does not imply all the individual effects.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 17:11:09 +0000 |
parents | dbd63c419ba5 |
children | 57ac1594164e |
files | src/haptic/linux/SDL_syshaptic.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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);