gore-and-ash-glfw: Core module for Gore&Ash engine for GLFW input events

[ bsd3, game, library ] [ Propose Tags ] [ Report a vulnerability ]

Please see README.md


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.1.0.0, 1.1.1.0, 1.1.2.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), deepseq (>=1.4), exceptions (>=0.8.0.2), extra (>=1.4.2), GLFW-b (>=1.4.7), gore-and-ash (>=1.1.0.1), hashable (>=1.2.3), mtl (>=2.2), transformers (>=0.4.2), unordered-containers (>=0.2.5) [details]
License BSD-3-Clause
Copyright 2015-2016 Anton Gushcha
Author Anton Gushcha
Maintainer ncrashed@gmail.com
Category Game
Home page https://github.com/Teaspot-Studio/gore-and-ash-glfw
Uploaded by NCrashed at 2016-11-19T16:50:44Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2378 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-19 [all 1 reports]

Readme for gore-and-ash-glfw-1.1.2.0

[back to package description]

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)