rameshvarun / netplayjs

Make P2P multiplayer browser games, no server hosting or synchronization code required. Powered by rollback netcode + WebRTC.
https://rameshvarun.github.io/netplayjs/
ISC License
480 stars 34 forks source link

Gamepad support #79

Open jackwlee01 opened 1 year ago

jackwlee01 commented 1 year ago

I would really like support for the Gamepad API https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API.

Also, great library!!

rameshvarun commented 1 year ago

I'll look into adding this. Right now DefaultInput is missing a couple of things like clicks as well.