summaryrefslogtreecommitdiffstats
path: root/keymaps
diff options
context:
space:
mode:
authorGravatarGravatar katananja <9029191+katananja@users.noreply.github.com>2019-02-16 23:49:37 -0300
committerGravatarGravatar Vas Crabb <cuavas@users.noreply.github.com>2019-02-17 15:21:33 +1100
commit2b01b8107e0b735b9ac922339e800debee7054e5 (patch) (github)
tree4b28668beddea67bd968c02b73d75e7bce7c5d5d /keymaps
parent0e10c56d5204eff07b8fda19405b1fd05b564d01 (diff)
downloadmame-2b01b8107e0b735b9ac922339e800debee7054e5.tar.bz2
mame-2b01b8107e0b735b9ac922339e800debee7054e5.zip
Update for Brazilian keyboard map
All key maps tested and working.
Diffstat (limited to 'keymaps')
-rw-r--r--keymaps/km_br_LINUX.map50
1 files changed, 27 insertions, 23 deletions
diff --git a/keymaps/km_br_LINUX.map b/keymaps/km_br_LINUX.map
index fb764448380..79958b20bac 100644
--- a/keymaps/km_br_LINUX.map
+++ b/keymaps/km_br_LINUX.map
@@ -1,38 +1,42 @@
-#
-# FIXME: This file produces errors and needs to be fixed.
-#
-
[SDL2]
-# MAME/MESS keymap for Brazilian QWERTY 107-keys keyboard (Linux)
-#
-# The 107-keys Brazilian keyboard has an extra key used to type "/".
-# Since I don't own such a keyboard, I can't write a proper definition.
-# However, it should be placed in the 4th row, after ITEM_ID_SLASH.
-#
-# SDL can tell the difference between the two COMPOSE keys but assigns them the same label
-# thus both OPENBRACE and QUOTE appear like "´ ~" in the user interface.
-# The following definitions are therefore correct.
+# MAME/MESS keymap for Brazilian ABNT2 QWERTY 105-keys keyboard (Linux)
#
# Row 1
#
-ITEM_ID_TILDE SDL_SCANCODE_QUOTE '
+ITEM_ID_TILDE SDL_SCANCODE_APOSTROPHE ~
#
# Row 2
#
-ITEM_ID_OPENBRACE SDL_SCANCODE_COMPOSE ´
-ITEM_ID_CLOSEBRACE SDL_SCANCODE_LEFTBRACKET [
+ITEM_ID_OPENBRACE SDL_SCANCODE_RIGHTBRACKET [
+ITEM_ID_CLOSEBRACE SDL_SCANCODE_BACKSLASH ]
#
# Row 3
#
-ITEM_ID_COLON SDL_SCANCODE_WORLD_71 Ç
-ITEM_ID_QUOTE SDL_SCANCODE_COMPOSE ~
-ITEM_ID_BACKSLASH SDL_SCANCODE_RIGHTBRACKET ]
+ITEM_ID_COLON SDL_SCANCODE_SLASH :
+ITEM_ID_QUOTE SDL_SCANCODE_GRAVE "
+ITEM_ID_BACKSLASH SDL_SCANCODE_NONUSBACKSLASH \
#
# Row 4
#
-ITEM_ID_BACKSLASH2 SDL_SCANCODE_LESS <
-ITEM_ID_SLASH SDL_SCANCODE_SEMICOLON ;
+ITEM_ID_STOP SDL_SCANCODE_PERIOD .
+#
+# keyPad row 1
+#
+ITEM_ID_NUMLOCK SDL_SCANCODE_NUMLOCKCLEAR NUMLOCK
+ITEM_ID_SLASH_PAD SDL_SCANCODE_KP_DIVIDE /
+ITEM_ID_ASTERISK SDL_SCANCODE_KP_MULTIPLY *
+ITEM_ID_MINUS_PAD SDL_SCANCODE_KP_MINUS -
+#
+# keyPad row 2
+#
+ITEM_ID_PLUS_PAD SDL_SCANCODE_KP_PLUS +
+#
+# keyPad row 3
+#
+ITEM_ID_STOP SDL_SCANCODE_KP_DECIMAL .
+#
+# keyPad row 4
#
-# Row 5
+# keyPad row 5
#
-ITEM_ID_RALT SDL_SCANCODE_MODE ALTGR \ No newline at end of file
+ITEM_ID_COMMA SDL_SCANCODE_KP_PERIOD ,