DEV Community

Discussion on: Do you have a gamepad? Help me test a library!

Collapse
 
7twin profile image
7twin

I have an xbox 360 controller clone from speedlink, the buttons match all fine (except 16, because that launches the windows game control center) - the joysticks don't light up at all though.

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Thanks for testing! Which example did you try? Was it this one?

Collapse
 
7twin profile image
7twin

Interestingly enough: the one you linked works for joystick presses, but none of the joystick examples have the movement working.

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

Hmmm... I need to create a way to map the gamepads. I was able to test with an original PS3, and it works fine; but all the clones give me some type of trouble.

Thread Thread
 
7twin profile image
7twin

Maybe it would help to have just a key dump on screen, so lots of people could submit you what their controller sends to the browser? similar to how desktop mapping tools do it, not sure if that transfers over to web though.

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

I may need to do something like that. I followed the layout specified in the standard, but not all the gamepads follow it :-/