简体   繁体   English

是否可以使用触控板在Xcode中进行控制拖动并单击以单击?

[英]Is it possible to control-drag in Xcode with a trackpad and tap-to-click?

The interface builder in Xcode uses control-drag as a general gesture for wiring up outlets and object connections. Xcode中的界面生成器使用control-drag作为连接插座和对象连接的一般手势。 But as a tap-to-click user, I'd prefer to avoid having to activate the physical trackpad switch. 但是,作为点击用户,我宁愿避免激活物理触控板开关。 Has anyone figured out a way to make this work? 有没有人找到一种使这项工作可行的方法?

My normal drag gesture is three-finger-drag, but control-three-finger-drag doesn't activate the control-drag features in Xcode. 我的正常拖动手势是三指拖动,但是Control-三指拖动不会激活Xcode中的Control-拖动功能。 Nor have I been able to make it work by experimenting with other combos in Xcode. 我也无法通过在Xcode中尝试其他组合来使其工作。

The control-drag gesture does work just fine if you use the physical switch. 如果使用物理开关,则按住Control的拖动手势确实可以正常工作。

My trackpad configuration is simple: every checkbox in the Trackpad preferences is checked. 我的触控板配置很简单:选中了“触控板”首选项中的每个复选框。

check out this app 看看这个程序

one of the screen shots shows you can 'ctrl left click', which you can apply to a '3 finger tap' for example. 屏幕截图之一显示您可以“按住Ctrl左键单击”,例如,可以将其应用于“三指点击”。 It should be as simple as 3 finger tapping, holding, and dragging to make a connection. 它应该像用三根手指轻敲,按住和拖动以建立连接一样简单。

Hope that works! 希望有效!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM