include/SDL_hints.h
changeset 6662 698c2e533a7e
parent 6558 90f231aa77b9
child 6690 9548c8a58103
     1.1 --- a/include/SDL_hints.h	Wed Nov 07 11:13:28 2012 -0800
     1.2 +++ b/include/SDL_hints.h	Wed Nov 07 15:55:43 2012 -0800
     1.3 @@ -153,6 +153,17 @@
     1.4  #define SDL_HINT_VIDEO_X11_XRANDR           "SDL_VIDEO_X11_XRANDR"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling whether grabbing input grabs the keyboard
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0"       - Grab will affect only the mouse
    1.11 + *    "1"       - Grab will affect mouse and keyboard
    1.12 + *
    1.13 + *  By default SDL will not grab the keyboard so system shortcuts still work.
    1.14 + */
    1.15 +#define SDL_HINT_GRAB_KEYBOARD              "SDL_GRAB_KEYBOARD"
    1.16 +
    1.17 +/**
    1.18   *  \brief  A variable controlling whether the idle timer is disabled on iOS.
    1.19   *
    1.20   *  When an iOS app does not receive touches for some time, the screen is