summaryrefslogtreecommitdiffstatshomepage
path: root/keymaps/km_it_LINUX.map
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-02-16 16:44:21 +0100
committer couriersud <couriersud@gmx.org>2019-02-16 16:44:42 +0100
commit757436bbfba420a8bc35ee99c2be93ecf125df84 (patch)
tree5475e0fde29990f5575277dbf265044564ab8db3 /keymaps/km_it_LINUX.map
parent983ffa2de6b409709a41d28aa1690604c7efc1b7 (diff)
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.
Diffstat (limited to 'keymaps/km_it_LINUX.map')
-rw-r--r--keymaps/km_it_LINUX.map27
1 files changed, 16 insertions, 11 deletions
diff --git a/keymaps/km_it_LINUX.map b/keymaps/km_it_LINUX.map
index b6fdfe329a2..96c641eb708 100644
--- a/keymaps/km_it_LINUX.map
+++ b/keymaps/km_it_LINUX.map
@@ -1,27 +1,32 @@
+#
+# FIXME: This file produces errors and needs to be fixed.
+#
+
+[SDL2]
# 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 ì
+ITEM_ID_TILDE SDL_SCANCODE_BACKSLASH \
+ITEM_ID_MINUS SDL_SCANCODE_QUOTE '
+ITEM_ID_EQUALS SDL_SCANCODE_WORLD_76 ì
#
# Row 2
#
-ITEM_ID_OPENBRACE SDLK_WORLD_72 0x22 0xe8 è
-ITEM_ID_CLOSEBRACE SDLK_PLUS 0x23 0x2b +
+ITEM_ID_OPENBRACE SDL_SCANCODE_WORLD_72 è
+ITEM_ID_CLOSEBRACE SDL_SCANCODE_PLUS +
#
# 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 ù
+ITEM_ID_COLON SDL_SCANCODE_WORLD_82 ò
+ITEM_ID_QUOTE SDL_SCANCODE_WORLD_64 à
+ITEM_ID_BACKSLASH SDL_SCANCODE_WORLD_89 ù
#
# Row 4
#
-ITEM_ID_BACKSLASH2 SDLK_LESS 0x5e 0x3c <
-ITEM_ID_SLASH SDLK_MINUS 0x3d 0x2d -
+ITEM_ID_BACKSLASH2 SDL_SCANCODE_LESS <
+ITEM_ID_SLASH SDL_SCANCODE_MINUS -
#
# Row 5
#
-ITEM_ID_RALT SDLK_MODE 0x71 0x00 ALTGR \ No newline at end of file
+ITEM_ID_RALT SDL_SCANCODE_MODE ALTGR \ No newline at end of file