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: Is there something special about the letter "Q" in Mame?  (Read 6666 times)

0 Members and 1 Guest are viewing this topic.

jhuie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:April 10, 2013, 12:12:12 am
  • I want to build my own arcade controls!
Is there something special about the letter "Q" in Mame?
« on: September 19, 2010, 01:21:01 am »
I'm helping a friend convert his SF II cab to run Mame. Using a JPAC to do keyboard encoding. All works well, except that button 3 on the player two side sends a lower case Q...but Mame won't recognize it.  In Notepad, it's clearly being sent properly.  But when I hit TAB and go into program the controls, it won't accept the q character at all, either from the button or from the keyboard. It will let me assign pretty much any other key...but not q.  What am I missing?

On a related note, I have another Mame cabinet that's working fine and has been running for a long time.  It only has 2 player buttons but it randomly sends the lowercase q character.  Not sure where it's coming from yet.  Mostly it's harmless and just causes a beep since it's not assigned to anything. But if I'm in Notepad editing something it will insert the letter q in random places as I'm typing.  Strange

Thoughts?

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: Is there something special about the letter "Q" in Mame?
« Reply #1 on: September 19, 2010, 04:10:41 am »
hmm... are you using hyperspin?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Is there something special about the letter "Q" in Mame?
« Reply #2 on: September 19, 2010, 06:52:40 am »
Did your friend do his set up from scratch or copy everything over from yours (possibly along with the q issue)?

Old forgotten AutoHotKey script?

I have one that posts "q" to exit some pc games.


Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Is there something special about the letter "Q" in Mame?
« Reply #3 on: September 19, 2010, 07:08:16 am »
It could be a failsafe in the MAME version you're usng or the front-end. I'v always mapped player controls to 'regular' keys (a-z except for q, 0-9, comma, full stop etc. and the numpad) as even the MAME defaults use 'function' keys like CTRL and SHIFT, which some other emulators do not like (they either can't be mapped or cause conflicts with emulator functions). I've managed to map 4 players with credit and start buttons each without using anything but 'regular' keys, as it avoids any issues like this whatever platforms you use.

jhuie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:April 10, 2013, 12:12:12 am
  • I want to build my own arcade controls!
Re: Is there something special about the letter "Q" in Mame?
« Reply #4 on: September 19, 2010, 11:10:58 am »
Yes, I'm using Hyperspin. No, I didn't copy it from the other machine. It was a fresh install.  Are other people able to map a q to a button? Button 3 specifically? Or is there something in Mame that disables that?

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Is there something special about the letter "Q" in Mame?
« Reply #5 on: September 19, 2010, 11:21:05 am »
Dunno, but just in case I'd avoid using Q and just use a different key.

jhuie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:April 10, 2013, 12:12:12 am
  • I want to build my own arcade controls!
Re: Is there something special about the letter "Q" in Mame?
« Reply #6 on: September 19, 2010, 11:39:57 am »
Well q is the default for the third button on player 2.  I went to my other machine and checked and it was set to q, even thought it doesn't use a 3rd button. But....when I went to change it and then change it back to q again....it won't let me.  I don't know if this is a bug in Mame or a "feature" or just something I have configured wrong on both boxes.  I like the idea of using the default keys and it would be better than having to go figure out how to reprogram the jpac.  But it won't let me!  :(

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: Is there something special about the letter "Q" in Mame?
« Reply #7 on: September 19, 2010, 12:25:19 pm »
You can always manually edit the cfg file.  But, if MAME doesn't detect the button in the setup, it probably won't during game play either.

Dazz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1246
  • Last login:January 11, 2025, 07:43:39 am
  • HyperSpin Team
    • VPUniverse
Re: Is there something special about the letter "Q" in Mame?
« Reply #8 on: September 19, 2010, 12:49:21 pm »
Yes, I'm using Hyperspin. No, I didn't copy it from the other machine. It was a fresh install.  Are other people able to map a q to a button? Button 3 specifically? Or is there something in Mame that disables that?
Disable, the use HyperLaunch option in HyperHQ for HyperSpin.  By default that locks out the Q & S buttons in MAME.  HyperLaunch is not needed for MAME.  Also, HyperLaunch force quits MAME on exit.  Any button changes you made in MAME will not save unless HyperLaunch is disabled.



shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: Is there something special about the letter "Q" in Mame?
« Reply #9 on: September 19, 2010, 04:19:41 pm »
Yes, I'm using Hyperspin. No, I didn't copy it from the other machine. It was a fresh install.  Are other people able to map a q to a button? Button 3 specifically? Or is there something in Mame that disables that?
Disable, the use HyperLaunch option in HyperHQ for HyperSpin.  By default that locks out the Q & S buttons in MAME.  HyperLaunch is not needed for MAME.  Also, HyperLaunch force quits MAME on exit.  Any button changes you made in MAME will not save unless HyperLaunch is disabled.

yup, that's why i asked  ;D , I had that same issue with other buttons .. I had issues if a button in the emulator matched one of the admin buttons in hyperlaunch

jhuie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:April 10, 2013, 12:12:12 am
  • I want to build my own arcade controls!
Re: Is there something special about the letter "Q" in Mame?
« Reply #10 on: September 19, 2010, 04:39:16 pm »
Ooooooooooooh.  Ok then. Thank you guys! I'm not sure I ever would have figured that one out on my own.

mrtuesday42

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 59
  • Last login:July 03, 2011, 09:12:33 pm
Re: Is there something special about the letter "Q" in Mame?
« Reply #11 on: September 20, 2010, 05:58:19 pm »
yeah. i had a similar issue where i would accidentally quit games because player 2 was using q as a button, which by default is quit for hyperspin.

elkameleon

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 528
  • Last login:August 20, 2014, 08:31:00 pm
Re: Is there something special about the letter "Q" in Mame?
« Reply #12 on: April 14, 2012, 10:59:55 am »
I just want to say that this was my issue too, specifically with mortal kombat, because I had to change the default controls. I changed the execution from hyperlaunch to normal, and bam! everything works now. Thanks!

MTPPC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 535
  • Last login:November 26, 2021, 02:25:46 pm
Re: Is there something special about the letter "Q" in Mame?
« Reply #13 on: April 14, 2012, 04:01:55 pm »
I edited the hyperlaunch script and recompiled it to use two unused keys for the secret quit function. I didn't know you could just can hyperlaunch for mame.
Pinball and Video Arcade Repair in Billings, MT USA
http://pinballmd.com/

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: Is there something special about the letter "Q" in Mame?
« Reply #14 on: April 16, 2012, 10:54:23 pm »
This shouldn't be a problem in-game. Bad Hyperspin.
-Banned-

MTPPC

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 535
  • Last login:November 26, 2021, 02:25:46 pm
Re: Is there something special about the letter "Q" in Mame?
« Reply #15 on: April 17, 2012, 12:13:28 am »
I came to realize that I didn't have the problem in MAME. My setup defaulted MAME to not use hyperlaunch. I had the problem on NAOMI and Dreamcast emulators. It really threw me off for a while until I identified exactly what button combo it was and when I searched that, I found a thread where someone else had the problem. http://www.hyperspin-fe.com/forum/showthread.php?2234-WTF-My-Q-key-doesn-t-work
Pinball and Video Arcade Repair in Billings, MT USA
http://pinballmd.com/