[SDL] Preventing Windows key from exiting fullscreen in SDL?

Charles McGarvey onefriedrice at brokenzipper.com
Mon Mar 3 15:10:45 PST 2008


If I remember correctly, UT3 somehow does prevent the Windows key from
getting out of the game.  If this is true, it's probably the only
example that I've seen of this behavior.  It would also be very
interesting to know how they did it.  I'm going off memory, though, as I
don't have UT3 installed anymore.  Maybe I'm mistaken.

On Mon, 2008-03-03 at 16:06 -0600, David Olsen wrote:
> Yeah, Logitech's solution was to make the G15 keyboard, which has a manual 
> "disable" switch, which prevents the windows key from sending the press 
> message to Windows. That way gamers don't have to worry about malicious LAN 
> partygoers who hit their windows button to sabotage their game!
> If there were an easy (or difficult) software solution, I'm certain they 
> would have implemented it instead of a manual switch.
> -Dave
> 
> ----- Original Message ----- 
> From: "Edward Cullen" <eac203 at ecs.soton.ac.uk>
> To: "A list for developers using the SDL library." <sdl at lists.libsdl.org>
> Sent: Monday, March 03, 2008 3:53 PM
> Subject: Re: [SDL] Preventing Windows key from exiting fullscreen in SDL?
> 
> 
> > Bill Kendrick wrote:
> >> Someone reported that pressing the 'Windows' key in Tux Paint while
> >> in fullscreen mode caused it to exit fullscreen.
> >>
> >> Eep! :(
> >>
> >> Is there a way to prevent this!?!?
> >>
> >> Thanks,
> >>
> >
> > Hi, from what I can remember, on Windows the WinKey cannot be
> > over-ridden or interrupted - it is passed directly to the shell
> > (Explorer), so you have to replace the shell (or hack the Windows
> > kernel) to get around it...
> >
> > Eddy
> >
> > P.S. Please could you look at my post regarding API usability, thanks!
> > _______________________________________________
> > SDL mailing list
> > SDL at lists.libsdl.org
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org 
> 
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



More information about the SDL mailing list