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.

Author
Message
madcaddy
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 3rd Mar 2003 16:40
i have a four player split screen game with all players using the keyboard but some of the keypresses seem to not be registered. for example if pl2 is goin forwards("i") plr1 cannot go forwards and turn right at the same time (w and d) but he can go forwards and left! it happens with some other keys aswell but makes no sense.. is there a limit to how many keys can be pressed and registered at a time?

any help would be great

thanx
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Mar 2003 19:46
Try my FunctionMapper DLL - Aside from detecting keys that DBPro cant/wont, you can detect more than 1 key press at a time...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
xtom
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Ireland
Posted: 3rd Mar 2003 20:36
Some keyboards only allow a certain amount of keypress at any one time. I had one that had a limit of three and it gave off a beep when you pressed too many. Also make sure your using keystate() or the upkey(), downkey(), spacekey() etc commands and not inkey$() or scancode().
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Mar 2003 20:43
It really depends on the keyboard, and the layout of the sensor grid underneith the keys.

If there was a sensor for each key, you would not have this problem, but that would make keyboards expensive. We pay the price of cheaper hardware
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Mar 2003 21:31
DX does a pretty good detection of multiple keys. FunctionMapper should be able to handle over 4 at a time...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Mar 2003 21:35
And whilst I've only tested it on Microsoft Internet keyboards, I dont see why it shouldn't do the same on most other keyboards.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Mar 2003 21:38
And to plug my FunctionMapper again, it can handle around 32 joypads, mouse + keyboard - at once if its so desired.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Mar 2003 22:26
That's three times in one thread! It's totally uncalled for
the architect
22
Years of Service
User Offline
Joined: 6th Jan 2003
Location: United Kingdom
Posted: 3rd Mar 2003 22:33
Use SCANCODE and KEYSTATE commands from the input section of your manual instead of the defined keys. Is does mean you are going have to find out the values for each key but they are the best ways for fast, flexible keyput.

MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Mar 2003 23:41
Yes, that what comes of not having a (working) edit button...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
madcaddy
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 3rd Mar 2003 23:59
thanx for ideas - ill try ur functionmapper- is that a dll? i am using keystate at the moment but with four players there could be up to 8 keypresses at a time! that prob explains it.

cheers guys
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 4th Mar 2003 00:01
Yup - its a DLL - if it gets too compilcated, e-mail me and I'll try and help.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
madcaddy
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 4th Mar 2003 00:12
cool im just gettin from ur site aswell as the exaple prog - i shud be able to figure it out

Login to post a reply

Server time is: 2025-05-18 20:51:08
Your offset time is: 2025-05-18 20:51:08