NWjs doesn't notice the gamepad even if windows does.

Discussion and feedback on Construct 2

Post » Mon Aug 29, 2016 6:11 pm

So I'm just checking if anyone's run into this problem. About 10 % of PCs playing my game doesn't register the gamepad, even if Windows reads it just fine. It's a 360 controller. Doesn't matter what button's pressed. Any tips of guranteeing the gamepad will work?

Thanks.
B
37
S
10
Posts: 393
Reputation: 3,364

Post » Mon Aug 29, 2016 10:10 pm

Image ImageImage
B
173
S
50
G
195
Posts: 8,572
Reputation: 121,880

Post » Mon Aug 29, 2016 10:11 pm

Tinimations wrote:So I'm just checking if anyone's run into this problem. About 10 % of PCs playing my game doesn't register the gamepad, even if Windows reads it just fine. It's a 360 controller. Doesn't matter what button's pressed. Any tips of guranteeing the gamepad will work?

Thanks.


What NW.js are you using? I had the same problem with NW10.5 but now on NW14 it works like a charm again :)

Before the controller had to be connected before the game was started otherwise it would never be recognized but now with later versions of NW it doesn't matter and you can connect it whenever you want.
B
61
S
26
G
16
Posts: 802
Reputation: 14,495

Post » Mon Aug 29, 2016 11:02 pm

newt wrote:http://joytokey.net/en/

Ew. It's almost 2017 man full gamepad support should be a given by now.

Anyway I haven't heard of this problem until now. Maybe something to do with drivers?
Image
B
248
S
30
G
13
Posts: 1,794
Reputation: 18,909

Post » Tue Aug 30, 2016 6:22 am

Like @Anonnymitet said, I don't have any problems with gamepads after NWJS update to 14.0
B
36
S
18
G
11
Posts: 248
Reputation: 8,694

Post » Tue Aug 30, 2016 11:42 am

This was reported on NWjs 14 so that's definately strange.
B
37
S
10
Posts: 393
Reputation: 3,364

Post » Tue Aug 30, 2016 4:12 pm

@Tinimations
Have you asked your tester if the gamepad registers in browsers? (registering in windows does not mean much, a lot of stuff that runs in windows seems to be ignored by the browser gamepad API).
B
81
S
29
G
32
Posts: 484
Reputation: 19,974

Post » Tue Aug 30, 2016 8:48 pm

Note: DirectX have to be installed on the client computer if you want the gamepad works with nw.js (from dxwebsetpup.exe in the exported folder)
Image Image
B
27
S
16
G
153
Posts: 887
Reputation: 79,702


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests