Please, I need help on how I can be able to connect a controller and make it control my game. All this on Javascript.
Hello and welcome to the community !
The HTML5 gamepad API should help you with that.
1 Like
Uhmm, please, what is that, the HTML GAMEPAD IPA
I don’t know to much about it because I only started interest in it because I love gaming. I’m still trying to figure it out but its quite confusing for a beginner like me. sorry.
This is a picture of an gamepad:
You could for sure use other options like touchpad and motion.
I’m far from being a Professional programmer so I might very well be completely off mark about this.
https://www.google.com/search?q=what+is+the+html+gamepad+IPA+programming&safe=strict&sca_esv=562224050&sxsrf=AB5stBj53wwAaqNW60BXY6dHuokV0kXXaA%3A1693684973328&ei=7ZTzZLPSE72AhbIP6pW1-AE&ved=0ahUKEwjz_MiZ3IyBAxU9QEEAHepKDR8Q4dUDCA8&oq=what+is+the+html+gamepad+IPA+programming&gs_lp=Egxnd3Mtd2l6LXNlcnAiKHdoYXQgaXMgdGhlIGh0bWwgZ2FtZXBhZCBJUEEgcHJvZ3JhbW1pbmdIAFAAWABwAHgAkAEAmAEAoAEAqgEAuAEMyAEA4gMEGAAgQQ&sclient=gws-wiz-serp
Hope this helps.
MDN has some info as well.
1 Like
That’s right .
I wasn’t sure if I was allowed to post a direct link.
1 Like
Links to MDN are always allowed.
1 Like
Thanks, it was actually helpful. And am also a beginner
1 Like
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.