mouse in the candence

Guest
Hi,all
I want to modified the function of the Mouseleft-middle-right in the
candence about layout,how can i do, pls tell me in details, thank you!
Best Regards
 
Hi There,

Here is my attempt with as much details as possible.

Open you favourite Cadence documentation tool, cdnshelp, cdsdoc ...
etc.
Go to the "CadenceŽ Design Framework II User Guide" document, it is
available in your Cadence IC stream at the following location:
$CDSHOME/doc/dfhelp/dfhelp.pdf

Go to the Chapter that deals with "Setting Bindkeys" (appendix A in
mine). this chapter tells all what you need to get your question
answered.

In summary, bring the layout binkeys from your design environment (as
detailed in the doc) and then tweak the mouse binkeys at your
convenience. The doc mentions the following:

Btn1Down "Left mouse button"
Btn2Down "Middle mouse button"
Btn3Down "Right mouse button"

I couldn't find any reference to Btn4Down/Btn5Down which are the mouse
wheel scroll Up/down (off the top of my head). They must be somewhere
else ...

Hope there is enough detail :)

Cheers,
Riad.
 
On 4ÔÂ17ČŐ, ÉĎÎç2Ęą30ˇÖ, Riad KACED <riad.ka...@gmail.com> wrote:
Hi There,

Here is my attempt with as much details as possible.

Open you favourite Cadence documentation tool, cdnshelp, cdsdoc ...
etc.
Go to the "Cadence(R) Design Framework II User Guide" document, it is
available in your Cadence IC stream at the following location:
$CDSHOME/doc/dfhelp/dfhelp.pdf

Go to the Chapter that deals with "Setting Bindkeys" (appendix A in
mine). this chapter tells all what you need to get your question
answered.

In summary, bring the layout binkeys from your design environment (as
detailed in the doc) and then tweak the mouse binkeys at your
convenience. The doc mentions the following:

Btn1Down "Left mouse button"
Btn2Down "Middle mouse button"
Btn3Down "Right mouse button"

I couldn't find any reference to Btn4Down/Btn5Down which are the mouse
wheel scroll Up/down (off the top of my head). They must be somewhere
else ...

Hope there is enough detail :)

Cheers,
Riad.
Tt's really details,thank you for your answer,i will try
 
Hi there, just to add here is an example of using the middle mouse
button roller (is it actually called flywheel i'm not sure) to zoom in/
out in layout:

;;Mouse middle button,scroll up/dwn to zoom in and out
hiSetBindKey( "Layout" "None<Btn4Down>" "hiZoomInAtMouse()")
hiSetBindKey( "Layout" "None<Btn5Down>" "hiZoomOutAtMouse()")

I added this to my .cdsinit.

Thanks

Stu
 

Welcome to EDABoard.com

Sponsor

Back
Top