src/haptic/SDL_syshaptic.h
branchgsoc2008_force_feedback
changeset 2624 c6476e26a783
parent 2524 1a55848ce198
child 2645 269ba4f28d0e
equal deleted inserted replaced
2623:6deba05725ac 2624:c6476e26a783
    83  * Checks to see if the joystick has haptic capabilities.
    83  * Checks to see if the joystick has haptic capabilities.
    84  *
    84  *
    85  * Returns >0 if haptic capabilities are detected, 0 if haptic
    85  * Returns >0 if haptic capabilities are detected, 0 if haptic
    86  * capabilities aren't detected and -1 on error.
    86  * capabilities aren't detected and -1 on error.
    87  */
    87  */
    88 extern int SDL_JoystickIsHaptic(SDL_Joystick * joystick);
    88 extern int SDL_SYS_JoystickIsHaptic(SDL_Joystick * joystick);
    89 
    89 
    90 /*
    90 /*
    91  * Opens the haptic device for usage using the same device as
    91  * Opens the haptic device for usage using the same device as
    92  * the joystick.
    92  * the joystick.
    93  *
    93  *