kmonad-0.4.1: Advanced keyboard remapping utility

Copyright(c) David Janssen 2019
LicenseMIT
Maintainerjanssen.dhj@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

KMonad.Keyboard.IO.Linux.UinputSink

Description

 
Synopsis

Documentation

data UinputSink Source #

UinputSink is an MVar to a filehandle

data UinputCfg Source #

Configuration of the Uinput keyboard to instantiate

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 #

postInit :: HasUinputCfg c => Lens' c (Maybe String) Source #

uinputSink :: HasLogFunc e => UinputCfg -> RIO e (Acquire KeySink) Source #

Return a new uinput KeySink with extra options

defUinputCfg :: UinputCfg Source #

Default Uinput configuration