| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
System.HIDAPI
Documentation
withHIDAPI :: IO a -> IO a Source #
enumerateAll :: IO [DeviceInfo] Source #
openDeviceInfo :: DeviceInfo -> IO Device Source #
getFeatureReport :: Device -> ReportID -> ReportLength -> IO FeatureReport Source #
sendFeatureReport :: Device -> ReportID -> ByteString -> IO Int Source #
data HIDAPIException Source #
Constructors
| HIDAPIException String String |
Instances
data DeviceInfo Source #
Constructors
| DeviceInfo | |
Fields | |
Instances
type DevicePath = String Source #
type ReleaseNumber = Word16 Source #
type SerialNumber = String Source #
type InterfaceNumber = Int Source #