summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_common.h
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 /src/osd/modules/input/input_common.h
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 'src/osd/modules/input/input_common.h')
-rw-r--r--src/osd/modules/input/input_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osd/modules/input/input_common.h b/src/osd/modules/input/input_common.h
index 96a197f2543..b4005a6b76a 100644
--- a/src/osd/modules/input/input_common.h
+++ b/src/osd/modules/input/input_common.h
@@ -358,7 +358,6 @@ struct key_trans_entry {
#if defined(OSD_SDL)
int sdl_scancode;
- int sdl_key;
#elif defined(OSD_WINDOWS)
int scan_code;
unsigned char virtual_key;