---
title: GCKeyboardDidDisconnect
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsnotification/name-swift.struct/gckeyboarddiddisconnect
---

# GCKeyboardDidDisconnect

A notification that posts after a single keyboard, or the last of multiple keyboards, disconnects from the device.

## Declaration

```swift
static let GCKeyboardDidDisconnect: NSNotification.Name
```

## Discussion

Discussion The notification object is a GCKeyboard object that represents one or more keyboards. If the user connects multiple keyboards, the framework posts this notification only after the last keyboard disconnects from the device. The system posts this notification on the main actor.

## See Also

### Game Controller

- [GCControllerDidConnect](foundation/nsnotification/name-swift.struct/gccontrollerdidconnect.md)
- [GCControllerDidDisconnect](foundation/nsnotification/name-swift.struct/gccontrollerdiddisconnect.md)
- [GCControllerDidBecomeCurrent](foundation/nsnotification/name-swift.struct/gccontrollerdidbecomecurrent.md)
- [GCControllerDidStopBeingCurrent](foundation/nsnotification/name-swift.struct/gccontrollerdidstopbeingcurrent.md)
- [GCControllerUserCustomizationsDidChange](foundation/nsnotification/name-swift.struct/gccontrollerusercustomizationsdidchange.md)
- [GCKeyboardDidConnect](foundation/nsnotification/name-swift.struct/gckeyboarddidconnect.md)
- [GCMouseDidBecomeCurrent](foundation/nsnotification/name-swift.struct/gcmousedidbecomecurrent.md)
- [GCMouseDidConnect](foundation/nsnotification/name-swift.struct/gcmousedidconnect.md)
- [GCMouseDidDisconnect](foundation/nsnotification/name-swift.struct/gcmousediddisconnect.md)
- [GCMouseDidStopBeingCurrent](foundation/nsnotification/name-swift.struct/gcmousedidstopbeingcurrent.md)
- [GCRacingWheelDidConnect](foundation/nsnotification/name-swift.struct/gcracingwheeldidconnect.md)
- [GCRacingWheelDidDisconnect](foundation/nsnotification/name-swift.struct/gcracingwheeldiddisconnect.md)
