mame/keymaps/km_br_LINUX.map
couriersud 757436bbfb Fixed sdl2 keymap processing. [Couriersud]
Keymaps must have been broken for ages:

-	It is now possible to map every scancode SDL2 defines.
-	Removed keycode field. This was a leftover from SDL1.x
-	Fixed bug preventing keymaps from working.
-	Fixed the DE keymap.
-	Converted other keymaps to new format and added a
    comment that they have to be reviewed and fixed.
2019-02-16 16:44:42 +01:00

38 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# 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.
#
# Row 1
#
ITEM_ID_TILDE SDL_SCANCODE_QUOTE '
#
# Row 2
#
ITEM_ID_OPENBRACE SDL_SCANCODE_COMPOSE ´
ITEM_ID_CLOSEBRACE SDL_SCANCODE_LEFTBRACKET [
#
# Row 3
#
ITEM_ID_COLON SDL_SCANCODE_WORLD_71 Ç
ITEM_ID_QUOTE SDL_SCANCODE_COMPOSE ~
ITEM_ID_BACKSLASH SDL_SCANCODE_RIGHTBRACKET ]
#
# Row 4
#
ITEM_ID_BACKSLASH2 SDL_SCANCODE_LESS <
ITEM_ID_SLASH SDL_SCANCODE_SEMICOLON ;
#
# Row 5
#
ITEM_ID_RALT SDL_SCANCODE_MODE ALTGR