Gamepad plugin is broken in Chrome/Edge/IE/NWjs

Bugs will be moved here once resolved.

Post » Sat Oct 08, 2016 7:13 pm

Problem Description
The gamepad is broken - no control inputs are registering in Chrome and NWjs (my primary export options).

Attach a Capx
capx

Description of Capx
A text object displays the gamepad inputs.

Steps to Reproduce Bug
  • Run the layout and press Xbox360 buttons

Observed Result
In Chrome Version 53.0.2785.143 m, IE and Edge, nothing is observed. This also does not work in NWjs v17.0. However, this test does work in Firefox and my Xbox360 controller works in Chrome when testing via http://html5gamepad.com/.

Expected Result
Inputs should be detected in all browsers.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (NO)
  • Internet Explorer: (YES)
  • Edge: (YES)
  • NWjs: (YES)

Operating System and Service Pack
W10 x64

Construct 2 Version ID
r237 64 bit
A big fan of JavaScript. Image Image Image
B
76
S
20
G
86
Posts: 2,357
Reputation: 52,708

Post » Mon Oct 10, 2016 5:27 pm

If you've installed Win 10 Anniversary Edition, try manually uninstalling ALL of your gamepad drivers, and re-installing older versions (2009 for XB360, 2014 for XB1). The Anniversary update completely broke controller support in Windows 10 and Microsoft has yet to fix it. This issue also affects Unity/Steam/Unreal/etc. games.
Last edited by digitalsoapbox on Tue Oct 11, 2016 4:27 pm, edited 1 time in total.
B
100
S
55
G
27
Posts: 555
Reputation: 23,866

Post » Mon Oct 10, 2016 5:36 pm

@digitalsoapbox - I'm using W10 Pro and my controller works in Chrome using the website test in the first post... and if they can get it to work without my uninstalling any drivers then it's probably not a W10 problem (unless they have a super-hackey way around the problem). It's a bit ironic that Microsoft broke their own controller with a version of their flagship software :roll: .
A big fan of JavaScript. Image Image Image
B
76
S
20
G
86
Posts: 2,357
Reputation: 52,708

Post » Tue Oct 11, 2016 4:29 pm

@Colludium Chances are the Chromium team found a hacky way around the driver issue. It's also not a global issue, and seems to affect specific hardware configurations, and sometimes only affects wireless/wired, not both. Speaking of flagship, controllers don't work wired OR wirelessly on my SP4 at all without rolling back to years-old drivers, and only then after manually deleting the current drivers from the driver directory and installing drivers that could only be downloaded from an out of date site through IE11, so I think it's safe to say it could've used more testing on Microsoft's end. As it stands, I have XB360 gamepads identifying as 3 controllers at once, and XB1 identifying as 3 when wireless, 4 when wired.
B
100
S
55
G
27
Posts: 555
Reputation: 23,866

Post » Tue Oct 18, 2016 11:22 am

It works fine for me in Chrome 54, Windows 10, with a wired Xbox 360 controller. However it doesn't seem to work in NW.js. So I think our code is correct but NW.js isn't seeing gamepads. I filed a NW.js bug to follow up. Closing this report.
Scirra Founder
B
408
S
242
G
92
Posts: 24,910
Reputation: 198,648

Post » Sat Jan 06, 2018 2:00 pm

Sorry for resurecting this old thread, but i cant get my gamepad working in Chrome.

when debugging the layout, and im looking at the gamepad it clearly registers the lastbutton pressed but there is no movement on my gameobject. while in Firefox there is no issue

works fine in:
Firefox
NW.js

im using:
Version 63.0.3239.132 (Officiell version) (64 bitar)
Windows 10 Pro N
Construct 3 Release r75
logitec gamepad F710
B
10
S
2
Posts: 20
Reputation: 673

Post » Sun Jan 07, 2018 12:47 am

@breflabb
You'll probably not get any replies here.
Consider posting your capx in "How do I..." subforum.
B
17
S
9
G
127
Posts: 1,764
Reputation: 67,849

Post » Sun Jan 07, 2018 8:42 pm

dop2000 wrote:@breflabb
You'll probably not get any replies here.
Consider posting your capx in "How do I..." subforum.


Thank you, did not see it was closed :D
B
10
S
2
Posts: 20
Reputation: 673


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest