WhatsNew.txt
changeset 12243 a5781d950d5d
parent 11922 5b6c54dc89da
child 12361 60cdd518cf9b
equal deleted inserted replaced
12242:df7260f149f2 12243:a5781d950d5d
     4 ---------------------------------------------------------------------------
     4 ---------------------------------------------------------------------------
     5 2.0.9:
     5 2.0.9:
     6 ---------------------------------------------------------------------------
     6 ---------------------------------------------------------------------------
     7 
     7 
     8 General:
     8 General:
       
     9 * Added a new sensor API, initialized by passing SDL_INIT_SENSOR to SDL_Init(), and defined in SDL_sensor.h
       
    10 * Added an event SDL_SENSORUPDATE which is sent when a sensor is updated
       
    11 * Added SDL_GetDisplayOrientation() to return the current display orientation
       
    12 * Added an event SDL_DISPLAYEVENT which is sent when the display orientation changes
       
    13 * Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms. (Thanks to Valve for contributing the PS4 and Nintendo Switch Pro controller support)
       
    14 * Added support for many other popular game controllers
       
    15 * Added SDL_GameControllerRumble() and SDL_JoystickRumble() which allow simple rumble without using the haptics API
     9 * Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened
    16 * Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened
       
    17 * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_TIME to control the mouse double-click time
       
    18 * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to control the mouse double-click radius, in pixels
       
    19 * Added SDL_HasColorKey() to return whether a surface has a colorkey active
       
    20 * Added SDL_HasAVX512F() to return whether the CPU has AVX-512F features
       
    21 * Added SDL_IsTablet() to return whether the application is running on a tablet
       
    22 * Added SDL_THREAD_PRIORITY_TIME_CRITICAL for threads that must run at the highest priority
       
    23 
       
    24 Mac OS X:
       
    25 * Fixed black screen at start on Mac OS X Mojave
       
    26 
       
    27 Linux:
       
    28 * Added SDL_LinuxSetThreadPriority() to allow adjusting the thread priority of native threads using RealtimeKit if available.
       
    29 
       
    30 iOS:
       
    31 * Fixed Asian IME input
       
    32 
       
    33 Android:
       
    34 * Updated required Android SDK to API 26, to match Google's new App Store requirements
       
    35 * Added support for wired USB Xbox, PS4, and Nintendo Switch Pro controllers
       
    36 * Added support for relative mouse mode on Android 7.0 and newer (except where it's broken, on Chromebooks and when in DeX mode with Samsung Experience 9.0)
       
    37 * Added support for custom mouse cursors on Android 7.0 and newer
       
    38 * Added the hint SDL_HINT_ANDROID_TRAP_BACK_BUTTON to control whether the back button will back out of the app (the default) or be passed to the application as SDL_SCANCODE_AC_BACK
       
    39 * Added SDL_AndroidBackButton() to trigger the Android system back button behavior when handling the back button in the application
       
    40 * Added SDL_IsChromebook() to return whether the app is running in the Chromebook Android runtime
       
    41 * Added SDL_IsDeXMode() to return whether the app is running while docked in the Samsung DeX
    10 
    42 
    11 
    43 
    12 ---------------------------------------------------------------------------
    44 ---------------------------------------------------------------------------
    13 2.0.8:
    45 2.0.8:
    14 ---------------------------------------------------------------------------
    46 ---------------------------------------------------------------------------