Path: utzoo!utgpu!news-server.csri.toronto.edu!dgp.toronto.edu!stevep Newsgroups: comp.sources.wanted From: stevep@dgp.toronto.edu (Steve Portigal) Subject: Re: mouse interface for Sun Message-ID: <1990Mar25.180849.25482@jarvis.csri.toronto.edu> Organization: Come on down to Steve's Vomitorium References: <26892@ut-emx.UUCP> Distribution: usa Date: 25 Mar 90 23:08:50 GMT Lines: 23 In article <26892@ut-emx.UUCP> ycy@walt.cc.utexas.edu (Joseph Yip) writes: >I am looking for some source code for interfacing the Sun mouse. >What I want is some routines that can returns me the x and y positions >of the mouse, keyboard and mouse events handler, and things like if the >mouse buttons were pressed or not. There are various subroutines available. I can tell you what they are, but not how to get them (anyone out there want to help...?). Currently I am using mgr, a Bellcore product which has a few mouse functions in it. Unfortunately, it uses one mouse button for system commands. It is quite painless to use. You just link your program together with their library. It does require that your program runs under the mgr windowing environment, however. Similarly, there is also Suntools (complicated) and XWindows (I didn't even look at this because it sounded too scary). Good luck! -- ****************************************************************** I can't be held repsonsible for anything...I am brain dead from all this terminal time. ****************************************************************** "Black and Huge" -- GWAR