summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Curt Coder <curtcoder@mail.com>2012-08-29 18:41:01 +0000
committerGravatarGravatar Curt Coder <curtcoder@mail.com>2012-08-29 18:41:01 +0000
commitd0bae5a59d540ce5e79de2ff421a82d0b29347f9 (patch) (github)
treea3585b44999a2598cb9b9e6f8977c14316b290e7
parent518205f199a20b94f884e91abac3257c354e2ca3 (diff)
downloadmame-d0bae5a59d540ce5e79de2ff421a82d0b29347f9.tar.bz2
mame-d0bae5a59d540ce5e79de2ff421a82d0b29347f9.zip
Added Swedish/Finnish SDL keymaps for OSX and Linux. [Curt Coder]
-rw-r--r--.gitattributes2
-rw-r--r--keymaps/km_se_LINUX.map23
-rw-r--r--keymaps/km_se_OSX.map23
3 files changed, 48 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 5b2c7ac9c9f..eacfdf876e5 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -219,6 +219,8 @@ keymaps/km_fr_OSX.map svneol=native#text/plain
keymaps/km_gb_LINUX.map svneol=native#text/plain
keymaps/km_it_LINUX.map svneol=native#text/plain
keymaps/km_pt_LINUX.map svneol=native#text/plain
+keymaps/km_se_LINUX.map svneol=native#text/plain
+keymaps/km_se_OSX.map svneol=native#text/plain
/makefile svneol=native#text/plain
src/build/build.mak svneol=native#text/plain
src/build/file2str.c svneol=native#text/plain
diff --git a/keymaps/km_se_LINUX.map b/keymaps/km_se_LINUX.map
new file mode 100644
index 00000000000..7cc737baf21
--- /dev/null
+++ b/keymaps/km_se_LINUX.map
@@ -0,0 +1,23 @@
+# MAME/MESS keymap for Swedish/Finnish QWERTY 105-keys keyboard (Linux)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_LESS 0x32 0x3c <
+ITEM_ID_MINUS SDLK_PLUS 0x1b 0x2b +
+ITEM_ID_EQUALS SDLK_WORLD_1 0x18 0x00
+#
+# Row 2
+#
+ITEM_ID_OPENBRACE SDLK_WORLD_3 0x21 0xe5 å
+ITEM_ID_CLOSEBRACE SDLK_WORLD_2 0x1e 0x00
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_5 0x29 0xf6 ö
+ITEM_ID_QUOTE SDLK_WORLD_4 0x27 0xe4 ä
+ITEM_ID_BACKSLASH2 SDLK_QUOTE 0x2a 0x27 '
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH SDLK_WORLD_0 0x0a 0xa7 §
+ITEM_ID_SLASH SDLK_MINUS 0x2c 0x2d -
diff --git a/keymaps/km_se_OSX.map b/keymaps/km_se_OSX.map
new file mode 100644
index 00000000000..36d629fb97c
--- /dev/null
+++ b/keymaps/km_se_OSX.map
@@ -0,0 +1,23 @@
+# MAME/MESS keymap for Swedish/Finnish QWERTY compact keyboard (OSX)
+#
+# Row 1
+#
+ITEM_ID_TILDE SDLK_WORLD_0 0x0a 0xa7 §
+ITEM_ID_MINUS SDLK_PLUS 0x1b 0x2b +
+ITEM_ID_EQUALS SDLK_WORLD_1 0x18 0x00
+#
+# Row 2
+#
+ITEM_ID_OPENBRACE SDLK_WORLD_3 0x21 0xe5 å
+ITEM_ID_CLOSEBRACE SDLK_WORLD_2 0x1e 0x00
+#
+# Row 3
+#
+ITEM_ID_COLON SDLK_WORLD_5 0x29 0xf6 ö
+ITEM_ID_QUOTE SDLK_WORLD_4 0x27 0xe4 ä
+ITEM_ID_BACKSLASH2 SDLK_QUOTE 0x2a 0x27 '
+#
+# Row 4
+#
+ITEM_ID_BACKSLASH SDLK_LESS 0x32 0x3c <
+ITEM_ID_SLASH SDLK_MINUS 0x2c 0x2d -