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: Need Help modifying Keyboard 2 button keypress  (Read 1633 times)

0 Members and 1 Guest are viewing this topic.

Maltese

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:July 30, 2004, 12:43:54 pm
  • I'm a llama!
Need Help modifying Keyboard 2 button keypress
« on: July 29, 2004, 11:27:21 am »
Hello everyone,

I am having a hard time finding a solution to my problem.

I have a Microsoft Natural Pro Keyboard.

I would like to press only one button down and have it automatically activate and hold down another key electronically.

I could drill a hole thru 2 keys and insert a small metal shaft, but that would remove the ability to use the keys directly next to the key I press down.

Since I use the left side of the keyboard, I would prefer have the auto key on the right side.

For example:

When I press the "a" key, and hold it down, it will also make the semi-colon key press and hold until I let up on the "a" key.

The same goes for the "d" key.  When I press and hold "d", the double quotation key is also pressed and held as long as "d" is held down.

Why do I want to do this?

In the game Medal of Honor, you can strafe left and lean left at the same time which requires holding 2 keys at the same time... now add moving forward and backward, reloading, or jumping and firing and you will quickly see that holding 2 keys to perform a lean/strafe function is quite cumbersome.

I do not want to modify the game in any way.  I want to do this for the keyboard.

I tried the MS Keyboard Layout Creator.  The custom layout works for text (2 characters), but in the game the controls do not work as if 2 keys were pressed.

I was thinking of creating an AND gate across the "a" key and have that trigger the gate of a SCR over the semi-colon key.  So basically when the keyboard controller polled the line where the "a" key is, it would have one side hi, and when you pressed the key, the other side would go hi creating a hi output which would trigger the SCR.

Now I might have to put a capacitor/resistor network for timing of the charge/discharge for the gate so that it is not always active.. and I have no idea if this will in fact work.

So I'm looking to the users of this board for help.  Is there a add-on, mod I can purchase that would perform what I am trying to accomplish?

Thanks in advance


Bgnome

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 466
  • Last login:January 10, 2005, 04:05:16 pm
  • Who's da gnome?
Re:Need Help modifying Keyboard 2 button keypress
« Reply #1 on: July 29, 2004, 12:51:05 pm »
get one of these and save yourself a whole lotta trouble..


BobbyG66

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 588
  • Last login:November 13, 2016, 11:52:09 am
  • Current project: Dodgeball
Re:Need Help modifying Keyboard 2 button keypress
« Reply #2 on: July 29, 2004, 01:12:04 pm »
Half of the people you meet are below average.

SkateDetroit

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 211
  • Last login:April 30, 2013, 01:56:36 pm
    • SkateDetroit!
Re:Need Help modifying Keyboard 2 button keypress
« Reply #3 on: July 30, 2004, 07:40:58 am »
I've seen these things for 7-10 dollars at the local flea markets. Check em out if theres a computer show.

Maltese

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:July 30, 2004, 12:43:54 pm
  • I'm a llama!
Re:Need Help modifying Keyboard 2 button keypress
« Reply #4 on: July 30, 2004, 12:47:04 pm »
I have the Nostromo n52.  When you create a macro either with .00 delay or .01 delays it does not work exactly as if you press 2 keys at the same time.

If you put the walk keypress before the lean keypress, you walk normal but only partially lean and it bobs back and forth in MOHAA.

If you put the lean keypress before the walk keypress, you lean normal but you walk really slow.

I've tried the macros:

A Keypress
Delay .00
Z Keypress
Delay .00

and

A Keypress
Delay .01
Z Keypress
Delay .01

and

Z Keypress
Delay . 00
A Keypress
Delay .00

and

Z Keypress
Delay .01
A Keypress
Delay .01

None of them work as if you pressed and held in 2 keys physically.