mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00

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.
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
#
|
||
# 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 |