Contents

GCMouseDidBecomeCurrent

A notification that posts when a mouse becomes the most recent mouse that the user connects.

Declaration

static let GCMouseDidBecomeCurrent: NSNotification.Name

Discussion

The notification object is a GCMouse object that represents the current mouse. For example, set the mouse input change handlers when you receive this notification.

The system posts this notification on the main actor.

See Also

Game Controller