• 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. assigning arrow key in bindkey

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 150
  • Views 15341
  • 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

assigning arrow key in bindkey

Rojalin
Rojalin over 13 years ago

 

Hii,

 I want to assign arrow key as one of bindkey.Can someone say how to use arrow key in hisetBindKey function??

 Thanks

  • Cancel
  • lawlag02
    lawlag02 over 13 years ago

    Hi

    <Key>Left

    <Key>Right  .....  Up  Down

     

    regards

    lrlsk

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 13 years ago

    There is a great Unix utility called "xev" that is an X event viewer. In a terminal window run "xev" and you will see a little window pop up called "Event Tester". Move your mouse over the window and a ton of messages start scrolling by. The tool reports the events taking place over the window, so it will record every mouse movement. Take your hand off the mouse and press a key on the keyboard and you'll see some information like this:

    KeyPress event, serial 32, synthetic NO, window 0x5900001,
        root 0x1e6, subw 0x0, time 1199879666, (117,130), root:(991,688),
        state 0x0, keycode 102 (keysym 0xff53, Right), same_screen YES,
        XLookupString gives 0 bytes:
        XmbLookupString gives 0 bytes:
        XFilterEvent returns: False

    KeyRelease event, serial 32, synthetic NO, window 0x5900001,
        root 0x1e6, subw 0x0, time 1199879786, (117,130), root:(991,688),
        state 0x0, keycode 102 (keysym 0xff53, Right), same_screen YES,
        XLookupString gives 0 bytes:
        XFilterEvent returns: False

    Notice there are two events, KeyPress and KeyRelease. In the third line next to the keysym code is the name of the key just pressed. I pressed the right arrow. Now try pressing the right arrow on the number keypad and you should see a name like: KP_Right

    Sometimes these names are different for other operating systems or keyboards, so it is a great debug tool as well as a key-identifyer tool.

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    And in IC615 it's even easier because in the new bindkey editor you can just press the key (or key combination) and it will fill in the key coding for you automatically.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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