[143 & 144] Gamepad Axis Issue

Bugs will be moved here once resolved.

Post » Fri Sep 13, 2013 6:20 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/91947859/controller-issue.capx

Steps to reproduce:
1. Create a event when the X Axis of the XBox 360 Controller do something like move a platformer to right or left.

2. It works normal at this point, but when you use the analog Y Axis of the controller the platformer go right or left depending on the event.

Observed result:
The Y Axis of the controller is getting conflict with the X Axis and vise-versa. It also happen in both Right and Left Analog Stick.

Browsers affected:
Chrome: yes
Internet Explorer: yes - In the test, the Gamepad object did not work at all in Internet Explorer

Operating system & service pack:
Windows 8 Pro 64Bits
Construct 2 version:
143 and also on the new 144
    
B
15
S
7
G
1
Posts: 15
Reputation: 1,554

Post » Mon Sep 16, 2013 1:13 pm

Closing as by design. We use a radial deadzone instead of an axial deadzone. So when the Y axis leaves the deadzone, you get the raw X axis value. So the returned values might be say -50 on the Y axis, and 0.001 on the X axis. This means the event is true, and it is working correctly. Use your own deadzone values (e.g. X < -25, X > 25) to work around this.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684

Post » Mon Sep 16, 2013 7:38 pm

Thanks a lot, sorry for think it was a bug, I will make the changes now.
B
15
S
7
G
1
Posts: 15
Reputation: 1,554


Return to Closed bugs

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests