Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

shoshinsha, hello and sorry for the late reply!

I hope that I understood your question correctly. In order to integrate Elm with keyboard events, you need to use Browser Events and write a decoder from the event to your message type. So, if you want to handle arrow keys, the following decoder should work well for games

Let me know if this was helpful or if you have any further questions!

hi unsoundscapes and sorry for the delay in replying.

Thank you. I would like to develop with these in mind.

I will ask questions again when I come across something I don't understand.