include/SDL_joystick.h
changeset 9917 450a2f6e2bf2
parent 9916 9429bc102632
child 9998 f67cf37e9cd4
equal deleted inserted replaced
9916:9429bc102632 9917:450a2f6e2bf2
   256  *  Close a joystick previously opened with SDL_JoystickOpen().
   256  *  Close a joystick previously opened with SDL_JoystickOpen().
   257  */
   257  */
   258 extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick * joystick);
   258 extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick * joystick);
   259 
   259 
   260 /**
   260 /**
   261 *  Return the battery level of this joystick
   261  *  Return the battery level of this joystick
   262 */
   262  */
   263 extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL_Joystick * joystick);
   263 extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL_Joystick * joystick);
   264 
       
   265 
   264 
   266 /* Ends C function definitions when using C++ */
   265 /* Ends C function definitions when using C++ */
   267 #ifdef __cplusplus
   266 #ifdef __cplusplus
   268 }
   267 }
   269 #endif
   268 #endif