src/haptic/dummy/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2495 66c02abeef0e
parent 2492 31444718601e
child 2508 f23cee9e16fc
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;