Module

FRP.Poll.Keyboard

Package
purescript-hyrule
Repository
mikesol/purescript-hyrule

#keys Source

keys :: Keyboard -> Poll (Set String)

A Poll which reports the keys which are currently pressed.

#key Source

key :: Keyboard -> String -> Poll Boolean

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