Contents

init(pressureBehavior:)

Initializes a pressure configuration object with a specified pressure behavior.

Declaration

init(pressureBehavior: NSEvent.PressureBehavior)

Parameters

  • pressureBehavior:

    An NSPressureBehavior value that describes the behavior and progression for responding to pressure events.

Return Value

A new pressure configuration object of type NSPressureConfiguration that describes how pressure events behave and progress.

Discussion

The initialized pressure configuration object is used to change the behavior and progression of the trackpad when responding to a mouse drag or pressure event sequence.

See Also

Related Documentation

Creating a Pressure Configuration Object