src/joystick/dummy/SDL_sysjoystick.c
changeset 1152 51a8702d8ecd
parent 769 b8d311d90021
child 1167 435c2e481299
equal deleted inserted replaced
1151:be9c9c8f6d53 1152:51a8702d8ecd
    31 
    31 
    32 #include "SDL_error.h"
    32 #include "SDL_error.h"
    33 #include "SDL_joystick.h"
    33 #include "SDL_joystick.h"
    34 #include "SDL_sysjoystick.h"
    34 #include "SDL_sysjoystick.h"
    35 #include "SDL_joystick_c.h"
    35 #include "SDL_joystick_c.h"
       
    36 
       
    37 Uint8 SDL_numjoysticks = 0;
    36 
    38 
    37 /* Function to scan the system for joysticks.
    39 /* Function to scan the system for joysticks.
    38  * This function should set SDL_numjoysticks to the number of available
    40  * This function should set SDL_numjoysticks to the number of available
    39  * joysticks.  Joystick 0 should be the system default joystick.
    41  * joysticks.  Joystick 0 should be the system default joystick.
    40  * It should return 0, or -1 on an unrecoverable fatal error.
    42  * It should return 0, or -1 on an unrecoverable fatal error.