GithubHelp home page GithubHelp logo

sorke / pointerkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from louisdh/pointerkit

0.0 1.0 0.0 41.63 MB

A proof of concept framework to use a pointing device on iOS

C 57.57% Objective-C 38.12% Swift 4.32%

pointerkit's Introduction

PointerKit

PanelKit for iOS
A Magic Mouse connected to an iPad running Pixure with PanelKit.
(High res video)

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()
}

pointerkit's People

Contributors

louisdh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.