src/joystick/dummy/SDL_sysjoystick.c
changeset 1361 19418e4422cb
parent 1358 c71e05b4dc2e
child 1402 d910939febfa
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
    21 */
    21 */
    22 
    22 
    23 /* This is the system specific header for the SDL joystick API */
    23 /* This is the system specific header for the SDL joystick API */
    24 
    24 
    25 #include "SDL_joystick.h"
    25 #include "SDL_joystick.h"
    26 #include "SDL_sysjoystick.h"
    26 #include "../SDL_sysjoystick.h"
    27 #include "SDL_joystick_c.h"
    27 #include "../SDL_joystick_c.h"
    28 
    28 
    29 /* Function to scan the system for joysticks.
    29 /* Function to scan the system for joysticks.
    30  * This function should set SDL_numjoysticks to the number of available
    30  * This function should set SDL_numjoysticks to the number of available
    31  * joysticks.  Joystick 0 should be the system default joystick.
    31  * joysticks.  Joystick 0 should be the system default joystick.
    32  * It should return 0, or -1 on an unrecoverable fatal error.
    32  * It should return 0, or -1 on an unrecoverable fatal error.