Module

FRP.Behavior.Keyboard

Package
purescript-behaviors
Repository
paf31/purescript-behaviors

#keys Source

keys :: Keyboard -> Behavior (Set String)

A Behavior which reports the keys which are currently pressed.

#key Source

key :: Keyboard -> String -> Behavior Boolean

A Behavior which reports whether a specific key is currently pressed.