<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCController/supportsHIDDevice(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCController(cm)supportsHIDDevice:"
  },
  "title" : "supportsHIDDevice(_:)"
}
-->

# supportsHIDDevice(_:)

Returns a Boolean value that indicates whether the framework supports the specified human interface device.

```
class func supportsHIDDevice(_ device: IOHIDDevice) -> Bool
```

## Parameters

`device`

A human interface input device.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the framework supports the device; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

If the Game Controller framework supports the input device, you can use the Game Controller APIs to interact with the device instead of the IOKit APIs.

---

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)