Module

FRP.Poll.Mouse

Package
purescript-hyrule
Repository
mikesol/purescript-hyrule

#position Source

position :: Mouse -> Poll (Maybe { x :: Int, y :: Int })

A Poll which reports the current mouse position, if it is known.

#buttons Source

buttons :: Mouse -> Poll (Set Int)

A Poll which reports the mouse buttons which are currently pressed.