Contents

shiftKeyStateChanged(fromState:toState:)

Indicates a transition in the state of the Shift key.

Declaration

func shiftKeyStateChanged(fromState oldState: BEKeyModifierFlags, toState newState: BEKeyModifierFlags)

Parameters

  • oldState:

    The previous state of the Shift key.

  • newState:

    The new state of the Shift key.

Mentioned in

Discussion

The system invokes this method when a person presses or releases the Shift key, or toggles the Caps Lock key.