Copyright | (c) David Janssen 2019 |
---|---|
License | MIT |
Maintainer | janssen.dhj@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data UinputSink
- data UinputCfg = UinputCfg {
- _vendorCode :: !CInt
- _productCode :: !CInt
- _productVersion :: !CInt
- _keyboardName :: !String
- _postInit :: !(Maybe String)
- keyboardName :: HasUinputCfg c => Lens' c String
- vendorCode :: HasUinputCfg c => Lens' c CInt
- productCode :: HasUinputCfg c => Lens' c CInt
- productVersion :: HasUinputCfg c => Lens' c CInt
- postInit :: HasUinputCfg c => Lens' c (Maybe String)
- uinputSink :: HasLogFunc e => UinputCfg -> RIO e (Acquire KeySink)
- defUinputCfg :: UinputCfg
Documentation
data UinputSink Source #
UinputSink is an MVar to a filehandle
Configuration of the Uinput keyboard to instantiate
UinputCfg | |
|
keyboardName :: HasUinputCfg c => Lens' c String Source #
vendorCode :: HasUinputCfg c => Lens' c CInt Source #
productCode :: HasUinputCfg c => Lens' c CInt Source #
productVersion :: HasUinputCfg c => Lens' c CInt Source #
uinputSink :: HasLogFunc e => UinputCfg -> RIO e (Acquire KeySink) Source #
Return a new uinput KeySink
with extra options
defUinputCfg :: UinputCfg Source #
Default Uinput configuration