Commit 551fbf7beafc0aaadaf77bab6ad1eb138fe52cc5

Philipp Wiesemann 2015-05-31T19:22:42

Android: Changed two unknown keys to be consistent with Windows and X11 mapping.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/video/android/SDL_androidkeyboard.c b/src/video/android/SDL_androidkeyboard.c
index d71625b..d75e42a 100644
--- a/src/video/android/SDL_androidkeyboard.c
+++ b/src/video/android/SDL_androidkeyboard.c
@@ -253,8 +253,8 @@ static SDL_Scancode Android_Keycodes[] = {
     SDL_SCANCODE_CALCULATOR, /* AKEYCODE_CALCULATOR */
     SDL_SCANCODE_LANG5, /* AKEYCODE_ZENKAKU_HANKAKU */
     SDL_SCANCODE_UNKNOWN, /* AKEYCODE_EISU */
-    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_MUHENKAN */
-    SDL_SCANCODE_UNKNOWN, /* AKEYCODE_HENKAN */
+    SDL_SCANCODE_INTERNATIONAL5, /* AKEYCODE_MUHENKAN */
+    SDL_SCANCODE_INTERNATIONAL4, /* AKEYCODE_HENKAN */
     SDL_SCANCODE_LANG3, /* AKEYCODE_KATAKANA_HIRAGANA */
     SDL_SCANCODE_INTERNATIONAL3, /* AKEYCODE_YEN */
     SDL_SCANCODE_UNKNOWN, /* AKEYCODE_RO */