Product Documentation
Virtuoso Studio Design Environment User Guide
Product Version IC23.1, November 2023

Format for Key and Mouse Bindings

The following format is used for key and mouse binding modifiers:

[modifiers]<operator>detail[(occurrences)] [EF]

where:

Binding Description

modifier

(Optional) Specifies the modification key that get used with the bound key(s) or mouse button.

Valid values are:

Alt

Shift

Ctrl

Meta

None

Super (or Hyper): This is a custom modifier that may not always work with mouse bindings. A Super (or Hyper) modifier can be set through the use of xmodmap, where, for example, you can re-define the use of the ride-sided Alt key (Alt_R) for use as a Super or Hyper modifier and assign that to an unused modifier bit.

After the Super or Hyper modifiers are defined, they also get listed by hiBindKeyModifiers.

operator

Specifies the bound key or mouse button

Surrounding angle brackets (<>) are required.

Key

Keyboard key

Btn1Down

Left mouse button

Btn2Down

Middle mouse button

Btn3Down

Right mouse button

Btn4Down

Scroll wheel up

Btn5Down

Scroll wheel down

Btn8Down

Thumb button closest to the wrist

Btn9Down

Thumb button farthest from the wrist

DrawThru1

Click and hold left mouse button while moving mouse

DrawThru2

Click and hold middle mouse button while moving mouse

DrawThru3

Click and hold right mouse button while moving mouse

DrawThru8

Click and hold closest thumb button while moving mouse

DrawThru9

Click and hold farthest thumb button while moving mouse

detail

Specifies the name of the keyboard key, such as A, B, F3, Tab, or Del

occurrences

(Optional) Specifies the number of times to use a mouse button. Should not be specified for Btn4Down or Btn5Down.

Use 2 for double-click, 1 for single-click. If you do not specify a value for occurrences, the software uses 1 (single-click). If you do specify a value, the surrounding parentheses are required.

EnterFunction Command

(Optional) Indicates that the binding is effective during a user entry function (such as drawing a rectangle).

A number of hard-coded keys have been set to be recognized for pan and zoom when performing a DrawThru command.

For example, if you are performing a drag-zoom (typically using the right-mouse button) or a drag-select (typically using the left-mouse button), you can use the Arrow keys and Z and Shift+Z to pan and zoom during that operation.

This is achieved where:

These are however all hard-coded not editable through the bindkey interface and are in addition to the Esc key, which calls cancelEnterFun() during the Drawthru command. Apart from this, you can also use the f key to zoom-fit a design. The f key calls the hiZoomAbsoluteScale() function.

Related Topics

hiAbsolutePan

hiZoomInAtMouse

hiZoomOutAtMouse

hiZoomAbsoluteScale


Return to top
 ⠀
X