Picade and HTML 5 Games


#1

Would it be possible to play an HTML 5 game (in a browser) on the Picade. If I install Raspbian on my Picade, would I be able to configure the joystick and buttons to work like a keyboard?
My students have created games using an App called Bloxels. On their website http://home.bloxelsbuilder.com/index.html at the bottom kids can play games that were shared to their servers from their iPads.
We have a Maker Faire coming up and I would like for the kids to be able to share their games in a cool way on the Picade.

Thanks


#2

By default the joystick and buttons already work like a keyboard. Depending on what version of Picade you’re using, there are different ways to configure which keyboard keys they pretend to be.

If the HTML5 games work with a regular keyboard, then they should work with Picade.

For Picade HAT/Picade X HAT the key rebinding is documented in the README here: https://github.com/pimoroni/picade-hat

And keycodes are listed here: https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h


#3

Thanks I will give it a shot!!