include/SDL_hints.h
changeset 5555 3ecad5e5dbe4
parent 5554 4b4258be8699
child 6138 4c64952a58fb
equal deleted inserted replaced
5554:4b4258be8699 5555:3ecad5e5dbe4
   118  *  By default SDL does not sync screen surface updates with vertical refresh.
   118  *  By default SDL does not sync screen surface updates with vertical refresh.
   119  */
   119  */
   120 #define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
   120 #define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
   121 	
   121 	
   122 /**
   122 /**
       
   123  *  \brief  A variable controlling whether the idle timer is disabled on iOS.
       
   124  *
       
   125  *  When an iOS app does not receive touches for some time, the screen is
       
   126  *  dimmed automatically. For games where the accelerometer is the only input
       
   127  *  this is problematic. This functionality can be disabled by setting this
       
   128  *  hint.
       
   129  *
       
   130  *  This variable can be set to the following values:
       
   131  *    "0"       - Enable idle timer
       
   132  *    "1"       - Disable idle timer
       
   133  */
       
   134 #define SDL_HINT_IDLE_TIMER_DISABLED "SDL_IOS_IDLE_TIMER_DISABLED"
       
   135 	
       
   136 /**
   123  *  \brief  A variable controlling which orientations are allowed on iOS.
   137  *  \brief  A variable controlling which orientations are allowed on iOS.
   124  *
   138  *
   125  *  In some circumstances it is necessary to be able to explicitly control
   139  *  In some circumstances it is necessary to be able to explicitly control
   126  *  which UI orientations are allowed.
   140  *  which UI orientations are allowed.
   127  *
   141  *