Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!rwthinf!cip-s02!wolfram From: wolfram@cip-s02.informatik.rwth-aachen.de (Wolfram Roesler) Newsgroups: comp.sys.atari.st Subject: Re: evnt_button() problem. Message-ID: Date: 7 Feb 91 10:40:08 GMT References: <4056@cernvax.cern.ch> Sender: news@rwthinf.UUCP Lines: 19 hohr@cernvax.cern.ch (roger hoh) writes: > The AES evnt_button() returns me zero, and is not waiting: why?? > I just want to wait until the RIGHT mouse button is pressed. Make sure that you use the correct parameter for evnt_button. The parameter is a bit vector indicating for which mouse button status to wait, e.g. the bit vector 00 waits for both buttons being up, 01 waits for the left button being down and the right one up, 10 (=dec.2) waits for the right button being down and the left one up, and 11 (=dec. 3) waits for both buttons being down. I suppose this is your problem.. I had another problem about this, btw: it is not possible to wait for either the left or the right button being down (neither with evnt_button nor with evnt_multi). But waiting just for the right button to be pushed should be possible. so long Okami san