Monad transformer over xhb-monad for keeping track of key, mod, and pointer mappings
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Graphics/XHB
doc @ 291166b
tests
.gitmodules
LICENSE
README.md
default.nix
shell.nix
update_doc
xhb-mapping-state.cabal

README.md

xhb-mapping-state

This package provides a monad transformer over MonadX that keeps track of modifier, key, and button mappings within the X server. At its core is the following typeclass:

class Monad m => MappingCtx m where
    getMapping :: m MappingState
    updateMapping :: MappingNotifyEvent -> m ()

Documentation

This article describes this package and some of its friends in detail.

Haddock can be found here.