I'm trying to work with gamepads, so I'd like to start by listing all the HIDs connected to my machine.
Apple's documentation has code samples which no longer work, so I thought I'd recreate it.
Following that documentation, I've attempted to create an IOHIDManager, but it does not autocomplete in and I get the error "Use of Unresolved Identifier".
import IOKit
//...
let x = IOHIDManager // does not exist
Is it possible to list HIDs using Swift, or must I write these portions in Obj-C?