GameMaker: Studio

GameMaker: Studio

View Stats:
Neko_Baron Jan 17, 2015 @ 8:56am
Need help with controller support (Not Xbox/PS)
So I'm part way though making a game and I've decided I should get controller support added, however I cant seem to get my GCN (Gamecube) usb addaptor to show up and I'm guessing perhaps only Xbox/PS/direct USB controllers are supported but I can't check.

I know the controller works but does anyone know if theres a way to add support for these types of controllers since I am hoping to add as much compatability to my games as possible if I ever get around to getting them on the market.

Does anyone know of any way to get other types controller such as my gamecube addaptor to work?
< >
Showing 1-6 of 6 comments
Blind Jan 17, 2015 @ 11:56am 
If you have been plugging in other gamepads all day, gamemaker has to know what device you are trying to use. Use the command gamepad_get_description(device) to see if the GCN can even be identified.

*device by default is a number from 1 to 4, based on the number of controls connected.

var gp_num = gamepad_get_device_count(); for (var i = 0; i < gp_num; i++;) { if gamepad_is_connected(i) { draw_text(32, 32 + (i * 32), gamepad_get_description(i)); } else { draw_text(32, 32 + (i * 32), "No Gamepad Connected"); } }
Last edited by Blind; Jan 17, 2015 @ 11:59am
Neko_Baron Jan 17, 2015 @ 12:12pm 
Originally posted by BBX:
If you have been plugging in other gamepads all day, gamemaker has to know what device you are trying to use. Use the command gamepad_get_description(device) to see if the GCN can even be identified.

*device by default is a number from 1 to 4, based on the number of controls connected.

var gp_num = gamepad_get_device_count(); for (var i = 0; i < gp_num; i++;) { if gamepad_is_connected(i) { draw_text(32, 32 + (i * 32), gamepad_get_description(i)); } else { draw_text(32, 32 + (i * 32), "No Gamepad Connected"); } }

Sorry I ment to put I tried the default code like that already, I even downloaded an example one someone made and that did not detect it either.
Blind Jan 17, 2015 @ 12:16pm 
Your GCN-USB adaptor should have come with some drivers, you can connect to any driver using device inputs - even obscure ones like satellite phones. (I don't know how, but, you can)
Neko_Baron Jan 17, 2015 @ 12:57pm 
The controller works fine with other games, but not with game maker studio.
Blind Jan 17, 2015 @ 1:41pm 
It's possible it might need a Windows profile to work - that was the problem with gamepads for the PC version of Devil May Cry 3, it couldn't read controllers that didn't have a profile, even if every other program knew better.
Neko_Baron Jan 17, 2015 @ 4:05pm 
Im not sure what you mean by a windows profile, I do know it is detected by windows as a usb gamepad so I dont see any reason GameMaker should not be able to detect it somehow unless its only searching for ones specifically linked.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jan 17, 2015 @ 8:56am
Posts: 6