Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!bionet!csd4.milw.wisc.edu!jgreco From: jgreco@csd4.milw.wisc.edu (Joe Greco) Newsgroups: comp.sys.cbm Subject: Re: 1350 Non-Proportional Mouse <==> 1350.1 Proportional Mouse Keywords: Non-Hacker in his first attempt at Hacking a Mouse Message-ID: <1438@csd4.milw.wisc.edu> Date: 5 Mar 89 18:54:26 GMT References: <2924@nunki.usc.edu> Sender: news@csd4.milw.wisc.edu Reply-To: jgreco@csd4.milw.wisc.edu (Joe Greco) Organization: UW-Milwaukee Home for Out-of-date 8 bit Hackers Lines: 57 In comp.sys.cbm article <2924@nunki.usc.edu>, aliu@nunki.usc.edu (Alejandro Liu) wrote: ]>MUNCH< >MUNCH< >MUNCH< >MUNCH< >MUNCH< >MUNCH< >MUNCH< >MUNCH< ] ]Hi, ] 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. Commodore must have been out of their minds when they designed it. Somebody must have thought "If it looks like a mouse and sounds like a mouse, it must BE a mouse".... but it's just a fancy joystick. When you roll the mouse in direction A, it is equivalent to pushing a joystick in that direction. BFD. ]The way I think it could be is that you rewire the outputs, so ]everytime the mouse moves a certain distance, it will generate an ]interrupt, the same way as you generate an interrupt when you press ]the joystick button on port 1, and the Lightpen interrupt is enabled. ]So, a driver can be writen, that will enabled by that interrupt, and ]update some counter in memory. 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? I never had a C1350 (had a C1351 for about a month before trading it for something).... but I did design an IRQ based driver with screen pointer and everything for it. It was designed for actual use, too.... It featured a selectable pointer/watch sprite, single pixel resolution, registers to store the coordinates of the last place that was "clicked" (rudimentary buffering), and dual speed motion (if you went in s single direction for more than a few seconds, it doubled it's speed). ]Is this idea possible, or I have a wild imagination? ](BTW, I have no idea how the 1350 Mouse works, so this ramblimgs might ]be full B.S.) Questions? Please ask. Please don't ask for source, I probably don't have it any more. ]-- ] ] aliu@nunki.usc.edu (Alejandro Liu) ](Simple .signature, $CHEAP$) ] Better than some 15 line sigs I've seen! :-) -- jgreco@csd4.milw.wisc.edu Joe Greco at FidoNet 1:154/200 USnail: 9905 W Montana Ave PunterNet Node 30 or 31 West Allis, WI 53227-3329 "These aren't anybody's opinions." Voice: 414/321-6184 Data: 414/321-9287 (Happy Hacker's BBS)