include/SDL_hints.h
changeset 6662 698c2e533a7e
parent 6558 90f231aa77b9
child 6690 9548c8a58103
equal deleted inserted replaced
6661:cd8befc0a969 6662:698c2e533a7e
   151  *  By default SDL will not use XRandR because of window manager issues.
   151  *  By default SDL will not use XRandR because of window manager issues.
   152  */
   152  */
   153 #define SDL_HINT_VIDEO_X11_XRANDR           "SDL_VIDEO_X11_XRANDR"
   153 #define SDL_HINT_VIDEO_X11_XRANDR           "SDL_VIDEO_X11_XRANDR"
   154 
   154 
   155 /**
   155 /**
       
   156  *  \brief  A variable controlling whether grabbing input grabs the keyboard
       
   157  *
       
   158  *  This variable can be set to the following values:
       
   159  *    "0"       - Grab will affect only the mouse
       
   160  *    "1"       - Grab will affect mouse and keyboard
       
   161  *
       
   162  *  By default SDL will not grab the keyboard so system shortcuts still work.
       
   163  */
       
   164 #define SDL_HINT_GRAB_KEYBOARD              "SDL_GRAB_KEYBOARD"
       
   165 
       
   166 /**
   156  *  \brief  A variable controlling whether the idle timer is disabled on iOS.
   167  *  \brief  A variable controlling whether the idle timer is disabled on iOS.
   157  *
   168  *
   158  *  When an iOS app does not receive touches for some time, the screen is
   169  *  When an iOS app does not receive touches for some time, the screen is
   159  *  dimmed automatically. For games where the accelerometer is the only input
   170  *  dimmed automatically. For games where the accelerometer is the only input
   160  *  this is problematic. This functionality can be disabled by setting this
   171  *  this is problematic. This functionality can be disabled by setting this