D
Deleted User
Guest
Hello.
i am trying to add gamepad support for my project, but gms cant recognize any gamepads on windows10 for some reason.
i tested 3 different pads, they work perfectly on other software\games, but not on gms.
any ideas?
test code:
SOLVED.
Solution: https://forum.yoyogames.com/index.p...ing-gamepads-on-win10-64bit.85640/post-511982
i am trying to add gamepad support for my project, but gms cant recognize any gamepads on windows10 for some reason.
i tested 3 different pads, they work perfectly on other software\games, but not on gms.
any ideas?
test code:
GML:
global.gamepad_index = 0; // this is supposed to be the first gamepad that is found from system
for (var i = 0; i < gamepad_get_device_count(); i++;)
{
if(global.gamepad_index == 0)
{
if(gamepad_is_connected(i)){global.gamepad_index=i;}
}
else // for debugging, cant recognize any gamepads on windows
show_message("gamepad_index: "+ string(global.gamepad_index));
}
SOLVED.
Solution: https://forum.yoyogames.com/index.p...ing-gamepads-on-win10-64bit.85640/post-511982
Last edited by a moderator: