MAMEHub icon indicating copy to clipboard operation
MAMEHub copied to clipboard

Game reads keys as buttons while I'm chatting

Open Ojousama opened this issue 10 years ago • 6 comments

Game reads keys as buttons while I'm chatting. When I'm typing, the game moves.

Ojousama avatar Aug 22 '14 06:08 Ojousama

i can verify that i have this problem too, there also use to be a problem with the "n" key toggling while in the tab menu, but that seems to have been fixed

Prinygod avatar Aug 23 '14 22:08 Prinygod

MAME recognizing keystrokes when it's not the active window is a bug in MAME/MESS itself. Please re-file this bug against MAME/MESS directly.

MisterTea avatar Jan 08 '15 00:01 MisterTea

Any way to recreate this effect on regular MAME/MESS?

Gitweazle avatar Jan 08 '15 00:01 Gitweazle

I'm assuming if you press buttons in mame and the window is not active, you can still play the game. If the chat is the only thing that works when the window is not active, then it is a mamehub bug. Please let me know which is true.

MisterTea avatar Jan 08 '15 00:01 MisterTea

Doing a quick recap to make sure we're talking about the same thing:

So what is happening is when we are playing and press T the chatbox pop ups. Then while typing a message to the other player, all the letters that I enter which correspond to a fire-button or movement key will activate.

Example:

  • Start Valkyrie No Densetsu (valkyrie.zip)
  • Open the chat with T
  • Type the message: I scored 100 points!

You will see the game reset itself. This is because the 0 is bound to Service Button

This does not happen when I task out of the window or when I am in the TAB menu.

Gitweazle avatar Jan 08 '15 01:01 Gitweazle

This issue is especially troublesome when trying to play on systems with keyboard. A lot of games use (emulated) keys, like letters/numbers, for player 2.

When using the in-game chat (T), it becomes a complete mess, because every sentence you type also makes your character move/shoot at the same time.

Gitweazle avatar Oct 22 '15 18:10 Gitweazle