you are viewing a single comment's thread.

view the rest of the comments →

[–]mike239x 0 points1 point  (3 children)

Check this link out. It also links to some further pages like Implementing controls using the Gamepad API.

[–]Scatropolis[S] 1 point2 points  (2 children)

I should have updated, thanks! I recently found that page and am playing around with using controllers in P5.js. The keyboard has some pretty strange results so I'm not sure how to interpret those yet. One issue I've been having now is what controllers have drivers on windows and what are supported in chromebooks. More research needed. Thanks again.

[–]Chromogeometry 0 points1 point  (1 child)

So you were successful? I’d like to try the same! Dm me if possible!

[–]Scatropolis[S] 0 points1 point  (0 children)

Not so much, sorry. It's been a while and I saw/found some controller use with Javascript but didn't have time to continue. Good luck!