mouse in the candence

Discussion in 'Cadence' started by yuama215, Apr 16, 2009.

  1. yuama215

    yuama215 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
     
    yuama215, Apr 16, 2009
    #1
  2. yuama215

    Riad KACED Guest

    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.
     
    Riad KACED, Apr 16, 2009
    #2
  3. yuama215

    yuama215 Guest

    Tt's really details,thank you for your answer,i will try
     
    yuama215, Apr 17, 2009
    #3
  4. 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
     
    stuart.duncan, Apr 20, 2009
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.