-
Notifications
You must be signed in to change notification settings - Fork 53
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
Comments
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 :) |
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 ***@***.***> 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 <#27 (comment)>, 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. |
I never got round to this, as I use BasiliskII. In an ideal world the emulator would have access to pressure sensitive data from the Apple Pencil (could use a Wacom driver, maybe?). I'd happily put 150EUR in the pot for this feature. Sorry to post this issue here but there are no issues on the macemu repo. |
I played around with this a bit but detecting the pencil's Bluetooth connection didn't seem useful in this scenario, as pencil remains connected even when it's not being used (I have first generation pencil and an iPad mini, and a folding cover that holds the pencil). |
Is that how the Pencil works on smaller iPads? On my iPad Pro I attach the pencil magnetically to the side of the device, so I guess it gets turned off at that point? What is the problem with it remaining connected? Are you anticipating that Pencil overrides touch? And then because it remains connected it prevents the user from interacting? Just so I understand the issue. I think a timeout is a reasonable thing to add for this, were you thinking about a configurable delay since last used? ps: with Pencil support I would use it alone, no use for my fat finger. I would also use the on-screen keyboard (a custom one I made) or an attached bluetooth keyboard alternative (for equivalent shortcut keys). My latest drawings at the bottom of this page: https://blog.gingerbeardman.com/2024/07/14/shibuya-pixel-art-contest-2024/ |
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. :)
The text was updated successfully, but these errors were encountered: