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: What keyboard keys do these Mame KEYCODEs represent?  (Read 3701 times)

0 Members and 1 Guest are viewing this topic.

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:April 26, 2023, 07:34:43 pm
What keyboard keys do these Mame KEYCODEs represent?
« on: May 25, 2006, 12:07:41 am »
Please tell me what keys on a keyboard are represented by the following KEYCODE settings in Mame:

KEYCODE_BACKSLASH
KEYCODE_BACKSLASH2
KEYCODE_SLASH
KEYCODE_STOP



shawcomputers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:July 26, 2006, 10:49:19 pm
Re: What keyboard keys do these Mame KEYCODEs represent?
« Reply #1 on: May 25, 2006, 04:29:39 am »
backslash is \
backslahs 2 is /
slash is -
stop is the esc key i believe

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:April 26, 2023, 07:34:43 pm
Re: What keyboard keys do these Mame KEYCODEs represent?
« Reply #2 on: May 25, 2006, 07:06:54 am »
Ok, I actually woke this morning and tried these out ....here are the mappings:

-  (dash) is KEYCODE_MINUS
- (minus keypad) is KEYCODE_MINUS_PAD
* (multiply keypad) is KEYCODE_ASTERICK
/ (divide keypad) is KEYCODE_SLASH_PAD
/ (forwardslash) is KEYCODE_SLASH
\ (backslash) is KEYCODE_BACKSLASH; (semi-colon) is KEYCODE_COLON
` (tick) is KEYCODE_TILDE
. (period) is KEYCODE_STOP
[ (open bracket) is KEYCODE_OPENBRACE
] (closed bracket) is KEYCODE_CLOSEBRACE
' (single quote) is KEYCODE_QUOTE


... no idea what KEYCODE_BACKSLASH2  represents .... oh well.... might just be extra

« Last Edit: May 25, 2006, 08:49:20 am by unclet »

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: What keyboard keys do these Mame KEYCODEs represent?
« Reply #3 on: May 25, 2006, 05:55:47 pm »
... no idea what KEYCODE_BACKSLASH2  represents .... oh well.... might just be extra

I looked at the official source, and they don't have a KEYCODE_BACKSLASH2 (as of mame 0.104 & 0.106). 

Where did you get the KEYCODE_BACKSLASH2?  If it was, say, a ctrlr file from 0.80, I'd like to check that out.
Robin
Knowledge is Power

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3561
  • Last login:April 26, 2023, 07:34:43 pm
Re: What keyboard keys do these Mame KEYCODEs represent?
« Reply #4 on: May 25, 2006, 09:11:20 pm »
I noticed that Johnny5 had a KEYCODE_BACKSLASH2 settings to map to a label.... so I guess it was probably from an older version perhaps ... I really do not know.