Copyright | (c) 2018 Francisco Vallarino |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | fjvallarino@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Lenses for the Event types.
Documentation
class HasButtons s a | s -> a where Source #
Instances
HasButtons InputStatus (Map Button ButtonState) Source # | |
Defined in Monomer.Event.Lens |
class HasKeyMod s a | s -> a where Source #
Instances
HasKeyMod InputStatus KeyMod Source # | |
Defined in Monomer.Event.Lens |
class HasMousePos s a | s -> a where Source #
Instances
HasMousePos InputStatus Point Source # | |
Defined in Monomer.Event.Lens |
class HasMousePosPrev s a | s -> a where Source #
mousePosPrev :: Lens' s a Source #
Instances
HasMousePosPrev InputStatus Point Source # | |
Defined in Monomer.Event.Lens |
class HasCapsLock s a | s -> a where Source #
class HasLeftAlt s a | s -> a where Source #
class HasLeftCtrl s a | s -> a where Source #
class HasLeftGUI s a | s -> a where Source #
class HasLeftShift s a | s -> a where Source #
class HasNumLock s a | s -> a where Source #
class HasRightAlt s a | s -> a where Source #
class HasRightCtrl s a | s -> a where Source #
class HasRightGUI s a | s -> a where Source #
class HasRightShift s a | s -> a where Source #
rightShift :: Lens' s a Source #
Instances
HasRightShift KeyMod Bool Source # | |
Defined in Monomer.Event.Lens |