How do I get C2 to recognize Gamepad inputs?

Get help using Construct 2

Post » Sat Jun 13, 2015 12:24 am

C2 recognizes when my controller is plugged in and when it's disconnected in multiple C2 games, but it does not recognize the button presses in those games nor in mine. It can't be my code, it's happening to other C2 games as well.

My gamepad is a Logitech F310, it works, I verified it with some Steam games, and with Windows 7 "Set Up USB game controllers" application. OS recognizes the inputs.

Here's the code I'm working with...I have OR statements with keyboard inputs that respond normally with the same shared actions when the keys are pressed.

Image

Could there be a missing plugin update or am I plugging my controller into the wrong USB? Is it the browser? I exported my game to node webkit using NW.js and same result. It's got to be something simple, a setting somewhere...

Thank you.
B
9
Posts: 18
Reputation: 361

Post » Sat Jun 13, 2015 1:57 am

I seem to be getting it to work on 1 controller in a 2.0 slot, when a 2nd controller is plugged into a USB 3.0 port at the same time. I have 2 USB 2.0 ports and 2 USB 3.0 ports on my front panel. C2 only recognizes the inputs when 2 gamepads are plugged into specific ports. Does any of this make any sense? Code works. C2 seems to work.

Is there any hidden code that C2 goes through to determine which controller it picks up? Outside of the Gamepad 0, Gamepad 1 indexing code that is built in for users? My code is only for Gamepad 0, there is no other 2nd programmed gamepad.
B
9
Posts: 18
Reputation: 361


Return to How do I....?

Who is online

Users browsing this forum: rotacak and 7 guests