Giter VIP home page Giter VIP logo

ipadospointercontinuity's Introduction

iPadOSPointerContinuity

Demonstration of a macOS-like pointer (aka cursor) interaction for connected displays on iPad.
This app captures the iPadOS pointer and replaces it with a desktop-like cursor that can move to an external display, if connected.

Click the screenshot below to watch a very brief demo (YouTube).

Screenshot of Pointer Continuity on iPad. Links to a YouTube video of the app in action.

Note: there is a known issue #1 that prevents the custom cursor from appearing.
To work around this, just go to the home screen once and then open the app again if it doesn't work right away.
This issue does not exist when running from Xcode.

How to connect to a TV or external screen

On a real iOS device: use AirPlay Mirroring from Control Center or connect directly via a compatible adapter.

In the iOS Simulator: Click "I/O" in the menu bar, then choose any resolution under "External Displays".

A note on iPhone support

While this app technically works fine on iPhone, as of iOS 14.7 connecting any kind of mouse to iPhone is not officially supported by Apple. Please see this comment for more information.

ipadospointercontinuity's People

Contributors

conath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ipadospointercontinuity's Issues

Locking the cursor doesn't work on iPhone (iOS limitation?)

Wowww....this project really worked well on iPadOS + external screen Kudos to you :D

I changed the priorities to work also with iPhone but that didn't work do you have any "hack" to have this working with iPhone?

Thanks in advance!!!

GCMouseInput doesn’t call the mouseMovedHandler reliably

This means when not running from Xcode the mouse pointer won’t move until the app has been minimised and opened again. The whole thing seems like a race condition to me.
Maybe it can be worked around by waiting for a GCMouseDidBecomeCurrentNotification.

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.