Name

kOfxInteractPropPenPressure — The pressure of the pen in an interact.

Synopsis

#include "/ofxInteract.h"
#define kOfxInteractPropPenPressure "OfxInteractPropPenPressure"

Type

kOfxInteractPropPenPressure is of type double, and has only a single dimension.

Property Set

This is a property that belongs to the read only in argument to the kOfxInteractActionPenMotion, kOfxInteractActionPenDown and kOfxInteractActionPenUp actions.

Valid Values

from 0 (no pressure) to 1 (maximum pressure)

Description

The pressure of the pen in an interact.

This is used to indicate the status of the 'pen' in an interact. If a pen has only two states (eg: a mouse button), these should map to 0.0 and 1.0.