Gamepad issue on Chrome, button auto-pressed

Bugs will be moved here once resolved.

Post » Sat Aug 02, 2014 11:36 am

Problem Description

"Button A" (or button index 0) is always pressed (Doesnt happen with any other button)

Attach a Capx

CAPX

Description of Capx

Just a sprite with default 8Direcion behaviour.

Move right is mapped to "Button A" on the pad.

Steps to Reproduce Bug

  • Just run the capx

Observed Result

If the gamepad is detected* the sprite moves (to the right) on his own as if the button is pressed.

Sometimes (Rarely, I dont know how to trigger this) it detects the gamepad but the bug is not apparent until you press the button, then the sprite begins to move right no matter what even if you let go of the button.

*I dont know if this is expected/already reported, but I ran into some issues on detecting the gamepad too. It doesnt always work for me. It seems that it always works if I close the browser first (Chrome)

Expected Result

Obviously, that it only moves when im actually holding the button.

Affected Browsers
  • Chrome: (YES) version 36.0.1985.125 m <- I had to reinstall Chrome recently, so it may be because of this version! Didnt have this problem before
  • FireFox: (NO) Works fine
  • Internet Explorer: Gamepad doesnt work at all for me here...

Operating System and Service Pack

Windows 7 service pack 1

Also, Im using an old Logitech Rumblepad 2 usb (I made sure that it works fine in every other program or game, or testing it on the gaming devices properties of windows)

Construct 2 Version ID

r175 64-bits
B
26
S
7
G
1
Posts: 71
Reputation: 2,072

Post » Mon Aug 04, 2014 4:13 pm

Can't reproduce here with an Xbox 360 controller. Are you sure it's not just a sticky button?
Scirra Founder
B
387
S
230
G
88
Posts: 24,249
Reputation: 192,450

Post » Mon Aug 04, 2014 5:33 pm

Maybe see how it behaves with this test page: http://www.html5rocks.com/en/tutorials/ ... ester.html
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Tue Aug 05, 2014 1:04 pm

Ashley wrote:Can't reproduce here with an Xbox 360 controller. Are you sure it's not just a sticky button?


Yep, pretty sure, this happens in Chrome and in Chrome only. Not my game's problem either, the button works fine if I run my game on Firefox...

blackhornet wrote:Maybe see how it behaves with this test page: http://www.html5rocks.com/en/tutorials/ ... ester.html


That definitely helped!

It looks like the current version of Chrome im using (It worked fine before updating it) doesnt like my pad for some reason, the 1 button is stuck but it works fine on Firefox (and every other program/game) using that same test.

For what is worth, on the test my pad is listed as "Logitech RumblePad 2 USB (Vendor: 046d Product: c218)"

Bug closed, I guess, this is on Chrome's end.
B
26
S
7
G
1
Posts: 71
Reputation: 2,072


Return to Closed bugs

Who is online

Users browsing this forum: MadSpy and 4 guests