Module

Graphics.Glapple.Hooks.UseKeyEvent

Package
purescript-glappleDEPRECATED
Repository
yukikurage/purescript-glapple

#useKeyEvent Source

useKeyEvent :: forall sprite. (KeyEvent -> Effect Unit) -> Hooks sprite Unit

A key event hook. If you want to get state of specific key, use 'useKeyState' hook.