-
-
Notifications
You must be signed in to change notification settings - Fork 980
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 #713
Comments
In React Native Skia, we are encouraging people to use gesture-handler whenever possible. With a Skia Canvas, knowing the touch type information seems to be quite relevant. |
Adding my support for this feature. Knowing whether the touch is a finger or stylus would be immediately valuable to several of my projects. |
@laffan have you added the support for apple pencil? |
Hi @robertherber! I know it's been a while, but the time has come! Support for stylus and You can find it in these PRs:
And read about it in docs: |
@m-bert Amazing news! Although I don't have a use case for it right now I'm looking forward to the opportunity to try this out, truly an enabling feature! 🙂👍 |
@m-bert Why is |
Hi @NiuGuohui! We've decided that |
I have a scenario here: I am implementing a drawing program where only a pencil can be used for drawing. However, if the user only clicks with the pen (expecting to draw a point), we cannot receive pen data because the Pan event cannot be triggered. |
@NiuGuohui Okay, i see. I think that setting |
Thank you very much!This method really works effectively! |
It would be great if support was added for Apple Pencil. I imagine basic support could be easily added through just reporting back the UITouch.TouchType of the touch. This would allow for discerning between finger and pencil touches (and so trigger separate actions).
The text was updated successfully, but these errors were encountered: