hidapi-0.1.5: Haskell bindings to HIDAPI

Safe HaskellNone
LanguageHaskell98

System.HIDAPI

Documentation

init :: IO () Source #

exit :: IO () Source #

withHIDAPI :: IO a -> IO a Source #

getFeatureReport :: Device -> ReportID -> ReportLength -> IO FeatureReport Source #

data HIDAPIException Source #

Instances
Data HIDAPIException Source # 
Instance details

Defined in System.HIDAPI

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HIDAPIException -> c HIDAPIException #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HIDAPIException #

toConstr :: HIDAPIException -> Constr #

dataTypeOf :: HIDAPIException -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HIDAPIException) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HIDAPIException) #

gmapT :: (forall b. Data b => b -> b) -> HIDAPIException -> HIDAPIException #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HIDAPIException -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HIDAPIException -> r #

gmapQ :: (forall d. Data d => d -> u) -> HIDAPIException -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HIDAPIException -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HIDAPIException -> m HIDAPIException #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HIDAPIException -> m HIDAPIException #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HIDAPIException -> m HIDAPIException #

Show HIDAPIException Source # 
Instance details

Defined in System.HIDAPI

Generic HIDAPIException Source # 
Instance details

Defined in System.HIDAPI

Associated Types

type Rep HIDAPIException :: * -> * #

Exception HIDAPIException Source # 
Instance details

Defined in System.HIDAPI

NFData HIDAPIException Source # 
Instance details

Defined in System.HIDAPI

Methods

rnf :: HIDAPIException -> () #

type Rep HIDAPIException Source # 
Instance details

Defined in System.HIDAPI

data DeviceInfo Source #

Instances
Show DeviceInfo Source # 
Instance details

Defined in System.HIDAPI

Generic DeviceInfo Source # 
Instance details

Defined in System.HIDAPI

Associated Types

type Rep DeviceInfo :: * -> * #

NFData DeviceInfo Source # 
Instance details

Defined in System.HIDAPI

Methods

rnf :: DeviceInfo -> () #

type Rep DeviceInfo Source # 
Instance details

Defined in System.HIDAPI