Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: mnm1200 on July 01, 2005, 10:02:15 am

Title: Multiple keyboards simultaneously?
Post by: mnm1200 on July 01, 2005, 10:02:15 am
Is it at all possible to connect 3 or more keyboards so that they all operate simultaneously?
Title: Re: Multiple keyboards simultaneously?
Post by: USSEnterprise on July 01, 2005, 10:10:55 am
If you split them up between the PS/2 and USB ports, I think you can, but most would have to be USB. Only 1 could be PS/2
Title: Re: Multiple keyboards simultaneously?
Post by: Stingray on July 01, 2005, 03:27:23 pm
You don't say which OS you're using, but with a Mac you can use as many keyboards simultaniously as you can manage to plug in. Up to the limit of the port that you're using anyway. I think it's something crazy like 128 for USB and 7 for the older ADB port.

-S
Title: Re: Multiple keyboards simultaneously?
Post by: mnm1200 on July 01, 2005, 03:45:00 pm
Well, I didn't say what OS because I don't know yet ;)

Linux or Windows preferably.

Do those Y-splitters work keyboards simultaneously?
Title: Re: Multiple keyboards simultaneously?
Post by: USSEnterprise on July 01, 2005, 03:45:33 pm
it pretty much works the same with Windows XP and Windows 2000
Title: Re: Multiple keyboards simultaneously?
Post by: mnm1200 on July 01, 2005, 03:47:16 pm
it pretty much works the same with Windows XP and Windows 2000

Which is.......?
Title: Re: Multiple keyboards simultaneously?
Post by: Stingray on July 01, 2005, 03:59:46 pm
it pretty much works the same with Windows XP and Windows 2000

Which is.......?

If he meant the same as on a Mac I assume means 128ish on USB and 7ish on PS2.

-S
Title: Re: Multiple keyboards simultaneously?
Post by: USSEnterprise on July 01, 2005, 04:00:48 pm
yep
Title: Re: Multiple keyboards simultaneously?
Post by: SirPoonga on July 01, 2005, 04:03:09 pm
max number of usb devices is 255.

Of course, you have to be able to power all of them.  The PSU in your ocmputer cna not handle that.  But 3 USB keyboards, it should be able to handle.

Why are you going to  use more than one keyboard?  I hope it isn't for a keyboard hack.  Use  USB gamepads instead.
Title: Re: Multiple keyboards simultaneously?
Post by: u_rebelscum on July 01, 2005, 05:00:24 pm
Yes or no.  IOW, sort of, depending what you plan to do.

You can physically hook as many keyboards as you want, but Windows joins all the inputs from them into one unit.  IE, pressing an 'A' key on one keyboard looks the same as pressing an 'A' key on any keyboard to mame (and all other apps, AFAIK).

Under no Windows OS does directInput give direct/raw access to individual keyboard inputs.  This is windows bug "security feature" microsoft doesn't want to fix "intentionally included".   :-\

There is a way around the limitation sorry, "feature", recode mame to use RawInput to read the keyboard info, instead of directInput (or win32 API).  Which would only work in winXP.  As I hinted earlier, I don't know of any (non-demo) application that does, ATM.  Zip, zero, zilch.

Aside: shouldn't "directInput" provide direct access to the inputs, not the filtered & combined indirect access to the keyboard inputs?  Or it shouldn't be called directInput?  (I feel the same with winXP & mice, for those who don't know me. ;) )


Any way, what everyone else said, BUT you still cannot have two players using two normal non-hacked keyboards hooked into the same computer, and both use the arrow keys to move their own character.  If that was close to what you were planning, . . . either plan to also edit mame's source or pray I get off my behind, update analog+, and add rawinput keyboard support to it.  (The later does not look likely in the near future :(.)

edit -- spelling