Allegro下鼠标滚轮操作设置
(2023-02-11 16:09:58)
Allegro的默认鼠标滚轮操作是放大和缩小,按住Ctrl滑滚轮也是放大和缩小,其系统配置文件在.\Cadence\SPB_17.2\share\pcb\text\env文件中的最后,我复制到下面:
#balabalabala……
# Button factor may be
factorion (e.g. 0.5)
set buttonfactor =
1
button
wheel_up
"zoom in
$buttonfactor"
button
wheel_down
"zoom out $buttonfactor"
button
Cwheel_up
"zoom in
$buttonfactor"
button
Cwheel_down "zoom out
$buttonfactor"
#balabalabala……
我们可以在用户配置文件中修改滚轮的操作,用户配置文件在.\Cadence\SPB_Data\pcbenv\env,我配置的相关内容复制到下面:
#balabalabala……
button
wheel_up
"roam y
-75"
button
wheel_down
"roam y
75"
button
Swheel_up
"roam x
-75"
button
Swheel_down "roam
x
75"
button
Cwheel_up
"zoom in
0.25"
button
Cwheel_down "zoom
out 0.25"
### User Preferences
section
### This section is
computer generated.
### Please do not
modify to the end of the file.
### Place your hand
edits above this section.
###
#balabalabala……
这样,滑滚轮上下移动,Shift+滚轮左右移动,Ctrl+滚轮放大缩小。
每条指令的系数根据习惯自拟,x或y方向上的水平移动系数写50~100,缩放系数0.1~1比较合适。