Why Nostr? What is Njump?
2024-02-17 21:19:04

NoStranger on Nostr: This week I did some changes to the gamepad web-component library, It now supports ...

This week I did some changes to the gamepad web-component library, It now supports mouse and keyboard inputs.

Everything can be configured and defined declaratively in HTML, you can then use the element directly in code to read its inputs or just listen the the events triggered as you interact with it.

Here's an example or a common gamepad layout and its respective code.

I'll be publishing the code by next week.





#screenshotsaturday #gamedev #webdev #webcomponents #showmethecode #wip
Author Public Key
npub1qy6fkwth0472px6x00rznvfh9edu64my0ygg58pwf0059qvwjs4safrzcw