From: "Paweł Stołowski" Newsgroups: comp.os.msdos.djgpp References: <37C98F2B DOT D6C484BE AT cc DOT umanitoba DOT ca> Subject: Re: using joystick with Allegro for djgpp Lines: 28 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Message-ID: Date: Tue, 31 Aug 1999 20:10:10 GMT NNTP-Posting-Host: 212.160.48.49 X-Complaints-To: abuse AT tpsa DOT pl X-Trace: news.tpnet.pl 936130210 212.160.48.49 (Tue, 31 Aug 1999 22:10:10 MET DST) NNTP-Posting-Date: Tue, 31 Aug 1999 22:10:10 MET DST Organization: TPNET - http://www.tpnet.pl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Randy Granger wrote >Not sure where to ask this, thought I'd give this group a try. >I'm using djgpp 2.01 and the Allegro library 3.1 >I've made a game that uses joystick input, and the game can go for >several minutes without the need of the keyboard/mouse. >This causes a problem if the user is running windows and has a screen >saver on. >There is no input, so the screen saver starts, and the game becomes >non-responsive after that. > >Is there a way I can stop a screen saver from being activated while a >user is using the joystick? There is a simple workaround of this problem: go to the properties of your dos-application and make sure, that the check-box "allow screen saver" (or something like this - I use Polish Windows) is unchecked. It should work. You may include your .pif file with the game. I know: this is not perfect...