Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Past 2 Controllers not working??

Author
Message
Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 23rd May 2010 18:52
Hey all,

I'm back.

Here, I have recreated an example:




Everything works fine with two controllers, but controller three wont register. Why is this, I thought that DBPRO now supports up to 8 Joysticks......?

Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 23rd May 2010 19:08
Further Testing reveals that the reason was because the last two controllers have the same name. Any way around this? I really dont want a differant type of controller for every player....

IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd May 2010 23:29
The PERFORM CHECKLIST FOR CONTROL DEVICES now sets checklist value b too. If you use the value as a second parameter to the SET CONTROL DEVICE command, it'll pick up the correct controller.

Dark Dragon
16
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 23rd May 2010 23:43 Edited at: 24th May 2010 00:48
Thanks, but i'm not sure i get exactly how? Would I add this on to CHECKLIST STRING$? or implement it some other way.........and btw, what in CHCKLST VAL B now, any way?

EDIT}}}

Nvr mind!
I got it now, three circles moving according to the correct joypad.

Thanks, have a on me, IanM.

Login to post a reply

Server time is: 2024-05-04 00:08:42
Your offset time is: 2024-05-04 00:08:42