Path: utzoo!mnetor!uunet!husc6!cmcl2!beta!hc!ames!aurora!phil From: phil@aurora.UUCP (Phil Stone) Newsgroups: comp.sys.amiga Subject: Re: Three button mouse for the Amiga?? Message-ID: <1668@aurora.UUCP> Date: 3 Feb 88 17:38:43 GMT References: <195@atrium.UUCP> Organization: NASA Ames Research Center, California Lines: 24 Keywords: mouse, three button mouse Summary: Third button available through input device In article <195@atrium.UUCP>, chanst@atrium.UUCP (Steve T Chan) writes: > Is it possible to hook up a 3 button mouse to the Amiga?? > If so, would AmigaDOS support it and how? > I have hooked up a three-button track-ball to the Amiga and incorporated it into some music software I'm working on. Intuition doesn't know about the third button, but the Input Device (which is what "cooks" input events for Intuition) lets you hear about just about everything that goes on at the keyboard and mouseports. You have to write an Input Device handler to look for third-button events, and insert this handler just ahead of Intuition in the input stream. A fairly good example of this is given in the RKM Input Device chapter (warning: disable Lattice stack-checking, or the assembly-language fragment used to interface the handler will guru - spent two days figuring that one out.) If you're interested in more details here, I can post some of the source. Phil Stone NASA Ames-Research Moffett Field, CA ---- Disclaimer: Opinions strictly personal, facts strictly unverifiable. -----