equal
deleted
inserted
replaced
243 * Returns 0 on success or -1 on failure. |
243 * Returns 0 on success or -1 on failure. |
244 */ |
244 */ |
245 extern DECLSPEC int SDL_HapticRunEffect(SDL_Haptic * haptic, int effect); |
245 extern DECLSPEC int SDL_HapticRunEffect(SDL_Haptic * haptic, int effect); |
246 |
246 |
247 /* |
247 /* |
248 * Destroys a haptic effect on the device. |
248 * Stops the haptic effect on it's assosciated haptic device. |
|
249 * |
|
250 * Returns 0 on success or -1 on failure. |
|
251 */ |
|
252 extern DECLSPEC int SDL_HapticStopEffect(SDL_Haptic * haptic, int effect); |
|
253 |
|
254 /* |
|
255 * Destroys a haptic effect on the device. This will stop the effect if it's |
|
256 * running. |
249 */ |
257 */ |
250 extern DECLSPEC void SDL_HapticDestroyEffect(SDL_Haptic * haptic, int effect); |
258 extern DECLSPEC void SDL_HapticDestroyEffect(SDL_Haptic * haptic, int effect); |
251 |
259 |
252 /* |
260 /* |
253 * Sets the global gain of the device. Gain should be between 0 and 100. |
261 * Sets the global gain of the device. Gain should be between 0 and 100. |