PointerKit 在iOS上使用指点设备的概念框架证明

网友投稿 598 2022-10-31

PointerKit 在iOS上使用指点设备的概念框架证明

PointerKit 在iOS上使用指点设备的概念框架证明

PointerKit

About

PointerKit is a proof of concept framework to use a pointing device on iOS. This is done via a multipeer connection between a Mac and an iOS device. The pointer movement is captured by the Mac app, after which it's send to the receiving iOS device (over Bluetooth or Wi-Fi).

This project uses PTFakeTouch for faking touches.

Implementing

If you're an app developer, you can add mouse support by compiling and including the PointerKit framework (from RemotePointer.xcworkspace) and adding a couple lines of code to your project:

var manager: PointerManager!override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) manager = PointerManager(with: self, in: UIApplication.shared.keyWindow!) manager.showConnector()}

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:解决springboot项目打成jar包后运行时碰到的小坑
下一篇:打字是个技术活,一周学会盲打
相关文章

 发表评论

暂时没有评论,来抢沙发吧~