src/joystick/SDL_joystick_c.h
changeset 12641 64597a7e8771
parent 12503 806492103856
child 12896 b91647e1a977
equal deleted inserted replaced
12640:b708d2c3fe08 12641:64597a7e8771
    64 extern SDL_bool SDL_IsJoystickXbox360(Uint16 vendor_id, Uint16 product_id);
    64 extern SDL_bool SDL_IsJoystickXbox360(Uint16 vendor_id, Uint16 product_id);
    65 
    65 
    66 /* Function to return whether a joystick is an Xbox One controller */
    66 /* Function to return whether a joystick is an Xbox One controller */
    67 extern SDL_bool SDL_IsJoystickXboxOne(Uint16 vendor_id, Uint16 product_id);
    67 extern SDL_bool SDL_IsJoystickXboxOne(Uint16 vendor_id, Uint16 product_id);
    68 
    68 
       
    69 /* Function to return whether a joystick is a GameCube controller */
       
    70 extern SDL_bool SDL_IsJoystickGameCube(Uint16 vendor_id, Uint16 product_id);
       
    71 
    69 /* Function to return whether a joystick guid comes from the XInput driver */
    72 /* Function to return whether a joystick guid comes from the XInput driver */
    70 extern SDL_bool SDL_IsJoystickXInput(SDL_JoystickGUID guid);
    73 extern SDL_bool SDL_IsJoystickXInput(SDL_JoystickGUID guid);
    71 
    74 
    72 /* Function to return whether a joystick guid comes from the HIDAPI driver */
    75 /* Function to return whether a joystick guid comes from the HIDAPI driver */
    73 extern SDL_bool SDL_IsJoystickHIDAPI(SDL_JoystickGUID guid);
    76 extern SDL_bool SDL_IsJoystickHIDAPI(SDL_JoystickGUID guid);