allegro画面左右移动怎样修改成功右键拖动或shift+滚轮?

2024-12-03 12:15:42
推荐回答(3个)
回答1:

配置ENV文件按即可!!!!!!!!!!
晚上有相关代码?我把关键的发上来
button wheel_up "roam y -$roamInc"
button wheel_down "roam y $roamInc"
button Cwheel_up "zoom in $buttonfactor"
button Cwheel_down "zoom out $buttonfactor"

回答2:

习惯了就好了,其实按中键拖动很方便的,只是刚开始的时候不是很习惯时间长了就好了

回答3:

button wheel_up "roam y -$roamInc"
button wheel_down "roam y $roamInc"
button Swheel_up "roam x -$roamInc"
button Swheel_down "roam x $roamInc"
button Cwheel_up "zoom in $buttonfactor"
button Cwheel_down "zoom out $buttonfactor"