Mercurial > sdl-ios-xcode
comparison src/haptic/dummy/SDL_syshaptic.c @ 2495:66c02abeef0e gsoc2008_force_feedback
Added SDL_HapticGetEffectStatus().
More comments.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Thu, 03 Jul 2008 09:58:27 +0000 |
parents | 31444718601e |
children | f23cee9e16fc |
comparison
equal
deleted
inserted
replaced
2494:a72a5f62d6b7 | 2495:66c02abeef0e |
---|---|
130 SDL_SetError("Logic error: No haptic devices available."); | 130 SDL_SetError("Logic error: No haptic devices available."); |
131 return -1; | 131 return -1; |
132 } | 132 } |
133 | 133 |
134 | 134 |
135 int SDL_SYS_HapticGetEffectStatus(SDL_Haptic * haptic, struct haptic_effect * effect) | |
136 { | |
137 SDL_SetError("Logic error: No Haptic devices available."); | |
138 return -1; | |
139 } | |
140 | |
141 | |
135 int | 142 int |
136 SDL_SYS_HapticSetGain(SDL_Haptic * haptic, int gain) | 143 SDL_SYS_HapticSetGain(SDL_Haptic * haptic, int gain) |
137 { | 144 { |
138 SDL_SetError("Logic error: No haptic devices available."); | 145 SDL_SetError("Logic error: No haptic devices available."); |
139 return -1; | 146 return -1; |