Contents

keyUp(atPositionX:positionY:keyPressed:modifiers:forceUpdate:didHandle:at:)

Provides information when a key is released.

Declaration

func keyUp(atPositionX mousePositionX: Double, positionY mousePositionY: Double, keyPressed asciiKey: UInt16, modifiers: FxModifierKeys, forceUpdate: UnsafeMutablePointer<ObjCBool>!, didHandle: UnsafeMutablePointer<ObjCBool>!, at time: CMTime)

Parameters

  • mousePositionX:

    X position of the pointer (in ‘drawingCoordinates’ space).

  • mousePositionY:

    Y position of the pointer (in ‘drawingCoordinates’ space).

  • asciiKey:

    The ASCII representation of the key released.

  • modifiers:

    The keyboard modifiers currently pressed.

  • forceUpdate:

    Set to YES if the filter/generator associated with this control needs to be re-calculated; NO otherwise.

  • didHandle:

    Set to YES if the plug-in control performed an action because of the key release; otherwise, the event is passed back up the object tree.

  • time:

    The current time when the key release happened.

Mentioned in

Discussion

Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See the header file FxPlug/FxHostCapabilities.h.

See Also

Instance Methods