---
title: "init(identifier:)"
framework: gamecontroller
role: symbol
role_heading: Initializer
path: "gamecontroller/gcdevicetype/init(identifier:)"
---

# init(identifier:)

Create a device type for an identifier.

## Declaration

```swift
convenience init?(identifier: String)
```

## Discussion

Discussion This initializer returns nil if the system doesn’t know the device type for \a identifier.
