spice-0.1.2.1: An FRP-based game engine written in Haskell.

Safe HaskellNone
LanguageHaskell2010

FRP.Spice.Input.MousePosition

Description

The mouse (position) specific section of input.

Synopsis

Documentation

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.