If it single player only, why does it need to register input from every connected gamepad rather than just the first? I think most single player games just ignore controllers after the first one, but I could be wrong. If you really wanted to do it anyway, you would likely want to set up a controller object and then loop through all possible gamepads checking for input. For example:
Code:
///step event of obj_input_controller
x_pushed = keyboard_check_pressed(vk_space);
for (var i = 0; i < max_controllers; i += 1) {
x_pushed = x_pushed || gamepad_button_check_pressed(i, gp_face1);
}
///example use - some other step event or code
jump = obj_input_controller.x_pushed;
I can't remember if need to do something else first in order to read from multiple controllers or if it is automatic, if it isn't, you would need to set that up first. Otherwise, this is one way to assign multiple controllers to the same input (as further illustrated by showing that this accepts either the space bar or controller inputs).