Safe Haskell | None |
---|
FRP.Helm.Mouse
Contents
Description
Contains signals that sample input from the mouse.
Types
A data structure describing a button on a mouse.
Constructors
LeftMouse | |
MiddleMouse | |
RightMouse | |
X1Mouse | |
X2Mouse |
Position
Mouse State
The current state of the left mouse-button. True when the button is down, and false otherwise.
isDownButton :: Mouse -> Signal BoolSource
The current state of a given mouse button. True if down, false otherwise.