spice-0.1.2.1: An FRP-based game engine written in Haskell.
FRP.Spice.Input.MousePosition
Description
The mouse (position) specific section of input.
Synopsis
externals :: IO (Signal (Vector Float), Vector Float -> IO ()) Source
Creating the external for the mouse position.
signals :: (Signal (Vector Float), Vector Float -> IO ()) -> Signal (Vector Float) Source
Getting the signal from the mouse position external.
sinks :: (Signal (Vector Float), Vector Float -> IO ()) -> Vector Float -> IO () Source
Getting the sink from the mouse position external.