Okay, the next time my screen saver pops up in the middle of a game when I'm uncharacteristically kicking ass, I'm just gonna snap.
It just sucks that Windows doesn't consider pad/stick input to be important enough to stop the screen saver from kicking on, and that the only half-assed solutions I know of are hitting the space bar between levels (if I remember) or disabling the screen saver whenever I play a game and renabling it when I'm done.
Anybody have this problem, or better yet, a solution? Seems utterly simple, but I'm stumped.
Preventing Windows' screen saver from staring w/gamepad?
I seem to remember there being an 'allow this device to wake the computer from sleep' control somewhere, which presumably has some effect on the screensaver, although I can't remember where it is. Not sure if it can be applied to joysticks tho. One thing you can do is write a batch file to run your program, and have it turn the screensaver off and back on again. First create a file like this:
Call it ssoff.reg, make another one with ScreenSaveActive=1 and call it sson.reg, and then do a batch file:
Not too pretty, but it works. I thought there was some way to import a registry key directly from the command line (maybe using redirection) so you don't have to create those extra files, but I'm too tired to think of it right now.
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="0"
Code: Select all
Regedit /s sson.reg
game.exe
regedit /s ssoff.reg

We here shall not rest until we have made a drawing-room of your shaft, and if you do not all finally go down to your doom in patent-leather shoes, then you shall not go at all.