Description
Core module for Gore&Ash engine for GLFW input events.
Description
Please see README.md
README.md
gore-and-ash-glfw
The module provides events for GLFW input for Gore&Ash engine.
Installing
Add following to your stack.yml
to packages
section:
- location:
git: https://github.com/Teaspot-Studio/gore-and-ash-glfw.git
commit: <PLACE HERE FULL HASH OF LAST COMMIT>
When defining you application stack, add GLFWT
:
type AppStack = ModuleStack [GLFWT, ... other modules ... ] IO
And derive MonadGLFWInput
for your resulting AppMonad
:
newtype AppMonad a = AppMonad (AppStack a)
deriving (Functor, Applicative, Monad, MonadFix, MonadIO, MonadGLFWInput)