• Show log

    Commit

  • Hash : 7e5340c5
    Author : David Ludwig
    Date : 2020-03-17T17:34:24

    Fix for Bug 5034 - Replugging in a controller crashes on macOS in SDL 2.0.12
    
    This is a multi-part fix, and is the 2nd attempt at a fix for Bug 5034.  Here
    are the problems being addressed:
    
    1. On macOS 10.14.x and earlier, trying to call IOHIDDeviceUnscheduleFromRunLoop
       without a prior, paired call to IOHIDDeviceScheduleWithRunLoop, appears to
       lead to a crash.  A per-device flag has been added to make sure that these
       calls are paired.
    2. DARWIN_JoystickDetect was free'ing its SDL_joystick's hwdata field
       (via FreeDevice) without setting it to NULL, and DARWIN_JoystickRumble wasn't
       checking for a NULL hwdata.  FreeDevice will now set hwdata to NULL and
       DARWIN_JoystickRumble will check for a NULL hwdata.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    https://www.libsdl.org/
    
    Simple DirectMedia Layer is a cross-platform development library designed
    to provide low level access to audio, keyboard, mouse, joystick, and graphics
    hardware via OpenGL and Direct3D. It is used by video playback software,
    emulators, and popular games including Valve's award winning catalog
    and many Humble Bundle games.
    
    More extensive documentation is available in the docs directory, starting
    with README.md
    
    Enjoy!
    	Sam Lantinga				(slouken@libsdl.org)