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

David Olsen jolynsbass at gmail.com
Mon Mar 3 14:06:05 PST 2008


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 



More information about the SDL mailing list