summaryrefslogtreecommitdiffstats
path: root/keymaps
diff options
context:
space:
mode:
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 ,