<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZMacKeyboardConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZMacKeyboardConfiguration"
  },
  "title" : "VZMacKeyboardConfiguration"
}
-->

# VZMacKeyboardConfiguration

A device that defines the configuration for a Mac keyboard.

```
class VZMacKeyboardConfiguration
```

## Overview

Use this configuration to attach a Mac keyboard configuration to a VM. A [`VZVirtualMachineView`](/documentation/Virtualization/VZVirtualMachineView) can use this device to send key events to the VM, including the Mac-specific key events, such as the Globe key.

## Topics

### Creating a new Mac keyboard configuration

[`-  init`](/documentation/Virtualization/VZMacKeyboardConfiguration/init())

Creates a new Mac keyboard configuration.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`VZKeyboardConfiguration`](/documentation/Virtualization/VZKeyboardConfiguration)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)