Contents

NSEvent.PressureBehavior.primaryAccelerator

A pressure gesture’s behavior begins on left mouse-down events. A maximum of one stage is supported, and a stage transition animation occurs when moving from stage 1 to stage 0. Actuations occur during the mouse-down and mouse-up events when this behavior is configured. This configuration uses specific pressure mappings that are ideal for controlling speed as variable pressure occurs between the mouse-down and mouse-up events. The Nsacceleratorbutton class uses this behavior. Note that the pressure gesture operates on a separate event stream from the mouse events.

Declaration

case primaryAccelerator

See Also

Constants