include/SDL_hints.h
changeset 8543 b9dd3cf38585
parent 8537 ea81cf5b6252
parent 8021 f96e12e0ade9
child 8576 8dd593afe2d7
     1.1 --- a/include/SDL_hints.h	Thu Nov 28 21:15:05 2013 -0500
     1.2 +++ b/include/SDL_hints.h	Thu Nov 28 22:09:21 2013 -0500
     1.3 @@ -192,6 +192,16 @@
     1.4   */
     1.5  #define SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS   "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS"
     1.6  
     1.7 +/**
     1.8 + *  \brief Set whether windows go fullscreen in their own spaces on Mac OS X
     1.9 + *
    1.10 + *  This variable can be set to the following values:
    1.11 + *    "0"       - Fullscreen windows will use the classic fullscreen mode
    1.12 + *    "1"       - Fullscreen windows will use fullscreen spaces
    1.13 + *
    1.14 + *  By default SDL will use the classic fullscreen mode.
    1.15 + */
    1.16 +#define SDL_HINT_VIDEO_FULLSCREEN_SPACES   "SDL_VIDEO_FULLSCREEN_SPACES"
    1.17  
    1.18  /**
    1.19   *  \brief  A variable controlling whether the idle timer is disabled on iOS.
    1.20 @@ -217,6 +227,16 @@
    1.21   *    "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown"
    1.22   */
    1.23  #define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
    1.24 +    
    1.25 +/**
    1.26 + *  \brief  A variable controlling whether an Android built-in accelerometer should be
    1.27 + *  listed as a joystick device, rather than listing actual joysticks only.
    1.28 + *
    1.29 + *  This variable can be set to the following values:
    1.30 + *    "0"       - List only real joysticks and accept input from them
    1.31 + *    "1"       - List real joysticks along with the accelerometer as if it were a 3 axis joystick (the default).
    1.32 + */
    1.33 +#define SDL_HINT_ACCEL_AS_JOY "SDL_ACCEL_AS_JOY"
    1.34  
    1.35  
    1.36  /**
    1.37 @@ -287,6 +307,29 @@
    1.38   */
    1.39  #define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED"
    1.40  
    1.41 +/**
    1.42 + *  \brief A variable that determines whether ctrl+click should generate a right-click event on Mac
    1.43 + *  
    1.44 + *  If present, holding ctrl while left clicking will generate a right click
    1.45 + *  event when on Mac.
    1.46 + */
    1.47 +#define SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
    1.48 +
    1.49 +/**
    1.50 +*  \brief  A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries
    1.51 +*
    1.52 +*  SDL has EGL and OpenGL ES2 support on Windows via the ANGLE project. It
    1.53 +*  can use two different sets of binaries, those compiled by the user from source
    1.54 +*  or those provided by the Chrome browser. In the later case, these binaries require
    1.55 +*  that SDL loads 
    1.56 +*
    1.57 +*  This variable can be set to the following values:
    1.58 +*    "d3dcompiler_46.dll" - default, best for Vista or later.
    1.59 +*    "d3dcompiler_43.dll" - for XP support.
    1.60 +*    "none" - do not load any library, useful if you compiled ANGLE from source and included the compiler in your binaries.
    1.61 +*
    1.62 +*/
    1.63 +#define SDL_HINT_VIDEO_WIN_D3DCOMPILER              "SDL_VIDEO_WIN_D3DCOMPILER"
    1.64  
    1.65  /**
    1.66   *  \brief  An enumeration of hint priorities