[r142]Gamepad detected but not inputting

Bugs will be moved here once resolved.

Post » Fri Aug 30, 2013 2:16 am

basically , my controller is active , but the input isn't detected ,

As:

Gamepad|Is Active
Log "weee"
... is working

but all the events involving around detecting input doesn't work ...

As , player doesn't move when I move the thumbstick

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/89532891/Everything/Breeze.capx

Do you have this issue too ?

I'm using an xbox 360 controller on windows 8 Whiteclaws2013-08-30 20:37:47
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Fri Aug 30, 2013 7:12 pm

It's fine- change "Browser: Log In console" to something else.. like "Player: Move forward X pixels."

Log seems to not be doing anything.
B
20
S
7
G
4
Posts: 322
Reputation: 4,531

Post » Fri Aug 30, 2013 8:25 pm

no , the problem is that my controller is active , but the input isn't detected ,

As:

Gamepad|Is Active
Log "weee"

but all the events involving around detecting input doesn't work ...

As , player doesn't move when I move the thumbstick
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Fri Aug 30, 2013 8:37 pm

For the "has gamepad" as in the original cap x, you need to press something on your gamepad.

I pressed X and what I changed the log thing to works.
https://dl.dropboxusercontent.com/u/49149597/poopooclaws.capx
B
20
S
7
G
4
Posts: 322
Reputation: 4,531

Post » Fri Aug 30, 2013 8:47 pm

@sulli

you are completely on the wrong side on the road ,

As I said ... My controller is detected by C2

As . when I click a button , c2 detects the controller , the controller is online , c2 detects it , but ... input by the controller isn't detected . as example , if you change "has gamepad" to "On Gamepad 0 button A pressed" , the sprite won't scale to 3
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Fri Aug 30, 2013 8:57 pm

also , just to add more info , on firefox nightly when I run this
http://h4ck3r.net/gamepad.js/example/
it is detected , and it works well ( on chrome , it only tells me that the browser doesn't support the api )

Pushing me to say it may be a problem with C2Whiteclaws2013-08-30 20:57:57
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Fri Aug 30, 2013 8:58 pm

It even works here

http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html

Odd ... input isn't detected by C2 tho
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Sun Sep 01, 2013 5:41 pm

Hi WC,
I"m not familiar with thumbstick controls (which arent' working for me in your capx), but all button controllers were working fine.

I did Gamepad: Gamepad 0 D-pad down is down --> Player: set width to self.Width+1

and everything worked as expected.
B
51
S
13
G
8
Posts: 194
Reputation: 7,316

Post » Sun Sep 01, 2013 7:56 pm

@Mulkaccino , it's odd , none are working on mine :S

What configuration do you have ?
(OS , Chrome version)

buttons and thumbsticks aren't working on my side

B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Tue Sep 03, 2013 3:07 pm

Closing, works fine for me with an XBox 360 controller on Chrome/Windows 8. Note your events are wrong, you need to make the local variables static for them to work.
Scirra Founder
B
402
S
238
G
89
Posts: 24,630
Reputation: 196,027

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest