fixed assumed position of screen keyboard for Android platform
authorHolger Schemel <info@artsoft.org>
Sat, 7 May 2022 22:55:13 +0000 (00:55 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 7 May 2022 22:55:13 +0000 (00:55 +0200)
src/libgame/system.h

index 48eaff25d6089afde123bf699074f5092b661e4a..af77480abe36323f6f0366d45c1a99cddae4a249 100644 (file)
 #define USE_TOUCH_INPUT_OVERLAY
 #define USE_COMPLETE_DISPLAY
 #define HAS_SCREEN_KEYBOARD
-#define SCREEN_KEYBOARD_POS(h)         ((h) / 2)
+#define SCREEN_KEYBOARD_POS(h)         ((h) * 40 / 100)
 #endif
 
 // values for drag-and-drop support (some parts not added before SDL 2.0.5)