helm-0.1.0: A functionally reactive game engine.
FRP.Helm.Mouse
Synopsis
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.
data Mouse Source
Constructors