Keyboard Exclusive?

Can the keyboard input be set to exclusive mode so no other app/window can
recieve keyboard inputs?

Thanks.

SDL_WM_GrabInput()?
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fWM_5fGrabInputOn Jan 5, 2008 11:20 PM, Joey <1337magic at gmail.com> wrote:

Can the keyboard input be set to exclusive mode so no other app/window can
recieve keyboard inputs?

Interesting. Does this mode grab all input all the time, or only if the application currently has input focus?> ----- Original Message -----

From: brian.ripoff@gmail.com (Brian Barrett)
To: A list for developers using the SDL library. (includes SDL-announce)
Sent: Saturday, January 5, 2008 3:38:51 PM
Subject: Re: [SDL] Keyboard Exclusive?

SDL_WM_GrabInput()?
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fWM_5fGrabInput

On Jan 5, 2008 11:20 PM, Joey <1337magic at gmail.com> wrote:

Can the keyboard input be set to exclusive mode so no other
app/window can
recieve keyboard inputs?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

It does nothing when focus isn’t on your app. It only affects your
app’s handling of input and doesn’t actually “capture” the input
devices. (It can also sometimes have weird results if your user tries
to manipulate your window.)
-:sigma.SBOn Jan 5, 2008 4:48 PM, Mason Wheeler wrote:

Interesting. Does this mode grab all input all the time, or only if the
application currently has input focus?