software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.03k stars 971 forks source link

Apple Pencil Support #713

Open robertherber opened 5 years ago

robertherber commented 5 years ago

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).

wcandillon commented 1 year ago

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.

laffan commented 10 months ago

Adding my support for this feature. Knowing whether the touch is a finger or stylus would be immediately valuable to several of my projects.

rksangani commented 7 months ago

@laffan have you added the support for apple pencil?