Is there a reliable way to keep track of controllers?

Get help using Construct 2

Post » Thu Jul 30, 2015 12:23 pm

I'm currently working on a game where I want to dynamically assign the control schemes to the players in the order they are used.
It already works like a charm with all the keyboard control schemes, but with controllers, I've run into a big problem.

For example: When I use [Gamepad].GamepadID(0), it refers to the first gamepad. So far, so good.
But the moment a gamepad is used that, in Windows' order (as witnessed through the Game Controllers settings), comes before the gamepad that was previously the Gamepad with the ID 0, Construct now refers to that as Gamepad 0, pushing the other one forward to Gamepad 1.
My question is, is there a way to either stop Construct from changing the order or to reliably be able to keep referring to the same gamepad?

Thanks in advance.
Posts: 6
Reputation: 337

Return to How do I....?

Who is online

Users browsing this forum: ultrafop and 7 guests