Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oberon!nunki.usc.edu!aliu From: aliu@nunki.usc.edu (Alejandro Liu) Newsgroups: comp.sys.cbm Subject: Re: 1350 Non-Proportional Mouse <==> 1350.1 Proportional Mouse Summary: Missing the point? Keywords: Non-Hacker in his first attempt at Hacking a Mouse Message-ID: <2937@nunki.usc.edu> Date: 6 Mar 89 01:07:14 GMT References: <2924@nunki.usc.edu> <1438@csd4.milw.wisc.edu> Reply-To: aliu@nunki.usc.edu (Alejandro Liu) Organization: University of Southern California, Los Angeles, CA Lines: 25 In article <1438@csd4.milw.wisc.edu> jgreco@csd4.milw.wisc.edu (Joe Greco) writes: >In comp.sys.cbm article <2924@nunki.usc.edu>, aliu@nunki.usc.edu (Alejandro Liu) wrote: >] How does the 1350 mouse works? Can it be possible to convert that >]mouse in a more or less proportional mouse, by using the LightPen >]interrupt? >Forget the light-pen interrupt. That's more or less useless. >The C1350 is a nonproportional "joystick" that looks like a mouse. >Why bother? We already have a perfectly fine interrupt sixty times a >second that is more than adequate to do the job. Why make it harder >than it already is? You are missing my point here. The light pen interrupt is not supposed to just active a ML Routine to read the joystick. It is supposed to be used by the Joystick/mouse to tell the computer it finished doing something. In the case of the mouse, it will signal the computer that it finished travelling a fixed distance in direction x(or y). So if I move the mouse slowly, it will generate less interrupts as if I were moving the mouse faster. The more interrupts, the counters will increase (or decrease) faster, thus simulating a proportional mouse. Some computers, I think, use this method for their mices. -- aliu@nunki.usc.edu (Alejandro Liu) (Simple .signature, $CHEAP$)