summaryrefslogtreecommitdiffstats
path: root/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keymaps')
-rw-r--r--keymaps/km_be_LINUX.map44
-rw-r--r--keymaps/km_br_LINUX.map33
-rw-r--r--keymaps/km_ch_LINUX.map29
-rw-r--r--keymaps/km_de_LINUX.map29
-rw-r--r--keymaps/km_es_LINUX.map30
-rw-r--r--keymaps/km_fr_LINUX.map43
-rw-r--r--keymaps/km_fr_OSX.map15
-rw-r--r--keymaps/km_gb_LINUX.map20
-rw-r--r--keymaps/km_it_LINUX.map27
-rw-r--r--keymaps/km_pt_LINUX.map30
10 files changed, 300 insertions, 0 deletions
diff --git a/keymaps/km_be_LINUX.map b/keymaps/km_be_LINUX.map
new file mode 100644
index 00000000000..4462771f129
--- /dev/null
+++ b/keymaps/km_be_LINUX.map
@@ -0,0 +1,44 @@
+# MAME/MESS keymap for Belgian AZERTY 105-keys keyboard (Linux)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_WORLD_18 0x31 0xb2 ²
+ITEM_ID_1 SDLK_AMPERSAND 0x0a 0x26 &
+ITEM_ID_2 SDLK_WORLD_73 0x0b 0xe9 é
+ITEM_ID_3 SDLK_QUOTEDBL 0x0c 0x22 "
+ITEM_ID_4 SDLK_QUOTE 0x0d 0x27 '
+ITEM_ID_5 SDLK_LEFTPAREN 0x0e 0x28 (
+ITEM_ID_6 SDLK_WORLD_7 0x0f 0xa7 §
+ITEM_ID_7 SDLK_WORLD_72 0x10 0xe8 è
+ITEM_ID_8 SDLK_EXCLAIM 0x11 0x21 !
+ITEM_ID_9 SDLK_WORLD_71 0x12 0xe7 ç
+ITEM_ID_0 SDLK_WORLD_64 0x13 0xe0 à
+ITEM_ID_MINUS SDLK_RIGHTPAREN 0x14 0x29 )
+ITEM_ID_EQUALS SDLK_MINUS 0x15 0x2d -
+#
+# Row 2
+#
+ITEM_ID_Q SDLK_a 0x18 0x61 A
+ITEM_ID_W SDLK_z 0x19 0x7a Z
+ITEM_ID_OPENBRACE SDLK_CARET 0x22 0x5e ^
+ITEM_ID_CLOSEBRACE SDLK_DOLLAR 0x23 0x24 $
+#
+# Row 3
+#
+ITEM_ID_A SDLK_q 0x26 0x71 Q
+ITEM_ID_COLON SDLK_m 0x2f 0x6d M
+ITEM_ID_QUOTE SDLK_WORLD_89 0x30 0xf9 ù
+ITEM_ID_BACKSLASH SDLK_WORLD_21 0x33 0xb5 µ
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_Z SDLK_w 0x34 0x77 W
+ITEM_ID_M SDLK_COMMA 0x3a 0x2c ,
+ITEM_ID_COMMA SDLK_SEMICOLON 0x3b 0x3b ;
+ITEM_ID_STOP SDLK_COLON 0x3c 0x3a :
+ITEM_ID_SLASH SDLK_EQUALS 0x3d 0x3d =
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_br_LINUX.map b/keymaps/km_br_LINUX.map
new file mode 100644
index 00000000000..19ded27bbef
--- /dev/null
+++ b/keymaps/km_br_LINUX.map
@@ -0,0 +1,33 @@
+# 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 SDLK_QUOTE 0x31 0x27 '
+#
+# Row 2
+#
+ITEM_ID_OPENBRACE SDLK_COMPOSE 0x22 0x00 ´
+ITEM_ID_CLOSEBRACE SDLK_LEFTBRACKET 0x23 0x00 [
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_71 0x2f 0xe7 Ç
+ITEM_ID_QUOTE SDLK_COMPOSE 0x30 0x00 ~
+ITEM_ID_BACKSLASH SDLK_RIGHTBRACKET 0x33 0x00 ]
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_SLASH SDLK_SEMICOLON 0x3d 0x3b ;
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_ch_LINUX.map b/keymaps/km_ch_LINUX.map
new file mode 100644
index 00000000000..53595faa082
--- /dev/null
+++ b/keymaps/km_ch_LINUX.map
@@ -0,0 +1,29 @@
+# MAME/MESS keymap for Swiss QWERTZ 105-keys keyboard (Linux)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_WORLD_7 0x31 0xa7 §
+ITEM_ID_MINUS SDLK_QUOTE 0x14 0x27 '
+ITEM_ID_EQUALS SDLK_CARET 0x15 0x00 ^
+#
+# Row 2
+#
+ITEM_ID_Y SDLK_z 0x1d 0x7a Z
+ITEM_ID_OPENBRACE SDLK_WORLD_92 0x22 0xfc ü
+ITEM_ID_CLOSEBRACE SDLK_COMPOSE 0x23 0x00 ¨
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_86 0x2f 0xf6 ö
+ITEM_ID_QUOTE SDLK_WORLD_68 0x30 0xe4 ä
+ITEM_ID_BACKSLASH SDLK_DOLLAR 0x33 0x24 $
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_Z SDLK_y 0x34 0x79 Y
+ITEM_ID_SLASH SDLK_MINUS 0x3d 0x2d -
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_de_LINUX.map b/keymaps/km_de_LINUX.map
new file mode 100644
index 00000000000..4b8ec55a793
--- /dev/null
+++ b/keymaps/km_de_LINUX.map
@@ -0,0 +1,29 @@
+# MAME/MESS keymap for German QWERTZ 105-keys keyboard (Linux)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_CARET 0x31 0x00 ^
+ITEM_ID_MINUS SDLK_WORLD_63 0x14 0xdf ß
+ITEM_ID_EQUALS SDLK_COMPOSE 0x15 0x00 ´
+#
+# Row 2
+#
+ITEM_ID_Y SDLK_z 0x1d 0x7a Z
+ITEM_ID_OPENBRACE SDLK_WORLD_92 0x22 0xfc Ü
+ITEM_ID_CLOSEBRACE SDLK_PLUS 0x23 0x2b +
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_86 0x2f 0xf6 Ö
+ITEM_ID_QUOTE SDLK_WORLD_68 0x30 0xe4 Ä
+ITEM_ID_BACKSLASH SDLK_HASH 0x33 0x23 #
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_Z SDLK_y 0x34 0x79 Y
+ITEM_ID_SLASH SDLK_MINUS 0x3d 0x2d -
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_es_LINUX.map b/keymaps/km_es_LINUX.map
new file mode 100644
index 00000000000..584d791a9d2
--- /dev/null
+++ b/keymaps/km_es_LINUX.map
@@ -0,0 +1,30 @@
+# MAME/MESS keymap for Spanish QWERTY 105-keys keyboard (Linux)
+# 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 SDLK_WORLD_26 0x31 0xba º
+ITEM_ID_MINUS SDLK_QUOTE 0x14 0x27 '
+ITEM_ID_EQUALS SDLK_WORLD_1 0x15 0xa1 ¡
+#
+# Row 2
+#
+ITEM_ID_OPENBRACE SDLK_COMPOSE 0x22 0x00 `
+ITEM_ID_CLOSEBRACE SDLK_PLUS 0x23 0x00 +
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_81 0x2f 0xf1 Ñ
+ITEM_ID_QUOTE SDLK_COMPOSE 0x30 0x00 ´
+ITEM_ID_BACKSLASH SDLK_WORLD_71 0x33 0x00 Ç
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_SLASH SDLK_MINUS 0x3d 0x2d -
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_fr_LINUX.map b/keymaps/km_fr_LINUX.map
new file mode 100644
index 00000000000..f33c899b997
--- /dev/null
+++ b/keymaps/km_fr_LINUX.map
@@ -0,0 +1,43 @@
+# MAME/MESS keymap for French AZERTY 105-keys keyboard (Linux)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_WORLD_18 0x31 0xb2 ²
+ITEM_ID_1 SDLK_AMPERSAND 0x0a 0x26 &
+ITEM_ID_2 SDLK_WORLD_73 0x0b 0xe9 é
+ITEM_ID_3 SDLK_QUOTEDBL 0x0c 0x22 "
+ITEM_ID_4 SDLK_QUOTE 0x0d 0x27 '
+ITEM_ID_5 SDLK_LEFTPAREN 0x0e 0x28 (
+ITEM_ID_6 SDLK_MINUS 0x0f 0x2d -
+ITEM_ID_7 SDLK_WORLD_72 0x10 0xe8 è
+ITEM_ID_8 SDLK_UNDERSCORE 0x11 0x5f _
+ITEM_ID_9 SDLK_WORLD_71 0x12 0xe7 ç
+ITEM_ID_0 SDLK_WORLD_64 0x13 0xe0 à
+ITEM_ID_MINUS SDLK_RIGHTPAREN 0x14 0x29 )
+#
+# Row 2
+#
+ITEM_ID_Q SDLK_a 0x18 0x61 A
+ITEM_ID_W SDLK_z 0x19 0x7a Z
+ITEM_ID_OPENBRACE SDLK_CARET 0x22 0x00 ^
+ITEM_ID_CLOSEBRACE SDLK_DOLLAR 0x23 0x00 $
+#
+# Row 3
+#
+ITEM_ID_A SDLK_q 0x26 0x51 Q
+ITEM_ID_COLON SDLK_m 0x2f 0x6d M
+ITEM_ID_QUOTE SDLK_WORLD_89 0x30 0xf9 ù
+ITEM_ID_BACKSLASH SDLK_ASTERISK 0x33 0x2a *
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_Z SDLK_w 0x34 0x77 W
+ITEM_ID_M SDLK_COMMA 0x3a 0x2c ,
+ITEM_ID_COMMA SDLK_SEMICOLON 0x3b 0x3b ;
+ITEM_ID_STOP SDLK_COLON 0x3c 0x3a :
+ITEM_ID_SLASH SDLK_EXCLAIM 0x3d 0x21 !
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_fr_OSX.map b/keymaps/km_fr_OSX.map
new file mode 100644
index 00000000000..9a492ca2d3e
--- /dev/null
+++ b/keymaps/km_fr_OSX.map
@@ -0,0 +1,15 @@
+# MAME/MESS keymap for French AZERTY keyboard (OSX)
+#
+#
+ITEM_ID_1 SDLK_AMPERSAND 0x12 0x26 &
+ITEM_ID_2 SDLK_WORLD_0 0x13 0xe9
+ITEM_ID_3 SDLK_QUOTEDBL 0x14 0x22 "
+ITEM_ID_4 SDLK_QUOTE 0x15 0x27 '
+ITEM_ID_5 SDLK_LEFTPAREN 0x17 0x28 (
+ITEM_ID_6 SDLK_WORLD_1 0x16 0xa7
+ITEM_ID_7 SDLK_WORLD_3 0x1a 0xe8
+ITEM_ID_8 SDLK_EXCLAIM 0x1c 0x21 !
+ITEM_ID_9 SDLK_WORLD_2 0x19 0xe7
+ITEM_ID_0 SDLK_WORLD_4 0x1d 0xe0
+ITEM_ID_MINUS SDLK_RIGHTPAREN 0x1b 0x29 )
+ITEM_ID_EQUALS SDLK_MINUS 0x18 0x2d - \ No newline at end of file
diff --git a/keymaps/km_gb_LINUX.map b/keymaps/km_gb_LINUX.map
new file mode 100644
index 00000000000..d4fa500cbce
--- /dev/null
+++ b/keymaps/km_gb_LINUX.map
@@ -0,0 +1,20 @@
+# MAME/MESS keymap for British QWERTY 105-keys keyboard (Linux)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_BACKQUOTE 0x31 0x60 `
+#
+# Row 2
+#
+#
+# Row 3
+#
+ITEM_ID_BACKSLASH SDLK_HASH 0x33 0x23 #
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_BACKSLASH 0x5e 0x5c \
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_it_LINUX.map b/keymaps/km_it_LINUX.map
new file mode 100644
index 00000000000..b6fdfe329a2
--- /dev/null
+++ b/keymaps/km_it_LINUX.map
@@ -0,0 +1,27 @@
+# MAME/MESS keymap for Italian QWERTY 105-keys keyboard (Linux)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_BACKSLASH 0x31 0x5c \
+ITEM_ID_MINUS SDLK_QUOTE 0x14 0x27 '
+ITEM_ID_EQUALS SDLK_WORLD_76 0x15 0xec ì
+#
+# Row 2
+#
+ITEM_ID_OPENBRACE SDLK_WORLD_72 0x22 0xe8 è
+ITEM_ID_CLOSEBRACE SDLK_PLUS 0x23 0x2b +
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_82 0x2f 0xf2 ò
+ITEM_ID_QUOTE SDLK_WORLD_64 0x30 0xe0 à
+ITEM_ID_BACKSLASH SDLK_WORLD_89 0x33 0xf9 ù
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_SLASH SDLK_MINUS 0x3d 0x2d -
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
diff --git a/keymaps/km_pt_LINUX.map b/keymaps/km_pt_LINUX.map
new file mode 100644
index 00000000000..3767058e2de
--- /dev/null
+++ b/keymaps/km_pt_LINUX.map
@@ -0,0 +1,30 @@
+# MAME/MESS keymap for Portuguese QWERTY 105-keys keyboard (Linux)
+# SDL can tell the difference between the two COMPOSE keys but assigns them the same label
+# thus both CLOSEBRACE and BACKSLASH appear like "´ ~" in the user interface.
+# The following definitions are therefore correct.
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_BACKSLASH 0x31 0x5c \
+ITEM_ID_MINUS SDLK_QUOTE 0x14 0x27 '
+ITEM_ID_EQUALS SDLK_WORLD_11 0x15 0xab «
+#
+# Row 2
+#
+ITEM_ID_OPENBRACE SDLK_PLUS 0x22 0x2b +
+ITEM_ID_CLOSEBRACE SDLK_COMPOSE 0x23 0x00 ´
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_71 0x2f 0xe7 Ç
+ITEM_ID_QUOTE SDLK_WORLD_26 0x30 0xba º
+ITEM_ID_BACKSLASH SDLK_COMPOSE 0x33 0x00 ~
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
+ITEM_ID_SLASH SDLK_MINUS 0x3d 0x2d -
+#
+# Row 5
+#
+ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file