Problem with GamePad

Discussion and feedback on Construct 2

Post » Sun Jan 20, 2013 11:37 pm



Hello, I am developing a game with the gamepad option but to try the game in the browser chrome and firefox they do not recognize the gamepad me that I have connected to the PC.
What happens? Everything is OK and also e-tested with the gamepad SpaceBlaster and neither works.
Please help
Would like to know if someone tried this option in PS3 gamepad and see if it works.


I AM FROM SPAIN, AND TRANSLATED WITH GOOGLE TEXT.

THANK YOU
B
7
S
2
Posts: 177
Reputation: 1,484

Post » Sun Jan 20, 2013 11:39 pm

What gamepad are you using?
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Mon Jan 21, 2013 12:25 am

es un gamepad de USB normal para PC
B
7
S
2
Posts: 177
Reputation: 1,484

Post » Mon Jan 21, 2013 12:52 am

PS3 gamepads aren't widely supported because it's hard to get Windows drivers for them. Try an XBox 360 controller if you can get hold of one.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon Jan 21, 2013 1:33 am

@Ashley, didn't you know the difference bewteen DirectInput and XInput?

Xbox 360 uses Xinput should work with HTML5 API.

Otherwise DirectInput controllers won't work with HTML5 API, i think a theory if we could add DirectInput DLL for node could support all Controllers.
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638

Post » Mon Jan 21, 2013 3:34 am

What's wrong with DirectInput? Why would they just do Xinput? No wonder the gamepad API is so limited?
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Post » Mon Jan 21, 2013 3:58 am

There no Standard Gamepad API, according this http://code.google.com/p/chromium/issues/detail?id=110013
they closed this issue for some reason. The solution is purchase new controller with Xinput or find a software may emulate DirectInput to Xinput
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638

Post » Mon Jan 21, 2013 9:59 am

I didn't think it was to do with XInput or DirectInput, it's just you can't get Windows drivers for PS3 controllers so whichever API you're using can't understand the controller.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Mon Jan 21, 2013 10:44 am

I keep asking to them why generic USB controller doesn't work and they told us it was DirectInput issue.

You will get like 100 threads about Gamepad problem in the futureJoannesalfa2013-01-21 10:45:34
B
96
S
25
G
20
Posts: 3,052
Reputation: 22,638

Post » Tue Nov 05, 2013 1:59 am

I have a problem with dual gamepad configuration.
I've used the single gamepad and works fine, but when I add more event for dual gamepad, The Game won't detect any user input.
I'm using this kind of gamepad.
http://image.en.09635.com/2012-8/11/USB-Dual-Shock-Twin-Gamepad-STK-8032-426.jpg

can anybody help me fix this?.

more detail :
http://www.scirra.com/forum/topic79041_post468244.html
B
11
S
2
G
2
Posts: 62
Reputation: 2,153

Next

Return to Construct 2 General

Who is online

Users browsing this forum: BackendFreak, blackant, Mirlas, shinichild, TheRealDannyyy and 7 guests