These are chat archives for benas/gamehub.io

24th
Mar 2018
Ananthavijay
@Ananthavijay
Mar 24 2018 08:56
nah leave it
could u say how to add keyboard function for turning pages
Mahmoud Ben Hassine
@benas
Mar 24 2018 18:45
ow that's awesome! good work
I'm not sure how this relates to gamehub, but to answer your question about how to use keyboard to turn page, you may take a look at this page: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
You need to listen to keyboard events and react to them by calling the current code that turns the page with the mouse
Ananthavijay
@Ananthavijay
Mar 24 2018 18:47
oh thanks bro