Skip to content

Pressure Data

Jonathan Arbogast edited this page Mar 23, 2015 · 1 revision

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:

  1. When a stylus that is not pressure sensitive (like Jot Script) is connected
  2. 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.