Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!bionet!csd4.milw.wisc.edu!leah!rpi!batcomputer!cornell!rochester!pt.cs.cmu.edu!cadre!pitt!darth!liber From: liber@darth.UUCP (Eric Liber) Newsgroups: comp.sys.ibm.pc Subject: Re: Mouse problems (for left hander) Message-ID: <431@darth.UUCP> Date: 14 Feb 89 18:26:36 GMT References: <40970003@hpindda.HP.COM> Organization: Darth Software, Allison Park, Pa. Lines: 32 > I just bought a MSC (formerly Mouse Systems) PC Mouse II which > has two buttons and being a left hander I'd like to swop the > buttons around so that I can use it more easily. > . . I have done extensive playing with several various mice. As i see it you only have 2 choices. 1) Write your own mouse driver to replace the one that came with your mouse. While definately not for the faint of heart I suspect that a few days of hacking about would get you there. A call to MSC to see if they have a technical manual on the mouse is definately in order. Such a manual is absolutely a necessity in any such undertaking. 2) Somewhat simpler is to write a TSR routine that grabs int 33h (the mouse interrupt and looks for requests for button information and reverses the logic. That is: if you send a mouse interrupt request #5 (let's say .. I don't have my manual handy and my memory is not what it used to be :-) ) and it is supposed to return bx bit 0 = left button and bx bit 1 = right button then reversing those bits before returning to the calling program would do what you want. This routine would have to intercept the int 33 call and make its own call to where int33 used to point then the mouse routine would return to your intercept routine and you would return to the calling program with the appropriate registers modified. one other thought ... I believe that some of the mice (Logitech???) may allow you to do this very thing through their click routine. If so you might want to sell the pc mouse and get a logitech. I will check my reference manuals tonight and report back. Eric (the red baron) Liber