src/joystick/iphoneos/SDL_sysjoystick.m
branchiOS-improvements
changeset 9535 a66a7f7e8cd8
parent 9510 e19faa3b5d88
parent 9311 a4b031e28de8
child 9536 3c87b8f9dc58
equal deleted inserted replaced
9534:5b2b50804caa 9535:a66a7f7e8cd8
    37 
    37 
    38 static CMMotionManager *motionManager = nil;
    38 static CMMotionManager *motionManager = nil;
    39 static int numjoysticks = 0;
    39 static int numjoysticks = 0;
    40 
    40 
    41 /* Function to scan the system for joysticks.
    41 /* Function to scan the system for joysticks.
    42  * This function should set SDL_numjoysticks to the number of available
    42  * Joystick 0 should be the system default joystick.
    43  * joysticks.  Joystick 0 should be the system default joystick.
       
    44  * It should return 0, or -1 on an unrecoverable fatal error.
    43  * It should return 0, or -1 on an unrecoverable fatal error.
    45  */
    44  */
    46 int
    45 int
    47 SDL_SYS_JoystickInit(void)
    46 SDL_SYS_JoystickInit(void)
    48 {
    47 {