Module

FRP.Behavior.Keyboard

Package
purescript-hyrule
Repository
mikesol/purescript-hyrule

#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.