helm-0.1.0: A functionally reactive game engine.

Safe HaskellNone

FRP.Helm.Mouse

Synopsis

Documentation

position :: SignalGen (Signal (Int, Int))Source

The current mouse position.

x :: SignalGen (Signal Int)Source

The current x-coordinate of the mouse.

y :: SignalGen (Signal Int)Source

The current y-coordinate of the mouse.

isDown :: Mouse -> SignalGen (Signal Bool)Source

The current state of a certain mouse button. True if the mouse is down, false otherwise.