Support ToolType in the TouchInfo
Adding ToolType support that can distinguish Stylus Pen, Eraser, Mouse, or Finger can be helpful for drawing.
For Android: https://developer.android.com/reference/android/view/MotionEvent#getToolType(int) For IOS: https://developer.apple.com/documentation/uikit/uitouch/touchtype
https://github.com/Shopify/react-native-skia/issues/735#tasklist-block-7f95f052-694f-4841-8213-461ec65a5470
Interesting, thanks for the tip!
Remember that PRs are always welcome, so if you want we'd be happy to consider merging this feature.
@chrfalch I wish! I tried to implement it by myself and follow the code, but I got lost in the native code 😞
@chrfalch Are we going to add the suggested feature? I didn't find the option to detect stylus touch in the latest release (0.1.176). I'm developing a writing application and want to restrict it to a stylus. Please help. Thanks