Pressure Data - Adonit/Adonit-iOS-SDK GitHub Wiki
Pressure information is conveyed through JotTouches. See Drawing Events and Palm Rejection for more information about how to use JotTouches.
The JotStylusManager also allows you to set a default pressure value through its unconnectedPressure property.
[[JotStylusManager sharedInstance] setUnconnectedPressure:1024];
The SDK will use this default pressure when reporting JotTouches in two primary instances:
- When a stylus that is not pressure sensitive (like Jot Script) is connected
- When palm rejection is off and the stylus is not on screen. An application may wish to do this to enable a ‘finger painting’ feature.