From 96f7399976a96c1985aa6c3413dccc2b90b5fb53 Mon Sep 17 00:00:00 2001 From: pelya Date: Mon, 10 Nov 2014 00:29:33 +0200 Subject: [PATCH] Slightly larger on-screen keyboard --- .../jni/sdl-1.2/src/video/android/SDL_touchscreenkeyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/jni/sdl-1.2/src/video/android/SDL_touchscreenkeyboard.c b/project/jni/sdl-1.2/src/video/android/SDL_touchscreenkeyboard.c index 4906d3b7e..572201f1d 100644 --- a/project/jni/sdl-1.2/src/video/android/SDL_touchscreenkeyboard.c +++ b/project/jni/sdl-1.2/src/video/android/SDL_touchscreenkeyboard.c @@ -690,7 +690,7 @@ JAVA_EXPORT_NAME(Settings_nativeSetupScreenKeyboard) ( JNIEnv* env, jobject thiz } // Arrows to the lower-left part of screen - arrows[0].w = SDL_ANDROID_sRealWindowWidth / (size + 2) * 2 / 3; + arrows[0].w = SDL_ANDROID_sRealWindowWidth / (size + 3) * 2 / 2; arrows[0].h = arrows[0].w; // Move to the screen edge arrows[0].x = 0; @@ -727,7 +727,7 @@ JAVA_EXPORT_NAME(Settings_nativeSetupScreenKeyboard) ( JNIEnv* env, jobject thiz { // Custom button ordering int iii = ii + i*2; - buttons[iii].w = SDL_ANDROID_sRealWindowWidth / (size + 2) / 3; + buttons[iii].w = SDL_ANDROID_sRealWindowWidth / (size + 3) / 2; buttons[iii].h = buttons[iii].w; // Move to the screen edge buttons[iii].x = SDL_ANDROID_sRealWindowWidth - buttons[iii].w * (ii + 1);