Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool.mu.edu!uunet!olivea!oliveb!amiga!kodiak From: kodiak@amiga.UUCP (Robert R. Burns) Newsgroups: comp.sys.amiga.programmer Subject: Re: reliably reading data from gameport 0 Keywords: input.device, gameport.device, help Message-ID: <6363@amiga.UUCP> Date: 8 Feb 91 00:26:34 GMT References: <1991Feb5.170245.15756@watdragon.waterloo.edu> Organization: Kodiak Software, Mountain View CA 94041 Lines: 25 Gary Smith) wrote in <1991Feb5.170245.15756@watdragon.waterloo.edu>: ) Can any one tell me how I can stop the input device from reading ) ... my events from gameport 0. I have gameport 0 configured ) for an absolute joystick and am currently taking the drastic step of ) sending CMD_STOP to the input.device ... I'm not sure what you're trying to do, but to change what the input.device thinks is the "mouse", send IND_SETMPORT to the input.device.... IO REQUEST... io_Command IND_SETMPORT io_Length 1 io_Data a pointer to a byte that is either 0 or 1, indicating that mouse input should be obtained from either the left or right controller port, respectively. If you set it to -1 it should stop reading from *either* port. -- Bob Burns, amiga!kodiak _ | /_ _|. _ | Commodore __ |_) _ |_ _ )' |<(_)(_)|(_\|< /\ | ||| _` /\ |_)(_\| )(_\ | | \ Software ___/..\|\/|||__|/..\___ Faith