<!--
{
  "documentType" : "article",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/letting-players-use-their-second-generation-siri-remote-as-a-game-controller",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Letting players use their second-generation Siri Remote as a game controller"
}
-->

# Letting players use their second-generation Siri Remote as a game controller

Support the second-generation Siri Remote as a game controller in your Apple TV game.

## Discussion

To add support for the second-generation Siri Remote in your Apple TV game, you make a few changes to your Xcode project and code.

### Configure your project

First configure your Xcode project to handle directional gamepads and multiple micro gamepads.

On the Signing & Capabilities tab in the project editor, add the Game Controllers capability to your project and check Directional Gamepad under Game Controllers. For more information, see <doc://com.apple.documentation/documentation/Xcode/configuring-game-controllers>.

On the Info tab, add the <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/GCSupportsMultipleMicroGamepads> key and set the value to `YES`. For more information, see <doc://com.apple.documentation/documentation/BundleResources/managing-your-app-s-information-property-list>.

### Handle multiple micro gamepads

In your code, handle multiple micro gamepad connections. When a game controller connects, check if the controller is a directional gamepad using the <doc://com.apple.documentation/documentation/ObjectiveC/NSObjectProtocol/isKind(of:)> method:

```swift
if controller.microGamepad isKind(of: GCDirectionalGamepad.class) {
   ...
}
```

Check if the device category is second-generation Siri Remote using the [`productCategory`](/documentation/GameController/GCDevice/productCategory) property:

```swift
if device.productCategory == GCProductCategorySiriRemote2ndGen {
   ...
}
```

If these conditions are true, you can use the connected second-generation Siri Remote as a game controller.

### Access the remote buttons and directional pad

To access the center button of the second-generation Siri Remote, use the [`buttons`](/documentation/GameController/GCDevicePhysicalInputState/buttons-3257g) property:

```swift
controller.physicalInputProfile.buttons[GCInputDirectionalCenterButton]
```

Then to access the directional pad, use the [`dpads`](/documentation/GameController/GCDevicePhysicalInputState/dpads-5yr9x) property:

```swift
controller.physicalInputProfile.dpads[GCInputDirectionalCardinalDpad]
```

If your game requires an analog touch surface, check whether the directional pad is digital using the [`isAnalog`](/documentation/GameController/GCControllerElement/isAnalog) property:

```swift
if physicalInputProfile.dpads[GCInputDirectionalDpad].isAnalog == false
```

For example, the Universal Electronic remote that works with Apple TV is a directional gamepad but with physical non-analog buttons.

---

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)