Allegro PCB设置CTRL+鼠标滚轮放大缩小的方法

  • 格式:docx
  • 大小:12.62 KB
  • 文档页数:1

设置鼠标滚轮(在env文件结尾添加如下)

# Keyboard modifiers (note we are case insensitive)

# S - shift key

# C - control key

# SC - shift and control

# Example: SCwheel - for wheel button assignment with both shift & control

keys

#

# Button factor may be factorion (e.g. 0.5)

set buttonfactor = 1

按住CTRL+滚轮,放大缩小

#button wheel_up "zoom in $buttonfactor"

#button wheel_down "zoom out $buttonfactor"

button Cwheel_up "zoom in $buttonfactor"

button Cwheel_down "zoom out $buttonfactor"

设置滚轮上下转动时PCB页面上下动,而不放大

按住Shift+滚轮转动,PCB页面左右滑动,

set roamInc = 96

button wheel_up "roam y -$roamInc"

button wheel_down "roam y $roamInc"

button Swheel_up "roam x -$roamInc"

button Swheel_down "roam x $roamInc"