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: Keyboard switching question  (Read 991 times)

0 Members and 1 Guest are viewing this topic.

fullerlee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:November 30, 2003, 07:19:07 pm
  • I'm building my second MAME cabinet. Oh yes.
    • Cocktail Cab
Keyboard switching question
« on: December 17, 2003, 03:59:22 pm »
I would like to build a simple keyboard switch so I can switch between a standard PS/2 keyboard, and my keyboard controller.

I've looked at the specs for PS/2, and there is a single +5V line.

If I was to wire both keyboards up to all the other lines, and then had a switch in the +5V line which toggled between giving power to each keyboard, does anyone know if that would work?

Thanks,
Lee
« Last Edit: December 18, 2003, 01:17:02 pm by fullerlee »

_Iz-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 703
  • Last login:August 15, 2025, 07:25:09 pm
  • Time to coin up!
Re:Keyboard switching question
« Reply #1 on: December 17, 2003, 05:30:06 pm »
Dual Keyboard Circuit

If I were to make a switch, I think I'd leave the +5v and ground lines connected to both devices at all times and have the switch swap the data and clock lines between the 2 devices...
« Last Edit: December 17, 2003, 05:35:55 pm by _Iz- »

fullerlee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:November 30, 2003, 07:19:07 pm
  • I'm building my second MAME cabinet. Oh yes.
    • Cocktail Cab
Re:Keyboard switching question
« Reply #2 on: December 17, 2003, 05:46:03 pm »
Thanks, I remember seeing that a while ago and I couldn't remember where.

I might give it a go, but my electronics knowledge is somewhat limited.

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re:Keyboard switching question
« Reply #3 on: December 18, 2003, 07:25:21 am »
If you have limited electronics knowledge (or even if you don't) then I suggest just adding a USB keyboard. Easier, you only have to plug it in when you need it, and you won't risk messing up your motherboard or keywhiz by messing up the wiring.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

fullerlee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:November 30, 2003, 07:19:07 pm
  • I'm building my second MAME cabinet. Oh yes.
    • Cocktail Cab
Re:Keyboard switching question
« Reply #4 on: December 18, 2003, 01:16:25 pm »
Ok, perhaps I should explain the reason for my keyboard switcher/cutoff.

I have a wierd motherboard which won't boot with my keyboard encoder. It's by no means the fault of the encoder, but the industrial spec motherboard I picked up on the cheap.

Anyway, as soon as I unplug the PS/2 cable from the computer, it boots fine, so I though of putting a toggle on the machine to switch the keyboard on and off.

After some playing about yesterday, I found that breaking the data line (thanks to _Iz-) allowed the computer to boot, and then reconnecting allowed the keyboard to function, so a simple toggle switch on the front of the machine ("boot mode" v "game mode") will fix the problem.

Perhaps I'm electronically naive, but I'm always very pleased with myself when I get stuff to work!

Thanks to all who replied.