• This repository has been archived on 13/Feb/2019
  • Stars
    star
    170
  • Rank 223,357 (Top 5 %)
  • Language
    Objective-C
  • Created over 7 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

panelkit

A UI framework that enables panels on iOS.
Swift
3,800
star
2

openterm

OpenTerm, a sandboxed command line interface for iOS
Swift
1,614
star
3

savannakit

A high-performance, protocol oriented, framework for creating native IDEs for iOS and macOS, written in Swift
Swift
870
star
4

source-editor

A native source editor for iOS and macOS, written in Swift
Swift
740
star
5

textor

A plain text editor for iOS
Swift
587
star
6

cub

The Cub Programming Language
Swift
220
star
7

huekit

A UI framework for iOS that provides components and utilities for building color pickers.
Swift
208
star
8

lioness

The Lioness Programming Language
Swift
167
star
9

bezierpath-polygons

Adds a convenience initalizer to UIBezierPath for generating n-sided regular polygon paths – with rounded corners support – in Swift!
Swift
156
star
10

bezierpath-length

A simple API to get the length of a CGPath, UIBezierPath or NSBezierPath, written in Swift.
Swift
85
star
11

savanna

A native iOS & macOS IDE for the Cub programming language
Swift
73
star
12

icns2png

A Swift command line script that converts .icns files to .png files at various sizes
Swift
34
star
13

microcontroller-kit

Value types, operators and functions for tinkering with microcontrollers in software.
Swift
20
star
14

KeyCommandAlertController

UIAlertController wrapper to add keyboard shortcuts easily
Swift
19
star
15

markdown-table-gen

A script that generates a Markdown table from an array of strings for a given number of columns
Swift
17
star
16

java-class-quick-look

Quick Look plugin to display Java class files as bytecode
C
12
star
17

silverfox-gen

Generator for the static content of silverfox.be
Swift
9
star
18

sierpinski-curve-swift

Generates a SierpiΕ„ski curve using a turtle mechanism in Swift.
Swift
9
star
19

cmd-almanac

A list of commands I frequently use
6
star
20

panelkit-handle-view

IBDesignables to play around with corner radii of the resize handles in PanelKit.
Swift
5
star
21

openterm-scripts-library

Example scripts for OpenTerm, written in Cub
Swift
4
star
22

cub-guide

A guide for the Cub programming language
HTML
3
star
23

sniper

A basic 2D physics engine written in C#
C#
1
star
24

subnet-manager-java

A subnet manager written in Java (college assignment)
Java
1
star
25

silverfox-site

The HTML, CSS & JavaScript of silverfox.be
JavaScript
1
star
26

silverfox-news

The news items of silverfox.be
1
star