minivmac4ios
minivmac4ios copied to clipboard
Apple Pencil support
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. :)
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
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?
That's exactly what I was thinking. The values that I provided probably need a bit of tweaking as well, I noticed a little bit of glitchiness while drawing with it last night.
On May 31, 2018, at 5:38 PM, Jesús A. Álvarez [email protected] wrote:
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?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zydeco/minivmac4ios/issues/27#issuecomment-393688972, or mute the thread https://github.com/notifications/unsubscribe-auth/AH-n7ORErC9CFGP0BlhZHwKbwWuQe97zks5t4GLPgaJpZM4UM0gz.
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.