| Safe Haskell | None |
|---|
System.HIDAPI
Documentation
withHIDAPI :: IO a -> IO aSource
enumerate :: Maybe VendorID -> Maybe ProductID -> IO [DeviceInfo]Source
enumerateAll :: IO [DeviceInfo]Source
openPath :: DevicePath -> IO DeviceSource
openDeviceInfo :: DeviceInfo -> IO DeviceSource
data HIDAPIException Source
Constructors
| HIDAPIException String String |
Instances
| Data HIDAPIException | |
| Show HIDAPIException | |
| Typeable HIDAPIException | |
| Generic HIDAPIException | |
| NFData HIDAPIException | |
| Exception HIDAPIException |
data DeviceInfo Source
Constructors
| DeviceInfo | |
Fields
| |
Instances
| Show DeviceInfo | |
| Generic DeviceInfo | |
| NFData DeviceInfo |
type DevicePath = StringSource
type ReleaseNumber = Word16Source
type SerialNumber = StringSource
type InterfaceNumber = IntSource