Mercurial > sdl-ios-xcode
comparison src/haptic/linux/SDL_syshaptic.c @ 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 | ef0ba67154c1 |
comparison
equal
deleted
inserted
replaced
2634:dbd63c419ba5 | 2635:318e67011ad9 |
---|---|
100 return -1; | 100 return -1; |
101 } | 101 } |
102 | 102 |
103 /* Convert supported features to SDL_HAPTIC platform-neutral features. */ | 103 /* Convert supported features to SDL_HAPTIC platform-neutral features. */ |
104 EV_TEST(FF_CONSTANT, SDL_HAPTIC_CONSTANT); | 104 EV_TEST(FF_CONSTANT, SDL_HAPTIC_CONSTANT); |
105 EV_TEST(FF_PERIODIC, SDL_HAPTIC_SINE | | 105 EV_TEST(FF_SINE, SDL_HAPTIC_SINE); |
106 SDL_HAPTIC_SQUARE | | 106 EV_TEST(FF_SQUARE, SDL_HAPTIC_SQUARE); |
107 SDL_HAPTIC_TRIANGLE | | 107 EV_TEST(FF_TRIANGLE, SDL_HAPTIC_TRIANGLE); |
108 SDL_HAPTIC_SAWTOOTHUP | | 108 EV_TEST(FF_SAW_UP, SDL_HAPTIC_SAWTOOTHUP); |
109 SDL_HAPTIC_SAWTOOTHDOWN); | 109 EV_TEST(FF_SAW_DOWN, SDL_HAPTIC_SAWTOOTHDOWN); |
110 EV_TEST(FF_RAMP, SDL_HAPTIC_RAMP); | 110 EV_TEST(FF_RAMP, SDL_HAPTIC_RAMP); |
111 EV_TEST(FF_SPRING, SDL_HAPTIC_SPRING); | 111 EV_TEST(FF_SPRING, SDL_HAPTIC_SPRING); |
112 EV_TEST(FF_FRICTION, SDL_HAPTIC_FRICTION); | 112 EV_TEST(FF_FRICTION, SDL_HAPTIC_FRICTION); |
113 EV_TEST(FF_DAMPER, SDL_HAPTIC_DAMPER); | 113 EV_TEST(FF_DAMPER, SDL_HAPTIC_DAMPER); |
114 EV_TEST(FF_INERTIA, SDL_HAPTIC_INERTIA); | 114 EV_TEST(FF_INERTIA, SDL_HAPTIC_INERTIA); |