Gamepad_get_max_device_count - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Gets the maximum number of gamepad devices that can be plugged in and used simultaneously.
Parameters
Parameter | Description |
---|---|
none | This function has no parameters. |
Return Values
integer: Returns the maximum number of gamepad devices that can be plugged in.
Example Call
// demonstrates getting the number of gamepads that can be plugged in
var count;
count = gamepad_get_max_device_count();
show_message("You can plug in no more than " + string(count) + " controllers.");
NOTOC