Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Multiple keyboards simultaneously?  (Read 2187 times)

0 Members and 1 Guest are viewing this topic.

mnm1200

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 139
  • Last login:March 10, 2006, 05:55:34 pm
  • IANAL: I am not a llama!
Multiple keyboards simultaneously?
« 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?
« Last Edit: July 01, 2005, 10:14:10 am by mnm1200 »
Demon Dog? Urusai! ...Baka

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: Multiple keyboards simultaneously?
« Reply #1 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
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

Stingray

  • Official Slacker - I promise to try a lot less
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10463
  • Last login:April 08, 2021, 03:43:54 pm
Re: Multiple keyboards simultaneously?
« Reply #2 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
Stingray you magnificent bastard!
This place is dead lately.  Stingray scare everyone off?

mnm1200

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 139
  • Last login:March 10, 2006, 05:55:34 pm
  • IANAL: I am not a llama!
Re: Multiple keyboards simultaneously?
« Reply #3 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?
Demon Dog? Urusai! ...Baka

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: Multiple keyboards simultaneously?
« Reply #4 on: July 01, 2005, 03:45:33 pm »
it pretty much works the same with Windows XP and Windows 2000
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

mnm1200

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 139
  • Last login:March 10, 2006, 05:55:34 pm
  • IANAL: I am not a llama!
Re: Multiple keyboards simultaneously?
« Reply #5 on: July 01, 2005, 03:47:16 pm »
it pretty much works the same with Windows XP and Windows 2000

Which is.......?
Demon Dog? Urusai! ...Baka

Stingray

  • Official Slacker - I promise to try a lot less
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10463
  • Last login:April 08, 2021, 03:43:54 pm
Re: Multiple keyboards simultaneously?
« Reply #6 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
Stingray you magnificent bastard!
This place is dead lately.  Stingray scare everyone off?

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: Multiple keyboards simultaneously?
« Reply #7 on: July 01, 2005, 04:00:48 pm »
yep
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8190
  • Last login:September 07, 2025, 04:58:47 pm
  • The Bears Still Suck!
Re: Multiple keyboards simultaneously?
« Reply #8 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.

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Multiple keyboards simultaneously?
« Reply #9 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
« Last Edit: July 01, 2005, 05:07:08 pm by u_rebelscum »
Robin
Knowledge is Power