go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Closed REQ 5276]: mouse bindings in geomview


  • To: software@geom
  • Subject: Re: [Closed REQ 5276]: mouse bindings in geomview
  • From: "Daeron Meyer" <daeron>
  • Date: Fri, 3 Mar 95 11:12:47 CST

> 
> Date: Fri, 3 Mar 1995 14:40:26 +0100 (BST)
> From: "M.H. Syn" <mhs at eng.cam.ac.uk>
> Subject: mouse bindings in geomview
> To: software@geom
> Message-Id: <Pine.3.89.9503031440.A13825-0100000 at tw300.eng.cam.ac.uk>
> 
> Hi -
> 
> I've had feedback from the people I'm preparing a Geomview application for.
> They are Mac users and typically export the display to a Mac X-session.
> Their mice are single-button mice, so I would really like to change the 
> mouse-bindings for the Geomview window.
> 
> [1] normal rotation ("glass sphere") is fine.
> 
> [2] spinning about the z-axis, normally middle button. what about if i had a 
> button to toggle between [1] and [2]. i can't see how i can do this from GCL.
> 
> [3] "picking" a point: can i make geomview pick using the left button?
>     again this is toggled by an external button.
> 
> i'd be very grateful if you could tell me how to do this, either in GCL 
> or by modifying the source directly (less desirable).
> i work with Suns and Linux.
> 
> Cheers, Mike
> -----
> mhs at eng.cam.ac.uk
> Speech, Vision and Robotics Group, Cambridge University Engineering Dept.
> 
> 
> 
> 

You could modify the code in Geomview/src/bin/geomview/x11/gvevent.c
but before you try doing that, consider this: MacX provides a way of
doing all three mouse buttons using arrow keys and mouse clicks. By
default it is configured to do the following:

Mouse click = X left mouse click
Left Arrow Key = X middle mouse click
Right Arrow Key = X right mouse click

So, pressing the left arrow key while dragging, for instance, will do
the desired rotation around the Z axis and picking can be accomplish by
pressing the right arrow key twice quickly (doubleclick) while pointing to
the thing you want to pick. Also, these key to mouseclick mappings can
be customized using the Edit->Misc Preferences menu option.

We've got Geomview working through MacX here as well and it does great!

-Daeron


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo