Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple Pencil support #27

Open
vaporstack opened this issue May 24, 2018 · 4 comments
Open

Apple Pencil support #27

vaporstack opened this issue May 24, 2018 · 4 comments

Comments

@vaporstack
Copy link

Hey, it would be great to have pencil support integrated into the main branch at some point. I still use HyperCard for lifedrawing. I implemented detection in my fork, https://github.com/vaporstack/minivmac4ios

but it is a limited implementation. Basically all I do is check the bluetooth stack for a pencil, (PencilDetector.c from SO) and if it's present, ignore all non pencil touches, which most users probably don't want (but I do!)

However I couldn't figure out how to add a user toggle for it. I think this is a highly specific feature that should probably be opt-in either via settings or a pop up dialog box (or both).

Many thanks for your excellent work. :)

@vaporstack
Copy link
Author

I should specify that I'm not ignoring all touches on the app level - just in TouchScreen.m. The other gestures and stuff work fine :3

@zydeco
Copy link
Owner

zydeco commented May 31, 2018

This sounds great, can't wait to borrow some hardware to try it :)
Maybe if there's a pencil detected, there could be a third mouse option "Pencil only" that enables this behaviour?

@vaporstack
Copy link
Author

vaporstack commented May 31, 2018 via email

@gingerbeardman
Copy link

If it's OK I'll take a look at this.

I have an iPad Pro with Pencil and a desire for it to ignore my palm!

If there's no problem, I'll file a PR soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants