Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!usenet From: howie@ivory.cc.columbia.edu (Howie Kaye) Newsgroups: comp.sys.next Subject: Re: X11 Message-ID: <1991May31.202222.5027@cunixf.cc.columbia.edu> Date: 31 May 91 20:22:22 GMT References: <1991May31.090550@dali.cc.gatech.edu> Sender: usenet@cunixf.cc.columbia.edu (The Network News) Reply-To: howie@cunixf.cc.columbia.edu Organization: Columbia University Lines: 32 Nntp-Posting-Host: ivory.cc.columbia.edu In article <1991May31.090550@dali.cc.gatech.edu> iansmith@dali.cc.gatech.edu (Ian Smith) writes: > In article <1991May29.151312.15680@serval.net.wsu.edu>, > hakimian@tek4.eecs.wsu.edu (Karl Hakimian - staff) writes: > |> I have mouseX running on a NeXT cube. Everything seems find except I > can't > |> figure out how to get the NeXT mouse to act like a three button mouse > instead > |> of a two button mouse. Does anyone have any idea? > You can't (with the current implementation). A process is snarfing > the NeXTStep events off the window server, shoving them down a pipe to > the the X server then dispatching them to X clients. Until NeXTStep > supports generating a button three mouse event,you are pretty much > hosed... however... > > An adventurous soul might be able to hack the server source to do > something like what the old HP's used to do, ie. hitting both buttons > together gives button 3. I really don't like this solution much, but > it would work. You could look in the dispatching code (look for a > giant switch statement somewhere in $(TOPDIR)/src/mit/server/ddx/next, > I can remeber the exact file). I would prefer hacking the keycode > table > to lose a keycode and using that as a mouse button. > > If I get a few free minutes, I post the diffs. > ian If this is running under 2.0, and gotten from Columbia, than it has already been done. Try hitting both mouse buttons. It should generate a "middle" button event. /howie