-
Notifications
You must be signed in to change notification settings - Fork 28
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:
- 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.
Copyright (c) 2021 Adonit. All rights reserved.