• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. How to create two or three key strokes bindkeys

Stats

  • Locked Locked
  • Replies 21
  • Subscribers 146
  • Views 28540
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create two or three key strokes bindkeys

SlimAnt
SlimAnt over 15 years ago

Hello,

How can I create two or three key strokes bindkeys without changing the existing bindkeys?

For example, addition of existing bindkeys such as: m -> to activate move

I would like to create new bindkeys such as: jmp -> SKILL code to jump to a certain coordinate


I tried using the following function getc to read the next character from keyboard and it doesn't work.

   procedure( call_2()

        TT = getc()

                if( TT = "p" then

                     ; function to jump

                )

     )


   procedure( call_1()

          TT = getc()

                 if( TT = "m" then

                        call_2()

                 )

      )


hiSetBindKey("Layout" "none<Key>j" "call_1()")


I am using version IC6.1.3

I Appreciate any help that I can get.

  • Cancel
Parents
  • theopaone
    theopaone over 11 years ago

    Hi  Andrew,

    This is great code.  It takes me back to GDS-1 (1970's) where every command was a two or three key sequence. You could get pretty good with a single hand on the keyboard and another with the pen (no on-screen menus).

    I'm going to use this to add special functionality with multiple key sequences, like emacs.

     Ted

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • theopaone
    theopaone over 11 years ago

    Hi  Andrew,

    This is great code.  It takes me back to GDS-1 (1970's) where every command was a two or three key sequence. You could get pretty good with a single hand on the keyboard and another with the pen (no on-screen menus).

    I'm going to use this to add special functionality with multiple key sequences, like emacs.

     Ted

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information