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: Key Ghosting and Blocking question  (Read 2177 times)

0 Members and 1 Guest are viewing this topic.

aricade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 53
  • Last login:August 15, 2004, 01:38:26 pm
  • Wamma langa ding dong!
    • Isaacade
Key Ghosting and Blocking question
« on: July 29, 2003, 11:39:03 am »
hey;

Just wanted to run this idea buy you guys maybe some of you have put this into practice and can verify wether this actually works:

I am hacking an old keyboard.  I't does have blocking so I can only ever hit 2 keys and the 3rd key that would create a ghost if pressed will never register...  

Since I couldn't get a enough inputs with out triggering a block (2 player sf2)  I decide to use some keys that fall into a block scenario, BUT I use them for up/down and Left/right controls (and also p1 p2 and coin wich typically not used during gameplay).

So my question is am I right to assume that up/down and left right can not be triggered at the same time?  Or  :(  if a user goes up/down or left/right fast enough, it could register as 2 keys being pressed at the same time  :( ...

If any one has put this into there controls and know's how well this would work I would love to hear....


Cheers,
Aricade
Off all the things I've lost I miss my mind the most!!

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:July 31, 2025, 01:58:29 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re:Key Ghosting and Blocking question
« Reply #1 on: July 29, 2003, 01:25:57 pm »
I am hacking an old keyboard.  I't does have blocking so I can only ever hit 2 keys and the 3rd key that would create a ghost if pressed will never register...  

Since I couldn't get a enough inputs with out triggering a block (2 player sf2)  I decide to use some keys that fall into a block scenario, BUT I use them for up/down and Left/right controls (and also p1 p2 and coin wich typically not used during gameplay).

So my question is am I right to assume that up/down and left right can not be triggered at the same time?  Or  :(  if a user goes up/down or left/right fast enough, it could register as 2 keys being pressed at the same time  :( ...

Up/down and left/right should never be able to be activated at the same time.  If you configure everything around this it can work to your advantage.

And, it's quite impossible to move the stick fast enough from one to the other to make both register at the same time.  :)

RandyT

aricade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 53
  • Last login:August 15, 2004, 01:38:26 pm
  • Wamma langa ding dong!
    • Isaacade
Re:Key Ghosting and Blocking question
« Reply #2 on: July 29, 2003, 01:40:06 pm »
Cool....

I was pretty sure about this, but I didn't want to build around this theory and then have to hack another keyboard...

Thanx for the lesson in physics! ;D
Off all the things I've lost I miss my mind the most!!

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re:Key Ghosting and Blocking question
« Reply #3 on: July 29, 2003, 06:29:02 pm »
I'm curious.  I've read a few times about making exit for games both up and down at the same time.  How the heck would you do such a thing?

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Key Ghosting and Blocking question
« Reply #4 on: July 30, 2003, 08:06:12 am »
I'm curious.  I've read a few times about making exit for games both up and down at the same time.  How the heck would you do such a thing?
That would have been me where you read it.  You can't do this with a keyboard hack or a matrix mode encoder.

What you can do is use diodes and wire a button to the UP and DOWN inputs on a common ground (KeyWiz, I-PAC, MK64) encoder, and then set MAME so UI_CANCEL is "Keycode_UP KEYCODE_DOWN"  But it will only work in programs like MAME that allow multiple key assignments to an input.

This way you can't accidentally exit the game, as the joystick can never activate UP and DOWN simultaneously, but the button can.

I will have a web page about it up, hopefully by next week.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.