加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

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比较合适。

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有