hidapi-0.1.4: Haskell bindings to HIDAPI

Safe HaskellSafe
LanguageHaskell98

System.HIDAPI

Documentation

init :: IO () #

exit :: IO () #

withHIDAPI :: IO a -> IO a #

close :: Device -> IO () #

data HIDAPIException #

Instances

Data HIDAPIException # 

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 # 
Generic HIDAPIException # 
Exception HIDAPIException # 
NFData HIDAPIException # 

Methods

rnf :: HIDAPIException -> () #

type Rep HIDAPIException # 
type Rep HIDAPIException = D1 (MetaData "HIDAPIException" "System.HIDAPI" "hidapi-0.1.4-CvUICrEnM5s4kyxJSPm3l6" False) (C1 (MetaCons "HIDAPIException" PrefixI False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))

data Device #

data DeviceInfo #

Instances

Show DeviceInfo # 
Generic DeviceInfo # 

Associated Types

type Rep DeviceInfo :: * -> * #

NFData DeviceInfo # 

Methods

rnf :: DeviceInfo -> () #

type Rep DeviceInfo #