chanst@atrium.UUCP (Steve T Chan) (02/02/88)
Is it possible to hook up a 3 button mouse to the Amiga?? If so, would AmigaDOS support it and how? +----------------------------------------------------------------------+ | Steve Chan UUCP: gatech!petro!atrium!chanst | | @ Atrium @ The Alamo ARPA: atrium!chanst@rutgers.edu | | San Antonio, Texas BITNET: rutgers!atrium!chanst@cunyum | | | | 'If you put your minds to it, you could accomplish anything!' - Doc | +----------------------------------------------------------------------+
steveb@cbmvax.UUCP (Steve Beats) (02/03/88)
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? > If you take a look at 'devices/inputevent.h' you will see that the input.device already has support for a middle mouse button. What Intuition and DOS would do with these events is anybody's guess, but an application could read it with no problem. Steve
phil@aurora.UUCP (Phil Stone) (02/04/88)
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. -----