úÎDéB‡(      !"#$%&'9Utility functions used but not exported by netwire-input.(c) Bradley Hardy, 2015MITKrajcevski@gmail.com experimentalPOSIXNoneÝ(©Take an wire that produces an arbitrary event, and change the contents of those events to instead be the same as the input value at the time of the event's occurrence.(3Common wires to be used to support input in netwire(c) Pavel Krajcevski, 2014MITKrajcevski@gmail.com experimentalPOSIXNone6>?AA:!?This monad describes computations that involve keyboard input. 2Returns true if the given key is currently pressed*Resets the pressed state of the given key.]Key typeclass. This is used to constrain the type of Monad used | to provide keyboard input.<This monad describes computations that involve mouse input. ƒSets the cursor mode for all subsequent computations. Note, that many | implementations require some sort of "poll" to read the IO1Returns true if the given mouse button is pressed,Resets the pressed state of the mouse buttonGet the current cursor location :Get the amount of scrolling done in the x and y directions ~The mouse cursor mode. This mode is usually dependent on whether or not the mouse is in the bounds of the application window. The mouse cursor is disabled -Reset the cursor to zero between computations 4The mouse cursor is hidden when over the application<The mouse cursor is enabed and visible over the applicationcMouse button typeclass. This is used to constrain the type of Monad used | to provide mouse input.›Ignores its input and returns the current normalized mouse coordinates. Regardless of window size, each of the returned coordinates will be in the range [-1, 1]. Depends: nowInhibits: neverHReturns the change in mouse coordinates between subsequent time instantsDepends: before nowInhibits: never’The mouse mickies are the offset from zero at each time instant. If this wire is being used, then it is assuming that the cursor mode is set to   Depends: nowInhibits: neverWBehaves like the identity wire when the mouse button is pressed and inhibits otherwise.Inhibits: when the mouse button is not pressedIgnores its input and returns )( whenever the mouse button is pressed, * otherwise.Inhibits: neveréBehaves like the identity wire for a signle instant when the mouse button is pressed and otherwise inhibits. Note that this wire causing the button to be treated as released by all other wires after the instant when it is pressed.9Depends: the instant at which the mouse button is pressedKInhibits: when the mouse button is not pressed or after it has been pressedVFires an event the instant the given mouse button is pressed after not being pressed.Inhibits: neverSFires an event the instant the given mouse button is released after being pressed.Inhibits: never>The mouse scroll is the offset from zero at each time instant. Depends: nowInhibits: neverJThe amount that the mouse has scrolled over the course of the entire wire. Depends: nowInhibits: never›Behaves like the identity wire, and inhibits immediately after setting the cursor mode. Common uses of this wire are to switch it to the identity wire: - cursorMode CursorMode'Disabled --> mkId Inhibits: after nowNBehaves like the identity wire when the key is pressed and inhibits otherwise%Inhibits: when the key is not pressedRBehaves like the identity wire when the key is not pressed and inhibits otherwise!Inhibits: when the key is pressedIgnores its input and returns ) whenever the key is pressed, * otherwise.Inhibits: neverÜBehaves like the identity wire for a single instant when the key is pressed and otherwise inhibits. Note that this wire causes the key to be treated as released by all other wires after the instant when it is pressed.BInhibits: when the key is not pressed or after it has been pressedLFires an event the instant the given key is pressed after not being pressed.Inhibits: never IFires an event the instant the given key is released after being pressed.Inhibits: never!    " !    +      !"#$%&'()*+,-.,-/0*netwire-input-0.0.7-F5znPKDZf0W9ZTHt28JzamFRP.Netwire.InputFRP.Netwire.Input.Util MonadKeyboard keyIsPressed releaseKeyKey MonadMouse setCursorMode mbIsPressed releaseButtoncursorscroll CursorModeCursorMode'DisabledCursorMode'ResetCursorMode'HiddenCursorMode'Enabled MouseButton mouseCursor mouseDelta mouseMickies mousePressedisMousePressedmouseDebouncedmousePressedEventmouseReleasedEvent mouseScroll mouseScrolled cursorMode keyPressed keyNotPressed isKeyPressed keyDebouncedkeyPressedEventkeyReleasedEvent$fNFDataCursorMode$fOrdCursorMode$fEnumCursorMode$fEqCursorMode$fShowCursorMode$fReadCursorMode$fGenericCursorMode eventToIdghc-prim GHC.TypesTrueFalse